.
Summary
The
MsiOpenPackageEx function opens a package to use with functions that access the product database. The
MsiCloseHandle function must be called with the handle when the handle is no longer needed.
C# Signature:
[DllImport("msi.dll", CharSet = CharSet.Unicode, PreserveSig = true, SetLastError = true, ExactSpelling = true)]
public static extern UInt32 MsiOpenPackageExW(string szPackagePath, UInt32 dwOptions, ref IntPtr hProduct);
User-Defined Types:
None.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
dwOptions: MSIOPENPACKAGEFLAGS_IGNOREMACHINESTATE = 1
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Documentation
The MsiOpenPackageEx function opens a package to use with functions that access the product database. The MsiCloseHandle function must be called with the handle when the handle is no longer needed.
10/12/2021 3:08:13 AM - -178.164.179.221
Closes an open installation handle.
9/25/2009 12:31:50 PM - 84.126.63.30