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
- :
- Re: Including custom action in build based on Release flag
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 12, 2008
06:00 AM
Including custom action in build based on Release flag
My setup project has 3 release flags and depending on Release Flag set.exe is created. Some custom actions are only related to particular relaseFlag. So is there any way to include the CustomAction based on release Flag.
Note : Even if you include the ReleaseFlag in the condition of CustomAction, this custom action will be included in installer and during execution, condition is evaluated and custom action is executed.
Note : Even if you include the ReleaseFlag in the condition of CustomAction, this custom action will be included in installer and during execution, condition is evaluated and custom action is executed.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 12, 2008
07:29 AM
Custom actions in InstallShield don't directly support release flags. Features and subfeatures do support release flags. Can you put your custom actions in different subfeatures, and then apply release flags to those subfeatures? You could make these special subfeatures invisible (so that they are not displayed in the feature selection dialogs).
I hope that helps.
Debbie Landers
Macrovision Corporation
I hope that helps.
Debbie Landers
Macrovision Corporation
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 12, 2008
10:20 PM
Thanks for reply.
My features are already associated with ReleaseFlags.
My next questions is how to associate a custom action with a feature or subfeature?
The only way seems to me is put a conditional check about the feature state in custom action.
Is there any other way to associate a feature and subfeature with custom action?
My features are already associated with ReleaseFlags.
My next questions is how to associate a custom action with a feature or subfeature?
The only way seems to me is put a conditional check about the feature state in custom action.
Is there any other way to associate a feature and subfeature with custom action?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 13, 2008
07:43 AM
Sorry. Each custom action would be in a different component, and then those components would be associated with the appropriate features.
Debbie Landers
Macrovision Corporation
Debbie Landers
Macrovision Corporation
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 13, 2008
11:58 PM
It would be great if you explain it in more detail.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 14, 2008
01:33 PM
Please ignore my last suggestion. See if this will help:
Conditionally Launching Custom Actions Based on Release Flags
Debbie Landers
Macrovision Corporation
Conditionally Launching Custom Actions Based on Release Flags
Debbie Landers
Macrovision Corporation