[2/3] msi: Open relocated package database in transacted mode.

Hans Leidekker hans at codeweavers.com
Wed Sep 8 05:17:13 CDT 2010


---
 dlls/msi/package.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index aa0d1b5..c386f89 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -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)
-- 
1.7.0.4







More information about the wine-patches mailing list