MSI Factory 2.3

MSI.GetFeatureValidStates

MSI.GetFeatureValidStates

Previous topic Next topic  

MSI.GetFeatureValidStates

Previous topic Next topic  

OverviewExamples

table MSI.GetFeatureValidStates (

number hInstall,

string Feature )

Description

Calls the MsiGetFeatureValidStates function that returns a valid installation state.

Parameters

hInstall

(number) The handle to the installation.

Note:  _hInstall is the default for this parameter. See Global Variables for more information.

Feature

(string) The name of the feature.

Returns

(table)  Returns a table indexed by the following values. If this action fails or an error occurs, nil is returned: You can also retrieve extended error information using the MSI.GetLastErrorRecord action.

KEY

TYPE

DESCRIPTION

InstallState

number

A numerical combination of the Install State values.

INSTALLSTATE_ADVERTISED

boolean

true if the install state is set to advertised.

INSTALLSTATE_ABSENT

boolean

true if the install state is set to absent.

INSTALLSTATE_LOCAL

boolean

true if the install state is set to local.

INSTALLSTATE_SOURCE

boolean

true if the install state is set to source.

INSTALLSTATE_DEFAULT

boolean

true if the install state is set to use the default location: local or source.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us