Fehler mit InstallCustomSoftware.cmd und TouchMSITree.cmd

Fehler mit InstallCustomSoftware.cmd und TouchMSITree.cmd

Postby rbr555 » 29.06.2021, 09:55

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
rbr555
 
Posts: 22
Joined: 04.01.2013, 12:00

Re: Fehler mit InstallCustomSoftware.cmd und TouchMSITree.cm

Postby aker » 01.07.2021, 18:34

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
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

Users browsing this forum: Google [Bot] and 57 guests