Commit 44b15b06 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Create the product key if necessary in msi_publish_patches.

Fixes a regression caused by c9fb2492.
parent 137dfbe8
......@@ -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;
......
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