Visual Patch 3.9

MSI.CloseHandle

MSI.CloseHandle

Previous topic Next topic  

MSI.CloseHandle

Previous topic Next topic  

OverviewExamples

boolean MSI.CloseHandle (

number MSIHandle )

Description

Calls the MsiCloseHandle function to close an open installation handle.

The following actions supply handles that should be closed after use by calling MSI.CloseHandle:

MSI.OpenPackage

MSI.OpenProduct

Parameters

MSIHandle

(number) The handle to an open installation.

Returns

(boolean) Returns true if the handle was closed 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


Learn More: Indigo Rose Software - Visual Patch - Buy Now - Contact Us