.
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, void **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.
9/6/2012 4:51:30 AM - hypersw-194.8.164.162
Closes an open installation handle.
9/25/2009 12:31:50 PM - 84.126.63.30