Hans Leidekker : msi: Also register components without a key path.

Alexandre Julliard julliard at winehq.org
Wed Mar 9 11:12:48 CST 2011


Module: wine
Branch: master
Commit: e292eb121ddc9da71e758bc41096fa497101e813
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e292eb121ddc9da71e758bc41096fa497101e813

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Mar  9 08:58:29 2011 +0100

msi: Also register components without a key path.

---

 dlls/msi/action.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index a003f5e..f58aaf2 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -3266,15 +3266,10 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
         if (comp->ActionRequest == INSTALLSTATE_LOCAL ||
             comp->ActionRequest == INSTALLSTATE_SOURCE)
         {
-            if (!comp->FullKeypath)
-                continue;
-
             if (package->Context == MSIINSTALLCONTEXT_MACHINE)
-                rc = MSIREG_OpenUserDataComponentKey(comp->ComponentId, szLocalSid,
-                                                     &hkey, TRUE);
+                rc = MSIREG_OpenUserDataComponentKey(comp->ComponentId, szLocalSid, &hkey, TRUE);
             else
-                rc = MSIREG_OpenUserDataComponentKey(comp->ComponentId, NULL,
-                                                     &hkey, TRUE);
+                rc = MSIREG_OpenUserDataComponentKey(comp->ComponentId, NULL, &hkey, TRUE);
 
             if (rc != ERROR_SUCCESS)
                 continue;




More information about the wine-cvs mailing list