Problem bei Client update Win7

Re: Problem bei Client update Win7

Postby Denniss » 30.05.2011, 13:37

Auch bei einem englischen Ultimate 32 Bit das gleiche Problem: Servicepack wird mit der normalen Funktion sauber installiert. Beim installieren der Updates wird aber erneut eine Installation versucht. Bei der Ermittlung der OS- und SP-Nummer wird es korrekt angezeigt.
Ich kann nur vermuten das das SP1 nicht als bereits installiertes Update erkannt wird oder aber es fehlt irgendwo ein Eintrag in eine Exclude-Liste.

EDIT: Ein bei mir funktionierender quick-and-dirty-fix ist die Aufnahme des 976932 in die \client\exclude\excludeList.txt - diese Liste beeinflusst scheinbar nur die mittels der normalen Installationsroutine installierten Updates, nicht aber Servicepacks.
Denniss
 
Posts: 869
Joined: 01.08.2009, 10:51

Re: Problem bei Client update Win7

Postby WSUSUpdateAdmin » 30.05.2011, 14:19

Danke, hab' ich (erstmal) aufgenommen ( :arrow: http://trac.wsusoffline.net/browser/trunk (r253)).
GTW
Last edited by aker on 28.07.2013, 18:55, edited 1 time in total.
Reason: Trac Link aktualisiert
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Problem bei Client update Win7

Postby aker » 30.05.2011, 15:09

Wenn das Log mit den deaktivierten @echo off Zeilen da ist kann man den Fehler noch mal genauer untersuchen.
Werde das ganze mal mit r251 testen.
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

Re: Problem bei Client update Win7

Postby newbie32 » 30.05.2011, 18:55

Hi,
so habe die modifikation runtergeladen, nur irgentwie wird keine log datei im verzeichnis abgelegt .

???

vielleicht habe ich da auch etwas etwas falsch gemacht nur mir fehlt auch gerade die zeit, ich schau mir das heute abend noch mal an, oder morgenabend nach der Arbeit.


Grüße newbie
newbie32
 

Re: Problem bei Client update Win7

Postby -Iwan- » 30.05.2011, 20:09

WSUSOU v6.8.4 r253, Win7 Prof. 32bit, noch nicht aktiviert
SP1 Installation ist nach 8 MInuten abgeschlossen, anschliessend Neustart
erneuter Aufruf von WSUSOU hat das SP1 nicht wieder installieren wollen
-Iwan-
 
Posts: 364
Joined: 02.11.2009, 17:49
Location: NRW, Germany

Re: Problem bei Client update Win7

Postby newbie32 » 30.05.2011, 23:14

So habe heute doch noch etwas Zeit gefunden.

Es ist Jetzt nur Win7 64 bit auf dem Testrechner
SP1 und IE 9 sind vom WSUSOU installiert worden, danach ein Reboot, dann WSUSOU neu gestartet und weiter installieren lassen, dabei ist dann eine Logdatei entstanden und es gab auch wieder bei dem durchlauf die Fehlermeldung siehe Screenshot aus Beitrag 1. Die Datei ist aber zu groß um sie in diesem Beitrag zu posten, deshalb habe ich den Testrechner nochmal neu gestartet und WSUSOU nochmal durchlaufen lassen und siehe da wieder die Fehlermeldung aber die Logdatei ist kleiner da nicht mehr soviel installiert werden mußte.

Die neue Logdatei passt aber leider noch immer nicht in den beitrag, ich wußte mir gerade nicht anders zu helfen als sie bei rapidshare upzuloaden.

https://rapidshare.com/files/2555546712/wsusou.txt

Grüße newbie
newbie32
 

Re: Problem bei Client update Win7

Postby WSUSUpdateAdmin » 31.05.2011, 13:02

Scheint ein Bug in Microsofts Katalog zu sein:

