how can i run a custom action only in modify mode

1.1k Views Asked by At

I need to run a custom action only in Modify mode. I tried below condition but it is running in both Modify mode as well as in Repair mode.

Installed AND NOT REMOVE

I am using Installshield 2012 spring.

2

There are 2 best solutions below

0
On

Flexera's "Common MSI Conditions Cheat Sheet" says:

Sequencing Condition
Modify Installed AND NOT REINSTALL AND NOT REMOVE~="ALL"
0
On

as far as i know there is no explicit "modify mode" condition. but there are condition for installation and uninstallation, if you exclude both only modify will be left:

Not Installed And NOT REMOVE~="All"

btw modify and repair is basically the same