cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alec2000
Level 3

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. .
Labels (1)
0 Kudos
(6) Replies
RobertDickau
Flexera Alumni

In which sequence (UI or Execute) and where in it are you placing your condition?
0 Kudos
alec2000
Level 3

in install exec sequence: After RemoveFolders
0 Kudos
RobertDickau
Flexera Alumni

Hmmm, for me the condition REMOVE="ALL" seems to fire only for uninstallation, and not repair mode... How are you invoking repair?
0 Kudos
alec2000
Level 3

in ARP view choose "repair".
0 Kudos
TheResearch
Level 6

Try this,

_IsMaintenance = "Remove" - For Remove from ARP
_IsMaintenance = "Reinstall" - For Repair from ARP
0 Kudos
RobertDickau
Flexera Alumni

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