cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nhatmi
Level 4

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?

Labels (1)
0 Kudos
(1) Reply
Jenifer
Flexera Alumni

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:

https://community.flexera.com/t5/InstallShield-Knowledge-Base/How-to-Install-Components-Based-on-Language/ta-p/4139

 

Thanks,

Jenifer

0 Kudos