FeatureSetupTypeSet
Project:This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The FeatureSetupTypeSet function sets the specified setup type in the file media referenced by szFeatureSource. You can use FeatureSetupTypeSet to override the selection made in a setup type dialog, such as SdSetupTypeEx.
Note:This function cannot be used with script-created feature sets.
Syntax
FeatureSetupTypeSet ( szFeatureSource, szSetupType );
Parameters
Parameter |
Description |
szFeatureSource |
Specifies the media name of the file media whose setup type is to be set. |
szSetupType |
Specifies which setup type to set. |
Return Values
Return Value |
Description |
0 |
FeatureSetupTypeSet was successful. |
< 0 |
FeatureSetupTypeSet failed. |