cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nejchy
Level 4

Add or Remove Programs problem

Hi

I'm working on a Basic MSI project.
I want that a user that clicks remove button in ARP gets directly into a user-interface uninstaller(Maintenence) instead of getting a dialog asking
"Are you sure you want to remove {ProductName} from your computer".

I thought that changing UninstallString from MsiExec.exe /X{ProductCode} to
MsiExec.exe /I {ProductCode} would solve the issue, but it didn't.

The strange thing is that if i enable Change button with ModifyPath set to MsiExec.exe /I{ProductCode} change button goes into user-interface.

Thank you for your help.
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

For some reason the ARP doesn't really pay attention to the uninstall string of Windows Installer setups. Your best bet is to use something like the ARPNOREMOVE property to funnel the user towards the maintenance operation instead of direct removal. But since all MSI packages show this dialog, I would normally recommend letting it be shown for your package as well.
0 Kudos