- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Component Conditions with InstallScript projects
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Component Conditions with InstallScript projects
I've got a component that only needs installed in certain situations. I know that in an MSI project, I could easily put a condition on the component. Is there a way get that same behavior in an installscript project?
Hi @nhatmi ,
There is no specific way to achieve this for component-level but you can achieve it in feature level using FeatureSelectItem.
You can select and deselect features and subfeatures (though not components) with.
More detais can be found:https://helpnet.flexerasoftware.com/installshield21helplib/Subsystems/installshield21langref/helplibrary/LangrefFeatureSelectItem.htm
Though there is a function named OnFilterComponents ,which can only filter feature specific to OS and language.Details about this can be found here:
Thanks,
Jenifer