MSI Factory 2.3

MSI.SetFeatureState

MSI.SetFeatureState

This is the first topic This is the last topic  

MSI.SetFeatureState

This is the first topic This is the last topic  

OverviewExamples

boolean MSI.SetFeatureState (

number hInstall,

string Feature,

number InstallState )

Example 1

bResult = MSI.SetFeatureState(_hInstall, "Test_Feature", INSTALLSTATE_ADVERTISED);

 

if (bResult) then

   Dialog.Message("Result", "Action successful.");

else

   Dialog.Message("Result", "Action failed.");

end

Sets the feature "Test_Feature" to advertised, and shows its success or failure in a dialog message.

See also: Related Actions


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