[2/5] msi: Create the product key if necessary in msi_publish_patches.
Hans Leidekker
hans at codeweavers.com
Fri Aug 27 03:49:55 CDT 2010
Fixes a regression caused by c9fb24927db773905e144db63d9e34741e97f703,
reported as http://bugs.winehq.org/show_bug.cgi?id=24148
---
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;
--
1.7.0.4
More information about the wine-patches
mailing list