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
- :
- Re: Weird registry entries created by InstallShield
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
‎May 23, 2008
03:34 PM
Weird registry entries created by InstallShield
I am seeing this problem ever since I moved my older projects to IS 2008. I am not sure what I am doing wrong.
After my application is installed, I see two places where my product GUID code shows up in the registry.
One is found under:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MY_PRODUCT_GUID}
This, I guess, is the usual place.
The other is found under the same hive but looks like this:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_{MY_PRODUCT_GUID}
The latter is apparently what is used to display entries when you bring up the Add/Remove programs dialog and its causing me lots of problems!
When I try to uninstall my product like so:
msiexec /uninstall {MY_PRODUCT_GUID} /passive /log "mylog.log"
Everything happens smoothly, my product is uninstalled, all the installed files are removed and the **first** registry entry mentioned above is removed. However the **second** entry just stays put.
Because of this the add/remove programs still displays my product in its list. Trying to re-install it on the same machine is now met with that dreaded Modify/Repair dialog.
This problem doesn't happen if I manually go to add/remove programs and uninstall my product from there. its the silent uninstall thats leaving stuff behind.
what am I doing wrong?
After my application is installed, I see two places where my product GUID code shows up in the registry.
One is found under:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MY_PRODUCT_GUID}
This, I guess, is the usual place.
The other is found under the same hive but looks like this:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_{MY_PRODUCT_GUID}
The latter is apparently what is used to display entries when you bring up the Add/Remove programs dialog and its causing me lots of problems!
When I try to uninstall my product like so:
msiexec /uninstall {MY_PRODUCT_GUID} /passive /log "mylog.log"
Everything happens smoothly, my product is uninstalled, all the installed files are removed and the **first** registry entry mentioned above is removed. However the **second** entry just stays put.
Because of this the add/remove programs still displays my product in its list. Trying to re-install it on the same machine is now met with that dreaded Modify/Repair dialog.
This problem doesn't happen if I manually go to add/remove programs and uninstall my product from there. its the silent uninstall thats leaving stuff behind.
what am I doing wrong?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2008
04:36 PM
Right, the uninstall commands are different between Basic MSI and InstallScript MSI projects. Please see, for example, the help topic "Creating Uninstallation Shortcuts for InstallScript and InstallScript MSI Projects".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2008
05:06 PM
Robert
Thanks for responding. I am going to go read the article you suggested but I am running a little short of time and I am facing a deadline next week. May I ask what the command line would be for silently uninstalling InstallScript projects?
also, the help topic you wanted me to read about -- where is it found?
Thanks for responding. I am going to go read the article you suggested but I am running a little short of time and I am facing a deadline next week. May I ask what the command line would be for silently uninstalling InstallScript projects?
also, the help topic you wanted me to read about -- where is it found?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 25, 2008
12:15 PM
RobertDickau wrote:
Right, the uninstall commands are different between Basic MSI and InstallScript MSI projects. Please see, for example, the help topic "Creating Uninstallation Shortcuts for InstallScript and InstallScript MSI Projects".
OK.. so I read up some details on this topic. The way it looks like, uninstalling a InstallScript MSI based project is just a question of doing:
c:\program files\InstallShield Installation Information\{MYPRODUCT_GUID}\setup.exe /uninst
If this is correct then does adding a '/s' option cause it to uninstall itself silently?
I could try this but I can't get to work until Tuesday. Would appreciate it if anyone could validate this in the meanwhile.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)