File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 11@ echo off
2- set ARGS = /SE /SW /SA
2+ set ARGS = /LM /SW /SA
33if " %PROCESSOR_ARCHITECTURE% " == " AMD64" (
44 drivers\dpinst-amd64.exe %ARGS%
55) ELSE IF " %PROCESSOR_ARCHITEW6432% " == " AMD64" (
@@ -8,21 +8,4 @@ if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
88 drivers\dpinst-x86.exe %ARGS%
99)
1010
11- @ echo off
12- setlocal
13- for /f " tokens=4-5 delims=[.] " %%i in ('ver') do @ (if %%i == Version (set VERSION=%%j ) else (set VERSION=%%i ))
14- if %VERSION% GEQ 10 (
15- exit /b 0
16- )
17- endlocal
18-
19- REM dpinst /PATH has problems with relative paths, so use absolute path.
20- if " %PROCESSOR_ARCHITECTURE% " == " AMD64" (
21- drivers\dpinst-amd64.exe /PATH %cd% \drivers\prewin10 %ARGS%
22- ) ELSE IF " %PROCESSOR_ARCHITEW6432% " == " AMD64" (
23- drivers\dpinst-amd64.exe /PATH %cd% \drivers\prewin10 %ARGS%
24- ) ELSE (
25- drivers\dpinst-x86.exe /PATH %cd% \drivers\prewin10 %ARGS%
26- )
27-
2811exit /b 0
You can’t perform that action at this time.
0 commit comments