View Full Version : Simple install - does not require uninstall options

06-17-2003, 10:52 AM
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?

06-17-2003, 11:31 AM
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.

06-17-2003, 01:24 PM
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?

06-17-2003, 02:02 PM
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.

06-17-2003, 02:07 PM
There are a total of 6 keys. 3 based on PRODUCT_GUID #, which is easy to track, and 3, like the following:


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

06-17-2003, 02:18 PM
For information about those "compressed GUIDs", see InstallShield KB article Q105971, at http://support.installshield.com/kb.

To suppress the creation of this internal MSI information, you can "condition out" or remove the MSI actions that register a product on the target system; see www.installsite.org > Windows Installer > InstallShield Developer Samples > InstallShield Developer Utility Collection.

06-17-2003, 02:42 PM
I think that's it! For anyone else who is interested:

There were my 6 keys I found with my test program.
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\InstallShield Uninstall Information\\{6620AE8B-EB7E-4CCA-A055-E9D9A6F540BA}