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
- :
- Repair or remove?
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
‎Jul 21, 2008
10:42 AM
Repair or remove?
Hi, I need to detect if it is repair action or system remove action(If it is remove action user are asked to delete install folder or not). I tried to add condition REMOVE = ALL but it is true in both cases. .
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 21, 2008
04:08 PM
In which sequence (UI or Execute) and where in it are you placing your condition?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
01:58 AM
in install exec sequence: After RemoveFolders
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 22, 2008
01:25 PM
Hmmm, for me the condition REMOVE="ALL" seems to fire only for uninstallation, and not repair mode... How are you invoking repair?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2008
03:02 AM
in ARP view choose "repair".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2008
03:25 AM
Try this,
_IsMaintenance = "Remove" - For Remove from ARP
_IsMaintenance = "Reinstall" - For Repair from ARP
_IsMaintenance = "Remove" - For Remove from ARP
_IsMaintenance = "Reinstall" - For Repair from ARP
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2008
09:06 AM
Actually, testing _IsMaintenance might not work since it's a private property that's usually set in the UI sequence, and therefore lost when execution switches to the Execute sequence; please see, for example, this newsletter tip (PDF warning): http://www.acresso.com/webdocuments/PDF/msiconditions.pdf.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)