- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- 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
- Email to a Friend
- 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\
