amit_talkin Posted December 25, 2008 Share Posted December 25, 2008 (edited) 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 OFFSET DriversRoot=NULL:SearchDriversRootFOR %%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 StartSetupGOTO SearchDriversRootnow 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 December 25, 2008 by amit_talkin Link to comment Share on other sites More sharing options...
amit_talkin Posted December 25, 2008 Author Share Posted December 25, 2008 mmm, nm..just figured it out . Link to comment Share on other sites More sharing options...
tozo Posted December 30, 2008 Share Posted December 30, 2008 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 OFFSET DriversRoot=NULL:SearchDriversRootFOR %%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 StartSetupGOTO SearchDriversRootnow 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 OFFSET DriversRoot=NULL:SearchDriversRootFOR %%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 StartSetupGOTO SearchDriversRootand %CDDRIVE%\Driver\SetDevicePath.exe %CDDRIVE%\driverstart %CDDRIVE%\driver\WatchDriverSigningPolicy.exemaybe ıt wıll be done Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now