[Wine-patches] [eterhack] msi: Process WriteRegistryValues in InstallFinalize (eterbug #5665).

Alexander Morozov amorozov на etersoft.ru
Пн Июл 18 20:50:59 MSD 2011


Забыл [eterhack] :(
----------- следующая часть -----------
From a98af70e894fb63e69f3410566da3ae8cb012949 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 18 Jul 2011 19:55:19 +0400
Subject: [eterhack] msi: Process WriteRegistryValues in InstallFinalize
 (eterbug #5665).

---
 dlls/msi/action.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index e89e9ab..12afb88 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -3261,6 +3261,12 @@ static UINT ACTION_WriteRegistryValues(MSIPACKAGE *package)
         {'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',
          '`','R','e','g','i','s','t','r','y','`',0 };
 
+    if (package->script->CurrentlyScripting)
+    {
+        schedule_action(package, INSTALL_SCRIPT, szWriteRegistryValues);
+        return 0;
+    }
+
     rc = MSI_DatabaseOpenViewW(package->db, ExecSeqQuery, &view);
     if (rc != ERROR_SUCCESS)
         return ERROR_SUCCESS;
-- 
1.7.5.4



Подробная информация о списке рассылки Wine-patches