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

Alexander Morozov amorozov на etersoft.ru
Чт Июл 21 21:55:45 MSD 2011


----------- следующая часть -----------
From fe61d7e60f18a194b933688373c04deeef3abe9e Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Thu, 21 Jul 2011 21:53:16 +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 a654a38..59db471 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -2696,6 +2696,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)
+    {
+        msi_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