This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Missing Uninstall Registry Key
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2010
04:12 PM
Missing Uninstall Registry Key
I have a Basic MSI project that was created (not by me) in Express and recently converted (by me) to InstallShield 2010. It builds and installs fine, except that I'm having trouble figuring out the method by which this install is being excluded from "Add/Remove Programs". Instead of setting ARPSYSTEMCOMPONENT=1, somehow the key under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" is not getting created. This is (I think) preventing me from making a patch that works because the patch can't find the original install. Can anyone think of ways to either keep this key from being created or deleting it after creation? I need to reverse engineer how this was done so that I can undo it and suppress the "Add/Remove Programs" entry the correct way.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2010
04:30 PM
You may want to see if the disabled the execution of the RegisterProduct custom action. That will cause similar things to happen if I remember correctly.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2010
08:56 AM
Thanks! The "RegisterProduct" action is there, but its Condition is set to "NO_ADD_REMOVE_PROGRAM" which I can't find documented anywhere. This isn't an InstallScript project, so I'm not sure where this condition is set and/or acted upon.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2010
09:53 AM
jeff.metzner wrote:
Thanks! The "RegisterProduct" action is there, but its Condition is set to "NO_ADD_REMOVE_PROGRAM" which I can't find documented anywhere. This isn't an InstallScript project, so I'm not sure where this condition is set and/or acted upon.
Odd, my installers have no condition, and I couldn't find any reference to that property anywhere.. If you watch you log, you'll see if that condition is going to cause the CA to execute or not, and if it doesn't, that's 100% the reason for your product not showing up in add/remove. You could create a 'new' basic MSI project and review the condition of your RegisterProduct action and see that it doesn't have any condition on it... but basically it sounds like someone authored that setup to not leave an entry in the control panel UNLESS someone planted "NO_ADD_REMOVE_PROGRAM=1" in your command line (which seems the opposite of what someone might want, which would default to leaving an entry, and give you an option to not.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 01, 2010
10:03 AM
It could be an artifact from converting the project from InstallShield Express, but I agree that it's probably a good idea to try to recreate the project.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)