Page 1 of 2 12 LastLast
Results 1 to 5 of 7

Thread: Simple install - does not require uninstall options

  1. #1
    Join Date
    May 2002
    Location
    Toronto, Ontario
    Posts
    29

    Simple install - does not require uninstall options

    Anyone have any idea how to install a simple application that does not leave any traces in the Add / Remove Program screen or request to uninstall when the setup application is run again?

  2. #2
    Join Date
    Apr 2003
    Location
    Denver, CO
    Posts
    125
    1. Create a standard project and do not add any shortcuts to the start menu.

    2. In the OnMaintUIBefore() event and modify the code to call OnFirstUIBefore().

    3. In the OnMainUIAfter() event place code to remove the uninstall registry key. This will prevent the application from being seen in the Control Panel..Add/Remove Apps panel. The registry key for software uninstall keys is: "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall"

    Hope this helps.
    Thanks,
    Philip J. Hall

  3. #3
    Join Date
    May 2002
    Location
    Toronto, Ontario
    Posts
    29
    Thanks, that seems to have gotten rid of the maintance screen... however, the deletion of that registry key seems insufficient. On Windows 2000 SP3, I continue to see the entry in the Add/Remove Program screen.

    Any other hints?

  4. #4
    Join Date
    Apr 2003
    Location
    Denver, CO
    Posts
    125
    I would suggest searching the registry for your application's name. As far as I know the Add/Remove programs panel reads all of it's info from the registry.
    Thanks,
    Philip J. Hall

  5. #5
    Join Date
    May 2002
    Location
    Toronto, Ontario
    Posts
    29
    There are a total of 6 keys. 3 based on PRODUCT_GUID #, which is easy to track, and 3, like the following:

    HKEY_CLASSES_ROOT\Installer\Products\B8EA0266E7BEACC40A559E9D6A5F04AB\SourceList

    Which are based on a GUID that I haven't seen anywhere in my application. Any idea where it comes from?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •