MSI Factory 2.3

MSI.SetCAReturnCode

MSI.SetCAReturnCode

This is the first topic This is the last topic  

MSI.SetCAReturnCode

This is the first topic This is the last topic  

OverviewExamples

MSI.SetCAReturnCode (

number ReturnCode )

Example 1

bSuccess = MSI.SetInstallLevel(_hInstall, 3);

 

if (bSuccess) then

   Dialog.Message("Level Result", "The install level was set successfully.");

else

   Dialog.Message("Level Result", "The install level failed to be set.");

   MSI.SetCAReturnCode(1603);

end

Sets the install level to 3, shows a dialog message notifying of success and failure and if it fails, sets the custom action return code to 1603.

See also: Related Actions


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