Jump to content

searching for driver in external hard disk


saffar

Recommended Posts

How to tell windows to search from my ecternal hard disk in all folders and subfolders.

when windows search for new driver it only goes to floppy CD and windows diectory other wise i have to point to the folder with correct driver instead i want to search all folders and subfolders

Link to comment
Share on other sites


It is an External HDD (like laptop hard disk with case) with USB connection

By the way i have all the driver packs unpacked on the external hard disk and other drivers also

Link to comment
Share on other sites

It is for an UNattended installation, I presume?

In case of an UNattended installation: use method 2, edit I386\presetup.cmd to have this:

REM +===========================================================+
REM | Finding EXTERNAL DRIVEletter.    |
REM |-----------------------------------------------------------|
SET TAGFILE=\external.tag
FOR %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) DO IF EXIST "%%i:%TAGFILE%" set EXTERNAL_DRIVE=%%i:

REM +===========================================================+
REM | Editable variables.    |
REM |-----------------------------------------------------------|
SET DPDIRROOT=%EXTERNAL_DRIVE%
SET DPDIR=%DPDIRROOT%\D


REM +===========================================================+
REM | Make sure we are in System32.    |
REM |-----------------------------------------------------------|
REM CD /D %SystemRoot%\system32


REM +===========================================================+
REM | Scanning for driverdirectories.    |
REM |-----------------------------------------------------------|
%EXTERNAL_DRIVE%\OEM\bin\SetDevicePath.exe %DPDIR%


REM +===========================================================+
REM | Enable installation of unsigned drivers.  |
REM |-----------------------------------------------------------|
START %EXTERNAL_DRIVE%\OEM\bin\WatchDriverSigningPolicy.exe

You'll have to make sure you have:

A) the drivers in UNCOMPRESSED form in the 'D' folder at the root of your external HDD

B) a tagfile called 'external.tag' at the root of your external HDD

....

If the above does not work, it means the drive is not being recognised automatically.

Link to comment
Share on other sites

I see :P

that's even alot easier!

To set the external harddrive as device drivers source:

REM +=================================================
==========+
REM | Finding EXTERNAL DRIVEletter.    |
REM |-----------------------------------------------------------|
SET TAGFILE=\external.tag
FOR %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) DO IF EXIST "%%i:%TAGFILE%" set EXTERNAL_DRIVE=%%i:


REM +=================================================
==========+
REM | Editable variables.     |
REM |-----------------------------------------------------------|
SET DPDIRROOT=%EXTERNAL_DRIVE%
SET DPDIR=%DPDIRROOT%\D

REM +=================================================
==========+
REM | Scanning for driverdirectories.    |
REM |-----------------------------------------------------------|
%EXTERNAL_DRIVE%\OEM\bin\SetDevicePath.exe %DPDIR%

To UNset the external harddrive as device drivers source: (will set the default one back)

REM +=================================================
==========+
REM | Scanning for driverdirectories.    |
REM |-----------------------------------------------------------|
%EXTERNAL_DRIVE%\OEM\bin\SetDevicePath.exe

Of course same remarks as the above still matter.

You can download the necessary files from the Sticky 'SOLVED: Drivers from CD'.

If you have any questions left, feel free to ask.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...