Jump to content

Installing Drivers from DVD instead integrating into image.


Recommended Posts

Hi friends,

I have a question. I m gonna make a Drivers DVD in which I will put all device drivers. I am gonna set driversroot using following command.

@ECHO OFF

SET DriversRoot=NULL

:SearchDriversRoot

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:\DriversRoot.txt SET DriversRoot=%%i:\

IF NOT "%DriversRoot%"=="NULL" GOTO StartSetup

GOTO SearchDriversRoot

now what I want is, that if drivers DVD is not inserted or driversroot.txt is missing then it should popup a msg saying "Please Insert Drivers DVD". and while poppingup this msg, there should be an option to cancel installation of drivers. now it should wait if I insert DVD and after inserting DVD it should continue installing drivers.I think this can be done by editing above batch file or can make a simple vbscript to do that. but I m scripting newbie so please help me regarding to this.

Amit

Edited by amit_talkin
Link to comment
Share on other sites


Hi friends,

I have a question. I m gonna make a Drivers DVD in which I will put all device drivers. I am gonna set driversroot using following command.

@ECHO OFF

SET DriversRoot=NULL

:SearchDriversRoot

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:\DriversRoot.txt SET DriversRoot=%%i:\

IF NOT "%DriversRoot%"=="NULL" GOTO StartSetup

GOTO SearchDriversRoot

now what I want is, that if drivers DVD is not inserted or driversroot.txt is missing then it should popup a msg saying "Please Insert Drivers DVD". and while poppingup this msg, there should be an option to cancel installation of drivers. now it should wait if I insert DVD and after inserting DVD it should continue installing drivers.I think this can be done by editing above batch file or can make a simple vbscript to do that. but I m scripting newbie so please help me regarding to this.

Amit

@ECHO OFF

SET DriversRoot=NULL

:SearchDriversRoot

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:\DriversRoot.txt SET DriversRoot=%%i:\

IF NOT "%DriversRoot%"=="NULL" GOTO StartSetup

GOTO SearchDriversRoot

and

%CDDRIVE%\Driver\SetDevicePath.exe %CDDRIVE%\driver

start %CDDRIVE%\driver\WatchDriverSigningPolicy.exe

maybe ıt wıll be done

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...