From 44b15b061b22d0929019b2831ea83ba3762c32b4 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 27 Aug 2010 10:49:55 +0200 Subject: [PATCH] msi: Create the product key if necessary in msi_publish_patches. Fixes a regression caused by c9fb24927db773905e144db63d9e34741e97f703. --- dlls/msi/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index bb559c016af..5eb4ae8c685 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; -- 2.11.4.GIT