Code: Select all
31.05.2011 12:20:54,41 - Info: Starting WSUS Offline Update (v. 6.8.4+ (r253)) on XX-XXXX (user: Administrator)
31.05.2011 12:20:54,41 - Info: Option /updatedx detected
31.05.2011 12:20:54,42 - Info: Option /verify detected
31.05.2011 12:20:54,42 - Info: Option /autoreboot detected
31.05.2011 12:20:54,44 - Info: Option /showlog detected
31.05.2011 12:20:57,44 - Info: Found OS caption 'Microsoft Windows 7 Enterprise '
31.05.2011 12:20:57,44 - Info: Found Microsoft Windows version 6.1.7601 (w61 x64 deu sp1)
31.05.2011 12:20:57,44 - Info: Found Windows Update Agent version 7.5.7601.17514
31.05.2011 12:20:57,44 - Info: Found Windows Installer version 5.0.7601.17514
31.05.2011 12:20:57,44 - Info: Found Windows Script Host version 5.8.7601.17514
31.05.2011 12:20:57,44 - Info: Found Internet Explorer version 8.0.7601.17514
31.05.2011 12:20:57,44 - Info: Found Microsoft Data Access Components version 6.1.7601.17514
31.05.2011 12:20:57,44 - Info: Found Microsoft DirectX main version 
31.05.2011 12:20:57,44 - Info: Found Microsoft DirectX core version 9.0c (4.09.00.0904)
31.05.2011 12:20:57,44 - Info: Found Windows Media Player version 12.0.7601.17514
31.05.2011 12:20:57,44 - Info: Found Terminal Services Client version 6.1.7601.17514
31.05.2011 12:20:57,44 - Info: Found Microsoft .NET Framework 3.5 version 3.5.30729.5420
31.05.2011 12:20:57,44 - Info: Found Microsoft .NET Framework 4 version 0.0.0
31.05.2011 12:20:57,45 - Info: Found Microsoft Security Essentials definitions version 0.0.0.0
31.05.2011 12:20:57,45 - Info: Found Windows Defender definitions version 1.69.725.0
31.05.2011 12:20:57,45 - Info: Found Windows PowerShell version 2.0
31.05.2011 12:20:57,45 - Info: Medium build date: 30.05.2011
31.05.2011 12:20:57,45 - Info: Medium supports Microsoft Windows (w61-x64 glb)
31.05.2011 12:20:57,49 - Info: Installed ..\win\glb\directx_Jun2010_redist.exe
31.05.2011 12:24:09,56 - Info: Installed ..\wddefs\x64-glb\mpas-feX64.exe
31.05.2011 12:24:09,56 - Info: Detected state of service 'automatic updates': Running (start mode: Auto)
31.05.2011 12:25:12,36 - Info: Skipped update KB890830 due to matching black list entry
31.05.2011 12:25:12,36 - Info: Skipped update KB976932 due to matching black list entry
31.05.2011 12:25:30,88 - Info: Installed ..\w61-x64\glb\windows6.1-kb2425227-x64_129a933b7782669a1ed6207f72050c9ae294f728.cab
31.05.2011 12:25:46,56 - Info: Installed ..\w61-x64\glb\windows6.1-kb2479943-x64_5f7466309ee6a343cf69bd88d29de4029d3647ce.cab
31.05.2011 12:25:58,56 - Info: Installed ..\w61-x64\glb\windows6.1-kb2508429-x64_4728219cedc4a3c80dfb7e46106f48dc766a45cf.cab
31.05.2011 12:26:14,94 - Info: Installed ..\w61-x64\glb\windows6.1-kb2506212-x64_68431032794b007090bed18fc1adfc349f717375.cab
31.05.2011 12:26:29,03 - Info: Installed ..\w61-x64\glb\windows6.1-kb2506223-x64_4e968762c55cda1667b6f17d9c4410d4321398be.cab
31.05.2011 12:26:45,53 - Info: Installed ..\w61-x64\glb\windows6.1-kb2511455-x64_ecfb3fe8e2378fe6f613d723cff6f97ea6798d90.cab
31.05.2011 12:27:00,35 - Info: Installed ..\w61-x64\glb\windows6.1-kb2491683-x64_ab7326434d6b1ba8f04b4f53f82fd85a64912f6a.cab
31.05.2011 12:27:10,75 - Info: Installed ..\w61-x64\glb\windows6.1-kb2503658-x64_f223c4376f164437b0df70a89926383648ad25b6.cab
31.05.2011 12:27:18,00 - Info: Installed ..\w61-x64\glb\windows6.1-kb2508272-x64_52c5e1b04a6ff5a8babfdf26699216f170d27d5d.cab
31.05.2011 12:30:03,05 - Info: Installed ..\w61-x64\glb\windows6.1-kb2497640-x64_53b6d125df5529c25e665d0ef3b0a889a49fffdb.cab
31.05.2011 12:30:55,66 - Info: Installed ..\w61-x64\glb\windows6.1-kb2507618-x64_8c21e98dfa8f77c40152e8f5d392c5278a7a7c8e.cab
31.05.2011 12:32:03,38 - Info: Installed ..\w61-x64\glb\windows6.1-kb2446710-x64_5e37026d82a480aad8887746c1520ee5f506e5a6.cab
31.05.2011 12:32:42,37 - Info: Installed ..\w61-x64\glb\windows6.1-kb2510531-x64_41771af19d2eef103c7d3226912ca05ed142d18a.cab
31.05.2011 12:33:09,14 - Info: Installed ..\w61-x64\glb\windows6.1-kb2509553-x64_bcfe608b4d9e514ba1dc24a9e9dd6d45016ed3e5.cab
31.05.2011 12:33:09,17 - Info: Installed 14 updates
31.05.2011 12:33:10,20 - Info: Registered log file display
31.05.2011 12:33:09,17 - Info: Adjusted boot sequence for next reboot
31.05.2011 12:33:11,95 - Info: Ending WSUS Offline Update


Es wird also KB976932 angefordert, obwohl SP1 installiert ist.

GTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Problem bei Client update Win7

Postby aker » 31.05.2011, 14:24

