mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
msi: Also register components without a key path.
This commit is contained in:
parent
a33df48f36
commit
e292eb121d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user