MSI.InstallMissingFile

boolean MSI.InstallMissingFile (

string ProductCode,

string File )

Description

Calls the MsiInstallMissingFile function to install a file that is unexpectedly missing.

Parameters

ProductCode

(string) The "product code" of the product that owns the file to be installed. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".

File

(string) The identifier of the file to be installed.

Returns

(boolean) Returns true if the action was successful, or false if it failed. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions