msi: Open relocated package database in transacted mode.

This commit is contained in:
Hans Leidekker 2010-09-08 12:17:13 +02:00 committed by Alexandre Julliard
parent d8b5879798
commit f6e26351d5
1 changed files with 1 additions and 1 deletions

View File

@ -1354,7 +1354,7 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage)
* read/write, which is safe because we always create a copy that is thrown
* away when we're done.
*/
r = MSI_OpenDatabaseW( file, MSIDBOPEN_DIRECT, &db );
r = MSI_OpenDatabaseW( file, MSIDBOPEN_TRANSACT, &db );
if( r != ERROR_SUCCESS )
{
if (file != szPackage)