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
- :
- remove vs change
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
‎May 12, 2010
08:46 AM
remove vs change
INSTALLSCRIPT PROJECT:
I know how to check if the installer was called from the add/remove dialog. Is there a way to know if the user pressed 'remove/uninstall' or 'change'? I'd like to seed the maintenance screen based on the button they pressed. Right now we always initialize to Repair.
Thank you
I know how to check if the installer was called from the add/remove dialog. Is there a way to know if the user pressed 'remove/uninstall' or 'change'? I'd like to seed the maintenance screen based on the button they pressed. Right now we always initialize to Repair.
Thank you
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2010
04:28 PM
The REMOVEONLY variable will be set if the remove button was clicked in Add/Remove Programs (assuming the uninstall string for the ARP entry was not modified). Note that this variable can also be set by someone launching the original setup.exe with -removeonly on the command line. The ADDREMOVE and REMOVEONLY variables could both be used in a condition to compensate for this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2010
05:32 AM
Thank you - I will try that as soon as I can find a moment.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2010
09:52 AM
yeah - thanks! that worked and was exactly what I was looking to do. I appreciate the help.