@newbie32
Danke für das Log :D

@WSUSUpdateAdmin
Ich weiß nicht, ob sich die excludelist nicht auch auf die SP's auswirkt.
Mein Vorschlag wäre eine Änderung der installosupdate.cmd, die wie folgt lautet
Code: Select all
:InstExe
+if not "%1"=="..\w61-x64\glb\windows6.1-KB976932-X64.exe" if not "%1"=="..\w61\glb\windows6.1-KB976932-X86.exe" (
+   if "%SELECT_OPTIONS%" NEQ "1" set INSTALL_SWITCHES=%2 %3 %4 %5 %6 %7 %8 %9
+   if "%INSTALL_SWITCHES%"=="" (
+   for /F %%i in (..\opt\OptionList-Q.txt) do (
+      echo %1 | %SystemRoot%\system32\find.exe /I "%%i" >nul 2>&1
+      if not errorlevel 1 set INSTALL_SWITCHES=/Q
+   )
+   )
+   if "%INSTALL_SWITCHES%"=="" (
+   for /F %%i in (..\opt\OptionList-qn.txt) do (
+      echo %1 | %SystemRoot%\system32\find.exe /I "%%i" >nul 2>&1
+      if not errorlevel 1 set INSTALL_SWITCHES=/q /norestart
+   )
+   )
+   if "%INSTALL_SWITCHES%"=="" (
+   if "%BACKUP_FILES%"=="0" (set INSTALL_SWITCHES=/q /n /z) else (set INSTALL_SWITCHES=/q /z)
+   )
+   echo Installing %1...
+   %1 %INSTALL_SWITCHES%
+   set ERR_LEVEL=%errorlevel%
+   if "%IGNORE_ERRORS%"=="1" goto InstSuccess
+   for %%i in (0 1641 3010 3011) do if %ERR_LEVEL% EQU %%i goto InstSuccess
+   goto InstFailure
+) else (
+   if "%OS_VER_REVIS%"=="7601" (
+      goto SkipSSP
+   ) else (
      if "%SELECT_OPTIONS%" NEQ "1" set INSTALL_SWITCHES=%2 %3 %4 %5 %6 %7 %8 %9
      if "%INSTALL_SWITCHES%"=="" (
      for /F %%i in (..\opt\OptionList-Q.txt) do (
         echo %1 | %SystemRoot%\system32\find.exe /I "%%i" >nul 2>&1
         if not errorlevel 1 set INSTALL_SWITCHES=/Q
      )
      )
      if "%INSTALL_SWITCHES%"=="" (
      for /F %%i in (..\opt\OptionList-qn.txt) do (
         echo %1 | %SystemRoot%\system32\find.exe /I "%%i" >nul 2>&1
         if not errorlevel 1 set INSTALL_SWITCHES=/q /norestart
      )
      )
      if "%INSTALL_SWITCHES%"=="" (
      if "%BACKUP_FILES%"=="0" (set INSTALL_SWITCHES=/q /n /z) else (set INSTALL_SWITCHES=/q /z)
      )
      echo Installing %1...
      %1 %INSTALL_SWITCHES%
      set ERR_LEVEL=%errorlevel%
      if "%IGNORE_ERRORS%"=="1" goto InstSuccess
      for %%i in (0 1641 3010 3011) do if %ERR_LEVEL% EQU %%i goto InstSuccess
      goto InstFailure
   )
+)
===================================================================================================================================
:InstError
echo ERROR: Installation of %1 failed (errorlevel: %ERR_LEVEL%).
echo %DATE% %TIME% - Error: Installation of %1 %INSTALL_SWITCHES% failed (errorlevel: %ERR_LEVEL%) >>%UPDATE_LOGFILE%
goto Error

+:SkipSSP
+echo Skipping double installation of Windows 7 Service Pack 1.
+echo %DATE% %TIME% - Skipping double installation of Windows 7 Service Pack 1. >>%UPDATE_LOGFILE%
+goto EoF

:Error
endlocal
exit /b 1


Bin mir sicher, dass das noch besser geht, hab aber gerade keine Zeit darüber nachzudenken. Vieleicht morgen...

Viele Grüsse
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

Re: Problem bei Client update Win7

Postby WSUSUpdateAdmin » 31.05.2011, 15:45

aker wrote:Ich weiß nicht, ob sich die excludelist nicht auch auf die SP's auswirkt.

Aber ich weiß es.
Ich habe die Software geschrieben...

aker wrote:Mein Vorschlag wäre eine Änderung der installosupdate.cmd, die wie folgt lautet[...]

Das ist nicht nötig (siehe Protokoll oben).

GTW
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Problem bei Client update Win7

Postby Denniss » 31.05.2011, 15:58

Ist alles schon sehr seltsam - 976932 steht in der von WOU generierten InstalledUpdateIds.txt drin, sollte das nicht einen erneuten Installationsversuch verhindern?
Denniss
 
Posts: 869
Joined: 01.08.2009, 10:51

PreviousNext

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 49 guests