Hans Leidekker : msi: Create the product key if necessary in msi_publish_patches.

Alexandre Julliard julliard at winehq.org
Fri Aug 27 11:11:20 CDT 2010


Module: wine
Branch: master
Commit: 44b15b061b22d0929019b2831ea83ba3762c32b4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=44b15b061b22d0929019b2831ea83ba3762c32b4

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Aug 27 10:49:55 2010 +0200

msi: Create the product key if necessary in msi_publish_patches.

Fixes a regression caused by c9fb24927db773905e144db63d9e34741e97f703.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index bb559c0..5eb4ae8 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -3891,7 +3891,7 @@ static UINT msi_publish_patches( MSIPACKAGE *package )
     WCHAR *p, *all_patches = NULL;
     DWORD len = 0;
 
-    r = MSIREG_OpenProductKey( package->ProductCode, NULL, package->Context, &product_key, FALSE );
+    r = MSIREG_OpenProductKey( package->ProductCode, NULL, package->Context, &product_key, TRUE );
     if (r != ERROR_SUCCESS)
         return ERROR_FUNCTION_FAILED;
 




More information about the wine-cvs mailing list