mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[SETUPAPI] SetupDiInstallDevice: Do not fail if the .inf file does not have a .Services section
CORE-17530
This commit is contained in:
@@ -5609,7 +5609,11 @@ SetupDiInstallDevice(
|
||||
NULL,
|
||||
NULL);
|
||||
if (!Result)
|
||||
goto cleanup;
|
||||
{
|
||||
if (GetLastError() != ERROR_SECTION_NOT_FOUND)
|
||||
goto cleanup;
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
}
|
||||
if (GetLastError() == ERROR_SUCCESS_REBOOT_REQUIRED)
|
||||
RebootRequired = TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user