Author: tfaber
Date: Wed Oct 5 19:15:08 2011
New Revision: 54015
URL:
http://svn.reactos.org/svn/reactos?rev=54015&view=rev
Log:
[SETUPAPI]
- Fix installation failure of services without a load order group
Modified:
trunk/reactos/dll/win32/setupapi/install.c
Modified: trunk/reactos/dll/win32/setupapi/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/install.c [iso-8859-1] Wed Oct 5 19:15:08 2011
@@ -1814,6 +1814,10 @@
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,