Original article: how to set the feature selection status in InstallShield
previous article: Use the iterator tag of strtuts2 to output a two-dimensional array cyclically
I have been asking how to set the feature selection status in InstallShield, because this option is not available in install design.
today, I opened the help search function. The function is as follows:
featureselectitem (szfeaturesource, szfeature, bselect ); szfeaturesource
specifies the media name of the script-created feature set or (in installscript projects) file media library containing the feature whose selection status is to be set.
szfeature
specifies the feature whose selection status is to be set. for more information about specifying feat Ures and subfeatures in installscript, see specifying features and subfeatures in function CILS.
bselect
specifies whether or not the feature shocould be selected. pass one of the following predefined constants in this parameter: True-select the specified feature.
false-do not select the specified feature. therefore, you need to check more help.
next article: about how to get the current user's solution when setting the Startup Folder or setting user options