Page 1 of 1

Run program only when specific feature is installed

Posted: Tue Aug 14, 2007 7:20 am
by EricB
I have an install with 3 features. If a specific feature is installed, I need to run a batch file.

What is the best way to accomplish this task?

Thanks,

Eric

Posted: Wed Aug 15, 2007 1:34 am
by pfennig
Initialize a variable of your choice to false. Set it to true at the end of your feature's script block. Later run the batch file if that variable is true.

Posted: Wed Aug 15, 2007 1:42 pm
by EricB
pfenning,
Thanks for the reply. After playing around with IA in the daytime hours rather than late at night when the brain is fried, and taking your advice, I able to do what I wanted.

Thanks again,

Eric