Index: dll/win32/setupapi/devclass.c =================================================================== --- dll/win32/setupapi/devclass.c (revision 66794) +++ dll/win32/setupapi/devclass.c (working copy) @@ -860,6 +860,7 @@ InstallParams.cbSize = sizeof(SP_DEVINSTALL_PARAMS); if (!SetupDiGetDeviceInstallParamsW(hDeviceInfo, NULL, &InstallParams)) goto cleanup; + InstallParams.Flags &= ~(DI_NOVCP | DI_NOBROWSE | DI_QUIETINSTALL); InstallParams.Flags |= Flags & (DI_NOVCP | DI_NOBROWSE | DI_QUIETINSTALL); if (Flags & DI_NOVCP) @@ -939,9 +940,9 @@ if (!ret) goto cleanup; - /* Install .Services section */ + /* OPTIONAL: Install .Services section */ lstrcatW(SectionName, DotServices); - ret = SetupInstallServicesFromInfSectionExW( + SetupInstallServicesFromInfSectionExW( hInf, SectionName, 0, @@ -949,9 +950,6 @@ NULL, NULL, NULL); - if (!ret) - goto cleanup; - ret = TRUE; }