[MSI] Allow to pass product key validation check
authorStanislav Motylkov <x86corez@gmail.com>
Sun, 17 Mar 2019 22:14:46 +0000 (01:14 +0300)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Tue, 19 Mar 2019 22:05:57 +0000 (23:05 +0100)
CORE-14710 CORE-15864

dll/win32/msi/action.c

index 3909246..0eef96a 100644 (file)
@@ -7448,7 +7448,11 @@ UINT msi_validate_product_id( MSIPACKAGE *package )
     if (key && template)
     {
         FIXME( "partial stub: template %s key %s\n", debugstr_w(template), debugstr_w(key) );
+#ifdef __REACTOS__
+        WARN("Product key validation HACK, see CORE-14710\n");
+#else
         r = msi_set_property( package->db, szProductID, key, -1 );
+#endif
     }
     msi_free( template );
     msi_free( key );