From: Thomas Faber Date: Wed, 5 Oct 2011 19:15:08 +0000 (+0000) Subject: [SETUPAPI] X-Git-Tag: backups/iut-netsh@54410~372 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=36f0a82476147e012cf03d76431224d18d0282b1 [SETUPAPI] - Fix installation failure of services without a load order group svn path=/trunk/; revision=54015 --- 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,