Jump to content

Recommended Posts

Posted

My presetup.cmd is like this, with the drivers already copied in a called paste DRIVERS, with the file SetDevicePath.exe in this paste, and WatchDriverSigningPolicy.exe in the CD\OEM\bin, but the drivers don't install.

What is wrong?

set tagfile=\WIN51

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 CDDRIVE=%%i:

%SystemDrive%

cd %SystemRoot%\system32

if exist setup.exe ren setup.exe setupold.exe

if exist setupORG.exe ren setupORG.exe setup.exe

%SystemDrive%\drivers\SetDevicePath.exe %SystemDrive%\drivers

start %CDDRIVE%\OEM\bin\WatchDriverSigningPolicy.exe

start /WAIT setup.exe %*

RD /Q /S %SystemDrive%\drivers


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