mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
By default, don't search a driver on removable media.
Do it only when choosing automatic install or selecting "Include removable media" in new hardware wizard svn path=/trunk/; revision=22175
This commit is contained in:
@@ -745,7 +745,7 @@ DevInstallW(
|
||||
TRACE("Installing %S (%S)\n", DevInstData->buffer, InstanceId);
|
||||
|
||||
/* Search driver in default location and removable devices */
|
||||
if (!PrepareFoldersToScan(DevInstData, TRUE, FALSE, NULL))
|
||||
if (!PrepareFoldersToScan(DevInstData, FALSE, FALSE, NULL))
|
||||
{
|
||||
TRACE("PrepareFoldersToScan() failed with error 0x%lx\n", GetLastError());
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user