msi: Create the product key if necessary in msi_publish_patches.

Fixes a regression caused by c9fb24927d.
This commit is contained in:
Hans Leidekker 2010-08-27 10:49:55 +02:00 committed by Alexandre Julliard
parent 137dfbe80a
commit 44b15b061b

View file

@ -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;