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
- :
- Execute Exe with a feature condition
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
May 28, 2008
09:57 AM
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.
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.
(1) Reply
May 28, 2008
10:53 AM
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.
A custom action with this condition must be sequenced after the CostFinalize action.