Summary
Explanation of Installscript Feature SelectionsSynopsis
When determining or selecting features in InstallScript, there are a number of behaviors present. The documentation for SdFeatureMult() mentions some of the finer points:
"Default selection settings are cleared when the end user selects a feature or subfeature displayed in the dialog. If the end user clears a feature selection, all of its subfeatures are cleared. Conversely, if the end user clears all of a feature's subfeature selections, the feature's selection is cleared.
...
When a feature is not selected by default, its subfeatures are not selected by default. If all subfeatures of a feature are not selected by default, the parent feature should not be selected by default. See FeatureAddItem for information on default feature and subfeature selection settings. "
In InstallScript MSI Projects, once these selections have been determined, they get passed via the ADDLOCAL property. Note that this invalidates the ability to use Feature Conditions, since the MSI Engine will set the 'Preselected' property and rely on what's explicitly defined in the ADDLOCAL property.
Additional Information
SdFeatureMult
ADDLOCAL Property
Related Articles
Modify Uninstall Behavior of a Previous Version During a Major Upgrade 3Number of Views Launch a Custom Executable 16Number of Views How to Configure a Major Upgrade 6Number of Views Launch an Executable Using a Custom Action 3Number of Views Windows Add/Remove Programs lists MongoDB 4.2.13 after Snow License Manager 9.27.1 upgrade 41Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago