File tree 1 file changed +1
-18
lines changed
1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
- set ARGS = /SE /SW /SA
2
+ set ARGS = /LM /SW /SA
3
3
if " %PROCESSOR_ARCHITECTURE% " == " AMD64" (
4
4
drivers\dpinst-amd64.exe %ARGS%
5
5
) ELSE IF " %PROCESSOR_ARCHITEW6432% " == " AMD64" (
@@ -8,21 +8,4 @@ if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
8
8
drivers\dpinst-x86.exe %ARGS%
9
9
)
10
10
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
-
28
11
exit /b 0
You can’t perform that action at this time.
0 commit comments