cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Occasional contributor

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
Highlighted
Flexera
Flexera

Re: Component Conditions with InstallScript projects

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/helplib...

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-Lan...

 

Thanks,

Jenifer

0 Kudos