Re: [WiX-users] MsiOpenPackage vs. MsiOpenDatabase

2009-05-29 Thread Rob Mensching
::MsiOpenDatabase() is used manipulate the MSI data file on disk (you pass a path to it) using SQL. ::MsiOpenPackage() is used to open an MSI file to do "installation like" operations on it. I only know of it being used for validation. I use ::MsiOpenDatabase() all the time and ::MsiOpenPackag

[WiX-users] MsiOpenPackage vs. MsiOpenDatabase

2009-05-29 Thread DONG LEE
I am trying to investigate on differences between the handles returned by MsiOpenPackage and MsiOpenDatabase functions. Is the handle returned by MsiOpenPackage the only valid MSI handle that can be passed into the MSI functions that expects a handle to an installation, like MsiProcessMessage? I'd