mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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:
parent
0e5ee8026d
commit
8410eccf06
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue