Last updated 1 year ago
[DllImport("msi.dll", CharSet = CharSet.Auto)] public static extern int MsiOpenPackageEx( [MarshalAs(UnmanagedType.LPTStr)] string szPackagePath, uint dwOptions, out IntPtr hProduct );
Microsoft documentation: