Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 5

Uninstalling from control panel is in SILENT mode


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
UninstallString is

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
Labels (1)
0 Kudos
(1) Reply
Level 6

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\).
0 Kudos