From 36f0a82476147e012cf03d76431224d18d0282b1 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Wed, 5 Oct 2011 19:15:08 +0000 Subject: [PATCH] [SETUPAPI] - Fix installation failure of services without a load order group svn path=/trunk/; revision=54015 --- reactos/dll/win32/setupapi/install.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/dll/win32/setupapi/install.c b/reactos/dll/win32/setupapi/install.c index 5a6ad6c0e0c..839b66cf3b1 100644 --- a/reactos/dll/win32/setupapi/install.c +++ b/reactos/dll/win32/setupapi/install.c @@ -1814,6 +1814,10 @@ static BOOL InstallOneService( GetLineText(hInf, ServiceSection, DescriptionKey, &Description); GetLineText(hInf, ServiceSection, DependenciesKey, &Dependencies); + /* If there is no group, we must not request a tag */ + if (!LoadOrderGroup || !*LoadOrderGroup) + useTag = FALSE; + hService = OpenServiceW( hSCManager, ServiceName, -- 2.17.1