cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
honlory
Level 3

How to change the Feature Property in script?

Hello,

We know that we can set the property "Required" as "Yes" in Feature Design to let this feature must be installed (checked,and non-editable).

But, how to change this property in script dynamicly ?

Thanks & Regards,
Honlory
Labels (1)
0 Kudos
(2) Replies
ICE999
Level 5

Is this not possible in script? Nobody answered the question ...
0 Kudos
RobertDickau
Flexera Alumni

Correct, there are some feature attributes that can't be set from a running script. (In the case of Basic MSI, one can occasionally perform some chicanery to modify the in-memory Feature table, but that's an option of last resort.)

For InstallScript, could you have two identical-looking features, one required and one not, and conditionally hide one of them?
0 Kudos