Page 1 of 1

Fehler mit InstallCustomSoftware.cmd und TouchMSITree.cmd

PostPosted: 29.06.2021, 09:55
by rbr555
Hallo,

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
verhindert meiner Meinung nach den weiteren korrekten Programmablauf.

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

Re: Fehler mit InstallCustomSoftware.cmd und TouchMSITree.cm

PostPosted: 01.07.2021, 18:34
by aker
Die "12.6 (b11)" sollte das Problem fixen.
Natürlich muss die InstallCustomSoftware.cmd das dann korrekt handhaben.

:arrow: https://gitlab.com/wsusoffline/wsusoffline/-/commit/755fa464d66e6fe8a192233e3720c6d4cc69d9d1

Viele Grüße