Setup Factory 10

MSI.InstallMissingComponent

MSI.InstallMissingComponent

This is the first topic This is the last topic  

MSI.InstallMissingComponent

This is the first topic This is the last topic  

OverviewExamples

boolean MSI.InstallMissingComponent (

string ProductCode,

string ComponentGUID,

number InstallState )

Example 1

bResult = MSI.InstallMissingComponent("{78B82B0B-9AD9-40C0-B994-F72C21B52723}", "{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}", INSTALLSTATE_LOCAL);

 

if (not bResult) then

   nError = Application.GetLastError();

   Dialog.Message("Error", _tblErrorMessages[nError], MB_OK, MB_ICONEXCLAMATION);

end

Installs the missing component "{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}" locally (INSTALLSTATE_LOCAL) and shows an error dialog if the action fails.

See also: Related Actions


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