VC x64

VC x64

Postby aker » 19.11.2011, 16:16

Warum wird bei der Kommandozeile
Code: Select all
DownloadUpdates wxp deu /includedotnet /includewddefs /nocleanup /exitonerror /skipiso

CPP x64 heruntergeladen, wie das log
Code: Select all
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist_x64.EXE to vcredist2005_x64.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist_x64.exe to vcredist2008_x64.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist_x64.exe to vcredist2010_x64.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist2005_x86.exe to vcredist_x86.EXE
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist_x86.EXE to vcredist2005_x86.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist2008_x86.exe to vcredist_x86.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist_x86.exe to vcredist2008_x86.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist2010_x86.exe to vcredist_x86.exe
19.11.2011 16:10:21,28 - Info: Renamed file ..\client\cpp\vcredist_x86.exe to vcredist2010_x86.exe

und ein Ausschnitt aus der CMD
Code: Select all

Downloading/validating installation files for C++ Runtime Libraries...
Renaming file ..\client\cpp\vcredist2005_x64.exe to vcredist_x64.EXE...
--2011-11-19 16:15:04--  http://download.microsoft.com/download/8/B/4/8B42259F-5
D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE
Resolving download.microsoft.com... 198.78.197.254, 199.93.59.126, 8.27.10.125
Connecting to download.microsoft.com|198.78.197.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3175832 (3.0M) [application/octet-stream]
Server file no newer than local file `../client/cpp/vcredist_x64.EXE' -- not ret
rieving.

Renaming file ..\client\cpp\vcredist_x64.EXE to vcredist2005_x64.exe...
Renaming file ..\client\cpp\vcredist2008_x64.exe to vcredist_x64.exe...
--2011-11-19 16:15:04--  http://download.microsoft.com/download/5/D/8/5D8C65CB-C
849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe
Resolving download.microsoft.com... 198.78.197.254, 199.93.59.126, 8.27.10.125
Connecting to download.microsoft.com|198.78.197.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5207896 (5.0M) [application/octet-stream]
Server file no newer than local file `../client/cpp/vcredist_x64.exe' -- not ret
rieving.

Renaming file ..\client\cpp\vcredist_x64.exe to vcredist2008_x64.exe...
Renaming file ..\client\cpp\vcredist2010_x64.exe to vcredist_x64.exe...
--2011-11-19 16:15:04--  http://download.microsoft.com/download/1/6/5/165255E7-1
014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe
Resolving download.microsoft.com... 198.78.197.254, 199.93.59.126, 8.27.10.125
Connecting to download.microsoft.com|198.78.197.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10274136 (9.8M) [application/octet-stream]
Server file no newer than local file `../client/cpp/vcredist_x64.exe' -- not ret
rieving.

zeigen.
Dabei handelt es sich bei "wxp deu" doch um ein reines x86 System?

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: VC x64

Postby harry » 19.11.2011, 16:56

So wie ich es sehe, hält es die Programmlogik in ...\cmd\DownloadUpdates.cmd einfacher.
Auf x64-Systemen werden häufig sowohl die x86- als auch die x64-Runtime-Versionen gebraucht.
Viele Benutzer von WSUSOU werden das Tool auch für mehrere Windows-Versionen (x86 und/oder x64) einsetzen.

Meiner Meinung nach sollten die ~17,8 MB verschmerzbar sein.

Gruß, harry
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: VC x64

Postby aker » 19.11.2011, 17:07

Klar, die paar MB sind egal, aber ich dachte es liefe über einen
Code: Select all
wget -i ..\static\StaticDownloadLinks-cpp-x86.txt -P ..\client\cpp

Befehl.
Dann wäre es ein Bug gewesen.
Mal sehen ob ich für mich einen Workaround basteln kann.

Viele Grüsse
Last edited by harry on 19.11.2011, 17:43, edited 1 time in total.
Reason: split edit
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: VC x64

Postby harry » 19.11.2011, 17:29

aker wrote:...aber ich dachte es liefe über einen
Code: Select all
wget -i ..\static\StaticDownloadLinks-cpp-x86.txt -P ..\client\cpp

Befehl.

So einfach ist es leider nicht, weil die entsprechenden Dateien bei MS alle gleich heißen und deshalb umbenannt werden müssen.
StaticDownloadLinks-cpp-x86-glb.txt:
Code: Select all
http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE,vcredist2005_x86.exe
http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe,vcredist2008_x86.exe
http://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe,vcredist2010_x86.exe

StaticDownloadLinks-cpp-x64-glb.txt:
Code: Select all
http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE,vcredist2005_x64.exe
http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe,vcredist2008_x64.exe
http://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe,vcredist2010_x64.exe
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: VC x64

Postby aker » 19.11.2011, 17:39

wenn es jemanden interressiert, hier eine Modifikation, die die Downloads beschränkt
Code: Select all
echo Downloading/validating installation files for C++ Runtime Libraries...
+if "%TARGET_ARCH%"=="x64" (
+   set cppdownload=x64 x86
+) else (
+   set cppdownload=x86
+)
-for %%i in (x64 x86) do (
+for %%i in (%cppdownload%) do (

und
Code: Select all
  )
)
+set cppdownload=
:SkipCPP


Viele Grüsse
Last edited by aker on 19.11.2011, 18:12, edited 1 time in total.
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: VC x64

Postby harry » 19.11.2011, 17:49

Ich hab's jetzt nicht getestet, aber es sieht nicht so aus, als ob die vorgeschlagene Änderung bei eingeschalteter Verifikation (und Download für verschiedene Win-Versionen) läuft.
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: VC x64

Postby aker » 19.11.2011, 18:07

Finde ich nicht. Bei der Verifizierung werden die Signaturen geprüft und eine Prüfsummendatenbank angelegt. Ob die jetzt für x64 und x86 existiert oder nur für x86, spielt doch keine Rolle.
Probieren geht über studieren, ich probiers gleich mal aus.
Aber mit der Verifikation hab ich mich noch nicht beschäftigt, das müsste jedoch zu schaffen sein.

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: VC x64

Postby aker » 19.11.2011, 18:56

Ich habe es jetzt mal mit Verifizierung probiert, läuft super.
Als nächstes teste ich es mit WXP DEU und W61-X64 GLB.

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: VC x64

Postby aker » 20.11.2011, 13:25

Klappt bei mir super mit "wxp deu" und "w61-x64 glb".
Die Hashdeep-Datenbank wird automatisch erweitert.

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: VC x64

Postby WSUSUpdateAdmin » 20.11.2011, 19:04

Moin!

Das ist eine gute Idee und eine gute Lösung. :)
:arrow: http://trac.wsusoffline.net/browser/trunk (r313).

Danke & Gruß
Torsten
Last edited by aker on 28.07.2013, 19:05, edited 1 time in total.
Reason: Trac URL aktualisiert
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Next

Return to Download

Who is online

Users browsing this forum: No registered users and 201 guests

cron