Feature selection by Build - Advanced Installer Community
rmoc
Posts: 72
Joined: Tue Mar 14, 2017 8:27 pm

Feature selection by Build

I have a setup project which contains several features. Depending on the desired build, not all features should be included in the created setup. The feature files are only available if a feature is used in the setup.

The only possibility I have found in AI to control the selection of the desired features from the outside and to avoid errors due to missing files is the function ‘Include feature only in the selected build’.
Test.png
Test.png (2.68 KiB) Viewed 2724 times
My first question is, is there any other way to determine the included features in the created setup besides the function ‘Include feature only in the selected build’. With InstallShield, for example, this could be controlled by specifying release flags for the desired features.
If there is no other option here and I have to use the ‘Include feature only in the selected build’ function, I have a problem. When I create a new build, all existing features with the restriction to a build are also assigned to this new build. I have to go through all the features each time and remove the new build from the existing features.
Catalin
Posts: 7849
Joined: Wed Jun 13, 2018 7:49 am

Re: Feature selection by Build

Hello,

Indeed, the only way to include/exclude specific features from a build is through the "Include feature only in the selected" builds option.

Your scenario is indeed valid - thank you for bringing this to our attention.

I will do some more digging on InstallShield's support for "release flags" and will raise this to our dev team for a possible improvement in the future.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”