Skip to content

Commit ae4c7ec

Browse files
committed
1 parent 2685b9b commit ae4c7ec

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

Diff for: post_install.bat

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
2-
set ARGS=/SE /SW /SA
2+
set ARGS=/LM /SW /SA
33
if "%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-
2811
exit /b 0

0 commit comments

Comments
 (0)