mirror of
https://github.com/dockur/windows.git
synced 2026-09-14 05:43:02 +01:00
Update win11x64-ltsc.cmd
This commit is contained in:
@@ -6,11 +6,16 @@ set "SETUP_STARTED=%SCRIPT_DIR%setup.started"
|
|||||||
set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete"
|
set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete"
|
||||||
|
|
||||||
if "%~1"=="" goto setup
|
if "%~1"=="" goto setup
|
||||||
|
if /i "%~1"=="pe" goto pe
|
||||||
if /i "%~1"=="setup" goto setup
|
if /i "%~1"=="setup" goto setup
|
||||||
if /i "%~1"=="logon" goto logon
|
if /i "%~1"=="logon" goto logon
|
||||||
if /i "%~1"=="specialize" goto specialize
|
if /i "%~1"=="specialize" goto specialize
|
||||||
exit /b 2
|
exit /b 2
|
||||||
|
|
||||||
|
:pe
|
||||||
|
|
||||||
|
exit /b 0
|
||||||
|
|
||||||
:specialize
|
:specialize
|
||||||
|
|
||||||
rem Install the VMWare display driver before Windows Setup's final reboot.
|
rem Install the VMWare display driver before Windows Setup's final reboot.
|
||||||
@@ -19,6 +24,7 @@ certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer
|
|||||||
start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1
|
start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1
|
||||||
|
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
:setup
|
:setup
|
||||||
if exist "%SETUP_COMPLETE%" exit /b 0
|
if exist "%SETUP_COMPLETE%" exit /b 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user