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
- :
- Uninstalling from control panel is in SILENT mode
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
Jul 08, 2013
02:37 AM
Uninstalling from control panel is in SILENT mode
Hello,
I've made BasicMSI project in InstallShield 2012, and defined custom action which is called during uninstall.
I notice that uninstalling from control panel is executed in silent mode. I checked uninstall command in regedit in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MY_PRODUCT_CODE}
UninstallString is
MsiExec.exe /I{MY_PRODUCT_CODE}
I ran UninstallString from command prompt and it launches normal (not silent) uninstall hence it seems to be correct.
Please advise me what might be wrong with my project.
Thank you in advance!
Best regards, Georgiy
I've made BasicMSI project in InstallShield 2012, and defined custom action which is called during uninstall.
I notice that uninstalling from control panel is executed in silent mode. I checked uninstall command in regedit in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MY_PRODUCT_CODE}
UninstallString is
MsiExec.exe /I{MY_PRODUCT_CODE}
I ran UninstallString from command prompt and it launches normal (not silent) uninstall hence it seems to be correct.
Please advise me what might be wrong with my project.
Thank you in advance!
Best regards, Georgiy
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 15, 2013
10:15 AM
As far as I know when registry entry HKLM \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MY_PRODUCT_CODE}\WindowsInstaller exists and is set to "1", then "UninstallString" entry is ignored and
MsiExec.exe /x{MY_PRODUCT_CODE}
is used instead.
Recommended way to change “Add/Remove Programs” behavior is to set ARPSYSTEMCOMPONENT property to 1 and manually create a set of custom uninstall registry values under your own uninstall key from your msi (for example HKLM \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\).
MsiExec.exe /x{MY_PRODUCT_CODE}
is used instead.
Recommended way to change “Add/Remove Programs” behavior is to set ARPSYSTEMCOMPONENT property to 1 and manually create a set of custom uninstall registry values under your own uninstall key from your msi (for example HKLM \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\