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
- :
- msiexec /X<guild> not uninstalling InstallScript uninstall code
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
Dec 04, 2017
05:23 PM
msiexec /X<guild> not uninstalling InstallScript uninstall code
Hi all,
I have an InstallShield InstallScript MSI project. The uninstall string in the registry for this product is "msiexec /X"
When executing this uninstall string from the command line, it does not execute any InstallScript code and hence uninstall
code that I have as part of InstallScript does not get called and product uninstallation is not complete.
'It is able to remove product files, registry entries, etc.
Can you please advise how to uninstall the product completely by getting InstallScript code to be execute too?
Uninstalling from Add/Remove programs is fine. The issue is only when executing "msiexec /X" which i really need to work.
thanks,
Ashish
I have an InstallShield InstallScript MSI project. The uninstall string in the registry for this product is "msiexec /X
When executing this uninstall string from the command line, it does not execute any InstallScript code and hence uninstall
code that I have as part of InstallScript does not get called and product uninstallation is not complete.
'It is able to remove product files, registry entries, etc.
Can you please advise how to uninstall the product completely by getting InstallScript code to be execute too?
Uninstalling from Add/Remove programs is fine. The issue is only when executing "msiexec /X
thanks,
Ashish
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 12, 2018
12:00 PM
InstallScript MSI projects create their own ARP uninstall key which is what is used as the source of the ARP entry (the MSI uninstall key is hidden from ARP). InstallScript MSI uninstall keys are under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall and are always named 'InstallShield_{ProductCode}'. The uninstall string will always reference the cached setup.exe installed at \InstallShield Installation Information\{ProductCode} to allow the product to uninstall correctly. msiexec.exe can't be used to uninstall an InstallScript MSI project. If this is required a Basic MSI project should be used instead.