Commit 4165105a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Vitaly Lipatov

hack to use msi db in readonly mode instead of trasact mode (eterbug #14311)

parent 8d0d3d81
......@@ -161,12 +161,15 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb)
}
else
{
#if 0
if (!CopyFileW( szDBPath, szPersist, FALSE ))
return ERROR_OPEN_FAILED;
szDBPath = szPersist;
mode = MSI_OPEN_TRANSACT;
created = TRUE;
#endif
mode = MSI_OPEN_READONLY;
}
if ((mode & MSI_OPEN_PATCHFILE) == MSI_OPEN_PATCHFILE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment