bei mir verhindert eine existierende InstallCustomSoftware.cmd bzw.TouchMSITree.cmd die Installation von Windows Updates.
in DoUpdate.cmd
- Code: Select all
rem *** Install MSI packages and custom software ***
if exist %SystemRoot%\Temp\wouselmsi.txt (
echo Installing selected MSI packages...
call TouchMSITree.cmd /instselected
rem FIXME (b69)
call :Log "Info: Installed selected MSI packages"
del %SystemRoot%\Temp\wouselmsi.txt
set REBOOT_REQUIRED=1
) else (
if "%INSTALL_MSI%"=="/instmsi" (
echo Installing all MSI packages...
call TouchMSITree.cmd /install
rem FIXME (b69)
call :Log "Info: Installed all MSI packages"
set REBOOT_REQUIRED=1
)
)
if exist ..\software\custom\InstallCustomSoftware.cmd (
echo Installing custom software...
pushd ..\software\custom
call InstallCustomSoftware.cmd
popd
call :Log "Info: Executed custom software installation hook (Errorlevel: %errorlevel%)"
set REBOOT_REQUIRED=1
)
goto UpdateSystem
Dieses jeweilige
- Code: Select all
set REBOOT_REQUIRED=1
- Code: Select all
call :Log "Info: Installed Windows Update scan prerequisites"
)
if "%RECALL_REQUIRED%"=="1" goto Installed
if "%REBOOT_REQUIRED%"=="1" goto Installed
:SkipWuPre
MfG
Ronald