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
- :
- Re: Add or Remove Programs problem
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
Nov 05, 2009
06:03 AM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 05, 2009
10:59 AM
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.