FeatureStandardSetupTypeSet
InstallShield 2024 » InstallScript Language Reference
Project:
• | InstallScript |
• | InstallScript MSI |
The FeatureStandardSetupTypeSet function sets the current setup type to the standard setup type specified by nSetupType. This function attempts to set the setup type by calling the FeatureSetupTypeSet function with the appropriate string to set the setup type.
Syntax
FeatureStandardSetupTypeSet ( szFeatureSource, nSetupType );
Parameters
Parameter |
Description |
||||||||||||||||||||||||
szFeatureSource |
Specifies the media name of the file media whose setup type is to be set. |
||||||||||||||||||||||||
nSetupType |
Specifies which setup type to set. Pass one of the following predefined constants in this parameter:
You can customize the string setup type value associated with each numeric constant by customizing the global predefined script variables listed below. The function sets the setup or installation type by trying the appropriate script variable, then tries the setup type name in English and Japanese (see below). Also, when the COMPLETE setup type is specified, the function tries all TYPICAL values after checking the values for COMPLETE. If the setup type cannot be set to any of these values, the function returns failure. The following global predefined script variables can be customized:
|
The following table shows the values the FeatureStandardSetupTypeSet function uses when each constant is specified in the nSetupType parameter.
Constant |
Strings Used |
TYPICAL |
SETUPTYPE_STR_TYPICAL Typical |
COMPLETE |
SETUPTYPE_STR_COMPLETE Complete |
COMPACT |
SETUPTYPE_STR_COMPACT Compact |
CUSTOM |
SETUPTYPE_STR_CUSTOM Custom |
Return Values
Return Value |
Description |
>= ISERR_SUCCESS |
FeatureStandardSetupTypeSet was able to set the specified setup type. |
< ISERR_SUCCESS |
FeatureStandardSetupTypeSet was unable to set the specified setup type. |
See Also