diff --git a/base/services/umpnpmgr/install.c b/base/services/umpnpmgr/install.c index 80ef825890..005ea1f703 100644 --- a/base/services/umpnpmgr/install.c +++ b/base/services/umpnpmgr/install.c @@ -1,4 +1,4 @@ -/* +/* * ReactOS kernel * Copyright (C) 2005 ReactOS Team * @@ -109,7 +109,32 @@ InstallDevice(PCWSTR DeviceInstance, BOOL ShowWizard) RegCloseKey(DeviceKey); } - DPRINT1("Installing: %S\n", DeviceInstance); +// DPRINT1("Installing: %S\n", DeviceInstance); + + if (wcscmp(DeviceInstance, L"Root\\ACPI_HAL\\0000") == 0) + { + DPRINT1("Skipping 'Root\\ACPI_HAL\\0000'.\n"); + goto cleanup; + } + else if (wcscmp(DeviceInstance, L"Root\\UniATA\\0000") == 0) + { + DPRINT1("Skipping 'Root\\UniAT\\0000.\n"); + goto cleanup; + } + else if (wcscmp(DeviceInstance, L"Root\\UniATA\\0001") == 0) + { + DPRINT1("Skipping 'Root\\UniATA\\0001'.\n"); + goto cleanup; + } + else if (wcscmp(DeviceInstance, L"Root\\BusLogic\\0000") == 0) // This section can be removed for VBox + { + DPRINT1("Skipping 'Root\\BusLogic\\0000'.\n"); + goto cleanup; + } // End of removed section for VBox + else + { + DPRINT1("Installing: %S\n", DeviceInstance); + } /* Create a random UUID for the named pipe & event*/ UuidCreate(&RandomUuid);