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

Execute Exe with a feature condition

Hello,

My probleme is that i need execute an executable file (stocked on the install CD) only if the user want install it. I have added a feature called Samples, and add a custom action, that have a conditional execution : Samples=1 but this not work. File is never executed (without condition, exe is always executed). It was a mistake?

thanks.
Labels (1)
0 Kudos

(1) Reply
dan_galender
Level 10

Try the condition &Samples = 3. This will run the custom action if the feature Samples is going from the state of not being installed locally on the target system to being installed locally on the target system.

A custom action with this condition must be sequenced after the CostFinalize action.
0 Kudos