https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8e05f5509c4baa4df9d543620d5da9552c18f25f

commit 8e05f5509c4baa4df9d543620d5da9552c18f25f
Author:     Stanislav Motylkov <[email protected]>
AuthorDate: Mon Mar 18 01:14:46 2019 +0300
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Tue Mar 19 23:05:57 2019 +0100

    [MSI] Allow to pass product key validation check
    
    CORE-14710 CORE-15864
---
 dll/win32/msi/action.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dll/win32/msi/action.c b/dll/win32/msi/action.c
index 3909246869..0eef96a89c 100644
--- a/dll/win32/msi/action.c
+++ b/dll/win32/msi/action.c
@@ -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 );

Reply via email to