Advertisement
Guest User

Untitled

a guest
Jan 21st, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.84 KB | None | 0 0
  1.  
  2. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  3.  
  4. Z:\client\cmd>verify other 2>nul
  5.  
  6. Z:\client\cmd>setlocal enableextensions
  7.  
  8. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  9.  
  10. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  11.  
  12. Z:\client\cmd>cd /D "Z:\client\cmd\"
  13.  
  14. Z:\client\cmd>set WSUSOFFLINE_VERSION=8.9
  15.  
  16. Z:\client\cmd>echo Starting WSUS Offline Update (v. 8.9) at 9:06:13.61...
  17. Starting WSUS Offline Update (v. 8.9) at 9:06:13.61...
  18.  
  19. Z:\client\cmd>set UPDATE_LOGFILE=z:\log\58931WinXP.txt
  20.  
  21. Z:\client\cmd>rem *** Execute custom initialization hook ***
  22.  
  23. Z:\client\cmd>if exist .\custom\InitializationHook.cmd (
  24. echo Executing custom initialization hook...
  25. pushd .\custom
  26. call InitializationHook.cmd
  27. popd
  28. echo 21/01/2014 9:06:13.63 - Info: Executed custom initialization hook (Errorlevel: 0) 1>>z:\log\58931WinXP.txt
  29. ) else (if exist z:\log\58931WinXP.txt echo.1>>z:\log\58931WinXP.txt )
  30. Executing custom initialization hook...
  31.  
  32. Z:\client\cmd\custom>echo Starting WSUS Offline Update (v. 8.9) at 9:06:13.66...
  33. Starting WSUS Offline Update (v. 8.9) at 9:06:13.66...
  34.  
  35. Z:\client\cmd>echo 21/01/2014 9:06:13.72 - Info: Starting WSUS Offline Update (v. 8.9) 1>>z:\log\58931WinXP.txt
  36.  
  37. Z:\client\cmd>echo 21/01/2014 9:06:13.72 - Info: Used path "Z:\client\cmd\" on 58931WinXP (user: administrator) 1>>z:\log\58931WinXP.txt
  38.  
  39. Z:\client\cmd>if "" == "" goto NoMoreParams
  40.  
  41. Z:\client\cmd>if "C:\TEMP" == "" goto NoTemp
  42.  
  43. Z:\client\cmd>pushd "C:\TEMP"
  44.  
  45. C:\Temp>if errorlevel 1 goto NoTempDir
  46.  
  47. C:\Temp>popd
  48.  
  49. Z:\client\cmd>set CSCRIPT_PATH=C:\WINDOWS\System32\cscript.exe
  50.  
  51. Z:\client\cmd>if not exist C:\WINDOWS\System32\cscript.exe goto NoCScript
  52.  
  53. Z:\client\cmd>set REG_PATH=C:\WINDOWS\System32\reg.exe
  54.  
  55. Z:\client\cmd>if not exist C:\WINDOWS\System32\reg.exe goto NoReg
  56.  
  57. Z:\client\cmd>rem *** Check user's privileges ***
  58.  
  59. Z:\client\cmd>echo Checking user's privileges...
  60. Checking user's privileges...
  61.  
  62. Z:\client\cmd>if not exist ..\bin\IfAdmin.exe goto NoIfAdmin
  63.  
  64. Z:\client\cmd>..\bin\IfAdmin.exe
  65.  
  66. Z:\client\cmd>if not errorlevel 1 goto NoAdmin
  67.  
  68. Z:\client\cmd>rem *** Determine system's properties ***
  69.  
  70. Z:\client\cmd>echo Determining system's properties...
  71. Determining system's properties...
  72.  
  73. Z:\client\cmd>C:\WINDOWS\System32\cscript.exe //Nologo //B //E:vbs DetermineSystemProperties.vbs
  74.  
  75. Z:\client\cmd>if errorlevel 1 goto NoSysEnvVars
  76.  
  77. Z:\client\cmd>if not exist "C:\TEMP\SetSystemEnvVars.cmd" goto NoSysEnvVars
  78.  
  79. Z:\client\cmd>rem *** Set environment variables for system's properties ***
  80.  
  81. Z:\client\cmd>call "C:\TEMP\SetSystemEnvVars.cmd"
  82.  
  83. Z:\client\cmd>set OS_VER_MAJOR=5
  84.  
  85. Z:\client\cmd>set OS_VER_MINOR=1
  86.  
  87. Z:\client\cmd>set OS_VER_BUILD=2600
  88.  
  89. Z:\client\cmd>set OS_VER_REVIS=0
  90.  
  91. Z:\client\cmd>set OS_SP_VER_MAJOR=3
  92.  
  93. Z:\client\cmd>set OS_SP_VER_MINOR=0
  94.  
  95. Z:\client\cmd>set OS_LANG_CODE=0x409
  96.  
  97. Z:\client\cmd>set OS_LANG=enu
  98.  
  99. Z:\client\cmd>set OS_LANG_SHORT=en
  100.  
  101. Z:\client\cmd>set OS_LANG_EXT=en-us
  102.  
  103. Z:\client\cmd>set SystemDirectory=C:\WINDOWS\system32
  104.  
  105. Z:\client\cmd>set OS_ARCH=x86
  106.  
  107. Z:\client\cmd>set OS_DOMAIN_ROLE=1
  108.  
  109. Z:\client\cmd>set FS_TYPE=NTFS
  110.  
  111. Z:\client\cmd>set PWR_POL_IDX=0
  112.  
  113. Z:\client\cmd>set WUA_VER_MAJOR=7
  114.  
  115. Z:\client\cmd>set WUA_VER_MINOR=4
  116.  
  117. Z:\client\cmd>set WUA_VER_BUILD=7600
  118.  
  119. Z:\client\cmd>set WUA_VER_REVIS=226
  120.  
  121. Z:\client\cmd>set MSI_VER_MAJOR=4
  122.  
  123. Z:\client\cmd>set MSI_VER_MINOR=5
  124.  
  125. Z:\client\cmd>set MSI_VER_BUILD=6001
  126.  
  127. Z:\client\cmd>set MSI_VER_REVIS=22159
  128.  
  129. Z:\client\cmd>set WSH_VER_MAJOR=5
  130.  
  131. Z:\client\cmd>set WSH_VER_MINOR=7
  132.  
  133. Z:\client\cmd>set WSH_VER_BUILD=6002
  134.  
  135. Z:\client\cmd>set WSH_VER_REVIS=22589
  136.  
  137. Z:\client\cmd>set IE_VER_MAJOR=7
  138.  
  139. Z:\client\cmd>set IE_VER_MINOR=0
  140.  
  141. Z:\client\cmd>set IE_VER_BUILD=5730
  142.  
  143. Z:\client\cmd>set IE_VER_REVIS=13
  144.  
  145. Z:\client\cmd>set MDAC_VER_MAJOR=2
  146.  
  147. Z:\client\cmd>set MDAC_VER_MINOR=81
  148.  
  149. Z:\client\cmd>set MDAC_VER_BUILD=1132
  150.  
  151. Z:\client\cmd>set MDAC_VER_REVIS=0
  152.  
  153. Z:\client\cmd>set DX_CORE_VER_MAJOR=4
  154.  
  155. Z:\client\cmd>set DX_CORE_VER_MINOR=09
  156.  
  157. Z:\client\cmd>set DX_CORE_VER_BUILD=00
  158.  
  159. Z:\client\cmd>set DX_CORE_VER_REVIS=0904
  160.  
  161. Z:\client\cmd>set DX_NAME=9.0c
  162.  
  163. Z:\client\cmd>set MSSL_VER_MAJOR=0
  164.  
  165. Z:\client\cmd>set MSSL_VER_MINOR=0
  166.  
  167. Z:\client\cmd>set MSSL_VER_BUILD=0
  168.  
  169. Z:\client\cmd>set MSSL_VER_REVIS=0
  170.  
  171. Z:\client\cmd>set DOTNET35_VER_MAJOR=3
  172.  
  173. Z:\client\cmd>set DOTNET35_VER_MINOR=5
  174.  
  175. Z:\client\cmd>set DOTNET35_VER_BUILD=30729
  176.  
  177. Z:\client\cmd>set DOTNET35_VER_REVIS=01
  178.  
  179. Z:\client\cmd>set DOTNET4_VER_MAJOR=0
  180.  
  181. Z:\client\cmd>set DOTNET4_VER_MINOR=0
  182.  
  183. Z:\client\cmd>set DOTNET4_VER_BUILD=0
  184.  
  185. Z:\client\cmd>set DOTNET4_VER_REVIS=0
  186.  
  187. Z:\client\cmd>set PSH_VER_MAJOR=0
  188.  
  189. Z:\client\cmd>set PSH_VER_MINOR=0
  190.  
  191. Z:\client\cmd>set PSH_VER_BUILD=0
  192.  
  193. Z:\client\cmd>set PSH_VER_REVIS=0
  194.  
  195. Z:\client\cmd>set WMF_VER_MAJOR=0
  196.  
  197. Z:\client\cmd>set WMF_VER_MINOR=0
  198.  
  199. Z:\client\cmd>set WMF_VER_BUILD=0
  200.  
  201. Z:\client\cmd>set WMF_VER_REVIS=0
  202.  
  203. Z:\client\cmd>set MSSE_INSTALLED=0
  204.  
  205. Z:\client\cmd>set MSSE_VER_MAJOR=0
  206.  
  207. Z:\client\cmd>set MSSE_VER_MINOR=0
  208.  
  209. Z:\client\cmd>set MSSE_VER_BUILD=0
  210.  
  211. Z:\client\cmd>set MSSE_VER_REVIS=0
  212.  
  213. Z:\client\cmd>set MSSEDEFS_VER_MAJOR=0
  214.  
  215. Z:\client\cmd>set MSSEDEFS_VER_MINOR=0
  216.  
  217. Z:\client\cmd>set MSSEDEFS_VER_BUILD=0
  218.  
  219. Z:\client\cmd>set MSSEDEFS_VER_REVIS=0
  220.  
  221. Z:\client\cmd>set NISDEFS_VER_MAJOR=0
  222.  
  223. Z:\client\cmd>set NISDEFS_VER_MINOR=0
  224.  
  225. Z:\client\cmd>set NISDEFS_VER_BUILD=0
  226.  
  227. Z:\client\cmd>set NISDEFS_VER_REVIS=0
  228.  
  229. Z:\client\cmd>set WD_INSTALLED=0
  230.  
  231. Z:\client\cmd>set WD_DISABLED=
  232.  
  233. Z:\client\cmd>set WDDEFS_VER_MAJOR=0
  234.  
  235. Z:\client\cmd>set WDDEFS_VER_MINOR=0
  236.  
  237. Z:\client\cmd>set WDDEFS_VER_BUILD=0
  238.  
  239. Z:\client\cmd>set WDDEFS_VER_REVIS=0
  240.  
  241. Z:\client\cmd>set TRCERTS_VER_MAJOR=38
  242.  
  243. Z:\client\cmd>set TRCERTS_VER_MINOR=0
  244.  
  245. Z:\client\cmd>set TRCERTS_VER_BUILD=2195
  246.  
  247. Z:\client\cmd>set TRCERTS_VER_REVIS=0
  248.  
  249. Z:\client\cmd>set RRCERTS_VER_MAJOR=3
  250.  
  251. Z:\client\cmd>set RRCERTS_VER_MINOR=0
  252.  
  253. Z:\client\cmd>set RRCERTS_VER_BUILD=2195
  254.  
  255. Z:\client\cmd>set RRCERTS_VER_REVIS=0
  256.  
  257. Z:\client\cmd>set TSC_VER_MAJOR=6
  258.  
  259. Z:\client\cmd>set TSC_VER_MINOR=0
  260.  
  261. Z:\client\cmd>set TSC_VER_BUILD=6001
  262.  
  263. Z:\client\cmd>set TSC_VER_REVIS=18589
  264.  
  265. Z:\client\cmd>set WMP_VER_MAJOR=9
  266.  
  267. Z:\client\cmd>set WMP_VER_MINOR=0
  268.  
  269. Z:\client\cmd>set WMP_VER_BUILD=0
  270.  
  271. Z:\client\cmd>set WMP_VER_REVIS=4510
  272.  
  273. Z:\client\cmd>set O2K3_VER_APP=Word
  274.  
  275. Z:\client\cmd>set O2K3_VER_MAJOR=11
  276.  
  277. Z:\client\cmd>set O2K3_VER_MINOR=0
  278.  
  279. Z:\client\cmd>set O2K3_VER_BUILD=8350
  280.  
  281. Z:\client\cmd>set O2K3_VER_REVIS=0
  282.  
  283. Z:\client\cmd>set O2K3_SP_VER=3
  284.  
  285. Z:\client\cmd>set O2K3_ARCH=x86
  286.  
  287. Z:\client\cmd>set O2K3_LANG_CODE=0x409
  288.  
  289. Z:\client\cmd>set O2K3_LANG=enu
  290.  
  291. Z:\client\cmd>set O2K10_VER_APP=Outlook
  292.  
  293. Z:\client\cmd>set O2K10_VER_MAJOR=14
  294.  
  295. Z:\client\cmd>set O2K10_VER_MINOR=0
  296.  
  297. Z:\client\cmd>set O2K10_VER_BUILD=7012
  298.  
  299. Z:\client\cmd>set O2K10_VER_REVIS=1000
  300.  
  301. Z:\client\cmd>set O2K10_SP_VER=2
  302.  
  303. Z:\client\cmd>set O2K10_ARCH=x86
  304.  
  305. Z:\client\cmd>set O2K10_LANG_CODE=0x409
  306.  
  307. Z:\client\cmd>set O2K10_LANG=enu
  308.  
  309. Z:\client\cmd>del "C:\TEMP\SetSystemEnvVars.cmd"
  310.  
  311. Z:\client\cmd>if "C:\WINDOWS\system32" == "" set SystemDirectory=C:\WINDOWS\system32
  312.  
  313. Z:\client\cmd>if "x86" == "" (if /I "x86" == "AMD64" (set OS_ARCH=x64 ) else (if /I "" == "AMD64" (set OS_ARCH=x64 ) else (set OS_ARCH=x86 ) ) )
  314.  
  315. Z:\client\cmd>if "enu" == "" goto UnsupLang
  316.  
  317. Z:\client\cmd>if /I "x86" == "x64" (set HASHDEEP_PATH=..\bin\hashdeep64.exe ) else (set HASHDEEP_PATH=..\bin\hashdeep.exe )
  318.  
  319. Z:\client\cmd>rem *** Determine DirectX main version ***
  320.  
  321. Z:\client\cmd>if "" NEQ "/updatedx" goto NoDXDiag
  322.  
  323. Z:\client\cmd>rem *** Set target environment variables ***
  324.  
  325. Z:\client\cmd>call SetTargetEnvVars.cmd
  326.  
  327. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  328.  
  329. Z:\client\cmd>if "5" == "" goto NoOSVersion
  330.  
  331. Z:\client\cmd>set WUA_VER_TARGET_MAJOR=7
  332.  
  333. Z:\client\cmd>set WUA_VER_TARGET_MINOR=4
  334.  
  335. Z:\client\cmd>set WUA_VER_TARGET_BUILD=7600
  336.  
  337. Z:\client\cmd>set WUA_VER_TARGET_REVIS=226
  338.  
  339. Z:\client\cmd>set MSI_VER_TARGET_BUILD=0
  340.  
  341. Z:\client\cmd>set MSI_VER_TARGET_REVIS=0
  342.  
  343. Z:\client\cmd>set WSH_VER_TARGET_BUILD=0
  344.  
  345. Z:\client\cmd>set WSH_VER_TARGET_REVIS=0
  346.  
  347. Z:\client\cmd>set DX_CORE_VER_TARGET_MAJOR=4
  348.  
  349. Z:\client\cmd>set DX_CORE_VER_TARGET_MINOR=09
  350.  
  351. Z:\client\cmd>set DX_CORE_VER_TARGET_BUILD=00
  352.  
  353. Z:\client\cmd>set DX_CORE_VER_TARGET_REVIS=0904
  354.  
  355. Z:\client\cmd>set DX_DLL_LATEST=C:\WINDOWS\System32\D3DX9_43.dll
  356.  
  357. Z:\client\cmd>set IE_VER_TARGET_BUILD=0
  358.  
  359. Z:\client\cmd>set IE_VER_TARGET_REVIS=0
  360.  
  361. Z:\client\cmd>set WMP_VER_TARGET_MINOR=0
  362.  
  363. Z:\client\cmd>set WMP_VER_TARGET_BUILD=0
  364.  
  365. Z:\client\cmd>set WMP_VER_TARGET_REVIS=0
  366.  
  367. Z:\client\cmd>set TSC_VER_TARGET_BUILD=0
  368.  
  369. Z:\client\cmd>set TSC_VER_TARGET_REVIS=0
  370.  
  371. Z:\client\cmd>set DOTNET35_VER_TARGET_MAJOR=3
  372.  
  373. Z:\client\cmd>set DOTNET35_VER_TARGET_MINOR=5
  374.  
  375. Z:\client\cmd>set DOTNET35_VER_TARGET_BUILD=30729
  376.  
  377. Z:\client\cmd>set DOTNET35_VER_TARGET_REVIS=1
  378.  
  379. Z:\client\cmd>set DOTNET4_VER_TARGET_MAJOR=4
  380.  
  381. Z:\client\cmd>set DOTNET4_VER_TARGET_REVIS=0
  382.  
  383. Z:\client\cmd>set PSH_VER_TARGET_MAJOR=2
  384.  
  385. Z:\client\cmd>set PSH_VER_TARGET_MINOR=0
  386.  
  387. Z:\client\cmd>set PSH_TARGET_ID=968930
  388.  
  389. Z:\client\cmd>if 5 LSS 5 goto SetOfficeName
  390.  
  391. Z:\client\cmd>if 5 GTR 6 goto SetOfficeName
  392.  
  393. Z:\client\cmd>if 1 GTR 3 goto SetOfficeName
  394.  
  395. Z:\client\cmd>goto Windows5.1
  396.  
  397. Z:\client\cmd>rem *** Windows XP ***
  398.  
  399. Z:\client\cmd>set OS_NAME=wxp
  400.  
  401. Z:\client\cmd>set OS_SP_VER_TARGET_MAJOR=3
  402.  
  403. Z:\client\cmd>if 2 EQU 3 set OS_SP_PREREQ_ID=953356
  404.  
  405. Z:\client\cmd>set OS_SP_TARGET_ID=936929
  406.  
  407. Z:\client\cmd>set MSI_VER_TARGET_MAJOR=4
  408.  
  409. Z:\client\cmd>set MSI_VER_TARGET_MINOR=5
  410.  
  411. Z:\client\cmd>set MSI_TARGET_ID=942288
  412.  
  413. Z:\client\cmd>set WSH_VER_TARGET_MAJOR=5
  414.  
  415. Z:\client\cmd>set WSH_VER_TARGET_MINOR=7
  416.  
  417. Z:\client\cmd>if /I "" == "/instie8" (set IE_VER_TARGET_MAJOR=8 ) else (if /I "" == "/instie7" (set IE_VER_TARGET_MAJOR=7 ) else (set IE_VER_TARGET_MAJOR=6 ) )
  418.  
  419. Z:\client\cmd>set IE_VER_TARGET_MINOR=0
  420.  
  421. Z:\client\cmd>set DOTNET4_VER_TARGET_MINOR=0
  422.  
  423. Z:\client\cmd>set DOTNET4_VER_TARGET_BUILD=30319
  424.  
  425. Z:\client\cmd>set WMP_VER_TARGET_MAJOR=11
  426.  
  427. Z:\client\cmd>set WMP_TARGET_ID=wmp11-windowsxp-x86
  428.  
  429. Z:\client\cmd>set TSC_VER_TARGET_MAJOR=6
  430.  
  431. Z:\client\cmd>set TSC_VER_TARGET_MINOR=1
  432.  
  433. Z:\client\cmd>set TSC_TARGET_ID=969084
  434.  
  435. Z:\client\cmd>if exist "C:\TEMP\wou_ie_kbids.txt" del "C:\TEMP\wou_ie_kbids.txt"
  436.  
  437. Z:\client\cmd>for /F %i in ('dir /B /S ..\ie*-kb???????-*.exe') do (for /F "tokens=3 delims=-" %j in ("%~ni") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  438.  
  439. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("IE8-WindowsXP-KB2598845-x86-ENU") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  440.  
  441. Z:\client\cmd>echo KB2598845 1>>"C:\TEMP\wou_ie_kbids.txt"
  442.  
  443. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("IE8-WindowsXP-KB2632503-x86-ENU") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  444.  
  445. Z:\client\cmd>echo KB2632503 1>>"C:\TEMP\wou_ie_kbids.txt"
  446.  
  447. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie7-windowsserver2003-kb2898785-x86-enu_501efabeeca24e1b739634f4f48756fc2e14afe3") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  448.  
  449. Z:\client\cmd>echo kb2898785 1>>"C:\TEMP\wou_ie_kbids.txt"
  450.  
  451. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie8-windowsserver2003-kb2510531-x86-enu_4689ffd469a047c012f1aee1c6a05a8d4741af38") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  452.  
  453. Z:\client\cmd>echo kb2510531 1>>"C:\TEMP\wou_ie_kbids.txt"
  454.  
  455. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie8-windowsserver2003-kb2898785-x86-enu_514342e47a2a59a632c1f8a5805836a1976aad1d") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  456.  
  457. Z:\client\cmd>echo kb2898785 1>>"C:\TEMP\wou_ie_kbids.txt"
  458.  
  459. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie7-windowsserver2003.windowsxp-kb2898785-x64-enu_259f62241c092bad8af36c08f3ed43e65de5436b") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  460.  
  461. Z:\client\cmd>echo kb2898785 1>>"C:\TEMP\wou_ie_kbids.txt"
  462.  
  463. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie8-windowsserver2003.windowsxp-kb2706045-x64-enu_da6a7924fae2daf8abfe08db7155cddb709ccc41") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  464.  
  465. Z:\client\cmd>echo kb2706045 1>>"C:\TEMP\wou_ie_kbids.txt"
  466.  
  467. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie8-windowsserver2003.windowsxp-kb2898785-x64-enu_0807c08b2891ab7d9829df8f1f21abd1c7d0150a") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  468.  
  469. Z:\client\cmd>echo kb2898785 1>>"C:\TEMP\wou_ie_kbids.txt"
  470.  
  471. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie7-windowsxp-kb2898785-x86-enu_063bbbed952eda84e1e4652dccb460ef7ada0f0a") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  472.  
  473. Z:\client\cmd>echo kb2898785 1>>"C:\TEMP\wou_ie_kbids.txt"
  474.  
  475. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie8-windowsxp-kb2510531-x86-enu_d147ba2ed4f4528ecf8f0897990db53b46a230f3") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  476.  
  477. Z:\client\cmd>echo kb2510531 1>>"C:\TEMP\wou_ie_kbids.txt"
  478.  
  479. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("IE8-WindowsXP-KB2598845-x86-ENU") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  480.  
  481. Z:\client\cmd>echo KB2598845 1>>"C:\TEMP\wou_ie_kbids.txt"
  482.  
  483. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("IE8-WindowsXP-KB2632503-x86-ENU") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  484.  
  485. Z:\client\cmd>echo KB2632503 1>>"C:\TEMP\wou_ie_kbids.txt"
  486.  
  487. Z:\client\cmd>(for /F "tokens=3 delims=-" %j in ("ie8-windowsxp-kb2898785-x86-enu_40cb8d6ea8b6d6ba962394901892357e981aba7d") do echo %j 1>>"C:\TEMP\wou_ie_kbids.txt" )
  488.  
  489. Z:\client\cmd>echo kb2898785 1>>"C:\TEMP\wou_ie_kbids.txt"
  490.  
  491. Z:\client\cmd>if exist "C:\TEMP\wou_ie_kbids.txt" (for %i in ("C:\TEMP\wou_ie_kbids.txt") do (if %~zi == 0 del %i ) )
  492.  
  493. Z:\client\cmd>(if 143 == 0 del "C:\TEMP\wou_ie_kbids.txt" )
  494.  
  495. Z:\client\cmd>if exist "C:\TEMP\wou_ie_kbids.txt" (
  496. C:\WINDOWS\System32\sort.exe "C:\TEMP\wou_ie_kbids.txt" /O "C:\TEMP\wou_ie_kbids_sorted.txt"
  497. del "C:\TEMP\wou_ie_kbids.txt"
  498. for /F "usebackq" %i in ("C:\TEMP\wou_ie_kbids_sorted.txt") do (set WUSCN_PREREQ_ID=%i )
  499. del "C:\TEMP\wou_ie_kbids_sorted.txt"
  500. ) else (set WUSCN_PREREQ_ID=kb2898785 )
  501.  
  502. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2510531 )
  503.  
  504. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2510531 )
  505.  
  506. Z:\client\cmd>(set WUSCN_PREREQ_ID=KB2598845 )
  507.  
  508. Z:\client\cmd>(set WUSCN_PREREQ_ID=KB2598845 )
  509.  
  510. Z:\client\cmd>(set WUSCN_PREREQ_ID=KB2632503 )
  511.  
  512. Z:\client\cmd>(set WUSCN_PREREQ_ID=KB2632503 )
  513.  
  514. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2706045 )
  515.  
  516. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2898785 )
  517.  
  518. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2898785 )
  519.  
  520. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2898785 )
  521.  
  522. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2898785 )
  523.  
  524. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2898785 )
  525.  
  526. Z:\client\cmd>(set WUSCN_PREREQ_ID=kb2898785 )
  527.  
  528. Z:\client\cmd>if "kb2898785" NEQ "" set WUSCN_PREREQ_ID=2898785
  529.  
  530. Z:\client\cmd>set WOU_ENDLESS=4
  531.  
  532. Z:\client\cmd>goto SetOfficeName
  533.  
  534. Z:\client\cmd>if "11" == "" goto NoO2k3
  535.  
  536. Z:\client\cmd>rem *** Office 2003 ***
  537.  
  538. Z:\client\cmd>set OFC_NAME=o2k3
  539.  
  540. Z:\client\cmd>set OFC_ARCH=x86
  541.  
  542. Z:\client\cmd>set OFC_LANG=enu
  543.  
  544. Z:\client\cmd>set O2K3_SP_VER_TARGET=3
  545.  
  546. Z:\client\cmd>set O2K3_SP_TARGET_ID=923618
  547.  
  548. Z:\client\cmd>if "" == "" goto NoO2k7
  549.  
  550. Z:\client\cmd>if "14" == "" goto NoO2k10
  551.  
  552. Z:\client\cmd>rem *** Office 2010 ***
  553.  
  554. Z:\client\cmd>set OFC_NAME=o2k10
  555.  
  556. Z:\client\cmd>set OFC_ARCH=x86
  557.  
  558. Z:\client\cmd>set OFC_LANG=enu
  559.  
  560. Z:\client\cmd>set O2K10_SP_VER_TARGET=2
  561.  
  562. Z:\client\cmd>set O2K10_SP_TARGET_ID=2687455-fullfile-x86
  563.  
  564. Z:\client\cmd>if "" == "" goto NoO2k13
  565.  
  566. Z:\client\cmd>goto EoF
  567.  
  568. Z:\client\cmd>if errorlevel 1 goto Cleanup
  569.  
  570. Z:\client\cmd>rem *** Check number of automatic recalls ***
  571.  
  572. Z:\client\cmd>if "administrator" == "WOUTempAdmin" (
  573. echo Checking number of automatic recalls...
  574. if exist "C:\TEMP\wourecall.4" goto EndlessLoop
  575. if exist "C:\TEMP\wourecall.5" ren "C:\TEMP\wourecall.5" wourecall.6
  576. if exist "C:\TEMP\wourecall.4" ren "C:\TEMP\wourecall.4" wourecall.5
  577. if exist "C:\TEMP\wourecall.3" ren "C:\TEMP\wourecall.3" wourecall.4
  578. if exist "C:\TEMP\wourecall.2" ren "C:\TEMP\wourecall.2" wourecall.3
  579. if exist "C:\TEMP\wourecall.1" ren "C:\TEMP\wourecall.1" wourecall.2
  580. if not exist "C:\TEMP\wourecall.*" echo. 1>"C:\TEMP\wourecall.1"
  581. )
  582.  
  583. Z:\client\cmd>rem *** Check Operating System ***
  584.  
  585. Z:\client\cmd>if "wxp" == "" goto UnsupOS
  586.  
  587. Z:\client\cmd>if "wxp" == "w2k" goto UnsupOS
  588.  
  589. Z:\client\cmd>for %i in (x86 x64) do (if /I "x86" == "%i" goto ValidArch )
  590.  
  591. Z:\client\cmd>(if /I "x86" == "x86" goto ValidArch )
  592.  
  593. Z:\client\cmd>rem *** Adjust power management settings ***
  594.  
  595. Z:\client\cmd>if "administrator" NEQ "WOUTempAdmin" goto SkipPowerCfg
  596.  
  597. Z:\client\cmd>rem *** Determine Windows licensing info ***
  598.  
  599. Z:\client\cmd>if exist C:\WINDOWS\System32\slmgr.vbs (
  600. echo Determining Windows licensing info...
  601. C:\WINDOWS\System32\cscript.exe //Nologo //E:vbs C:\WINDOWS\System32\slmgr.vbs -dli 1>"C:\TEMP\slmgr-dli.txt"
  602. C:\WINDOWS\System32\findstr.exe /N ":" "C:\TEMP\slmgr-dli.txt" 1>"C:\TEMP\wou_slmgr.txt"
  603. del "C:\TEMP\slmgr-dli.txt"
  604. )
  605.  
  606. Z:\client\cmd>rem *** Echo OS properties ***
  607.  
  608. Z:\client\cmd>echo Found Microsoft Windows version: 5.1.2600 (wxp x86 enu sp3)
  609. Found Microsoft Windows version: 5.1.2600 (wxp x86 enu sp3)
  610.  
  611. Z:\client\cmd>if exist "C:\TEMP\wou_slmgr.txt" (
  612. echo Found Microsoft Windows Software Licensing Management Tool info...
  613. for /F "tokens=1* delims=:" %i in ('C:\WINDOWS\System32\findstr.exe /B /L "1: 2: 3: 4: 5: 6:" "C:\TEMP\wou_slmgr.txt"') do echo %j
  614. )
  615.  
  616. Z:\client\cmd>rem echo Found Windows Update Agent version: 7.4.7600.226
  617.  
  618. Z:\client\cmd>rem echo Found Windows Installer version: 4.5.6001.22159
  619.  
  620. Z:\client\cmd>rem echo Found Windows Script Host version: 5.7.6002.22589
  621.  
  622. Z:\client\cmd>rem echo Found Internet Explorer version: 7.0.5730.13
  623.  
  624. Z:\client\cmd>rem echo Found Trusted Root Certificates' version: 38.0.2195.0
  625.  
  626. Z:\client\cmd>rem echo Found Revoked Root Certificates' version: 3.0.2195.0
  627.  
  628. Z:\client\cmd>rem echo Found Microsoft Data Access Components version: 2.81.1132.0
  629.  
  630. Z:\client\cmd>rem if "" NEQ "" echo Found Microsoft DirectX main version:
  631.  
  632. Z:\client\cmd>rem echo Found Microsoft DirectX core version: 9.0c (4.09.00.0904)
  633.  
  634. Z:\client\cmd>rem echo Found Microsoft Silverlight version: 0.0.0.0
  635.  
  636. Z:\client\cmd>rem echo Found Windows Media Player version: 9.0.0.4510
  637.  
  638. Z:\client\cmd>rem echo Found Remote Desktop Client version: 6.0.6001.18589
  639.  
  640. Z:\client\cmd>rem echo Found Microsoft .NET Framework 3.5 version: 3.5.30729.01
  641.  
  642. Z:\client\cmd>rem echo Found Windows PowerShell version: 0.0
  643.  
  644. Z:\client\cmd>rem echo Found Microsoft .NET Framework 4 version: 0.0.0
  645.  
  646. Z:\client\cmd>rem echo Found Windows Management Framework version: 0.0
  647.  
  648. Z:\client\cmd>rem echo Found Microsoft Security Essentials version: 0.0.0.0
  649.  
  650. Z:\client\cmd>rem echo Found Microsoft Security Essentials definitions version: 0.0.0.0
  651.  
  652. Z:\client\cmd>rem echo Found Network Inspection System definitions version: 0.0.0.0
  653.  
  654. Z:\client\cmd>rem echo Found Windows Defender definitions version: 0.0.0.0
  655.  
  656. Z:\client\cmd>if "11" NEQ "" (echo Found Microsoft Office 2003 Word version: 11.0.8350.0 (o2k3 enu sp3) )
  657. Found Microsoft Office 2003 Word version: 11.0.8350.0 (o2k3 enu sp3)
  658.  
  659. Z:\client\cmd>if "" NEQ "" (echo Found Microsoft Office 2007 version: ... (o2k7 sp) )
  660.  
  661. Z:\client\cmd>if "14" NEQ "" (echo Found Microsoft Office 2010 Outlook version: 14.0.7012.1000 (o2k10 x86 enu sp2) )
  662. Found Microsoft Office 2010 Outlook version: 14.0.7012.1000 (o2k10 x86 enu sp2)
  663.  
  664. Z:\client\cmd>if "" NEQ "" (echo Found Microsoft Office 2013 version: ... (o2k13 sp) )
  665.  
  666. Z:\client\cmd>echo 21/01/2014 9:06:15.39 - Info: Found Microsoft Windows version 5.1.2600 (wxp x86 enu sp3) 1>>z:\log\58931WinXP.txt
  667.  
  668. Z:\client\cmd>if exist "C:\TEMP\wou_slmgr.txt" (
  669. echo 21/01/2014 9:06:15.39 - Info: Found Microsoft Windows Software Licensing Management Tool info... 1>>z:\log\58931WinXP.txt
  670. for /F "tokens=1* delims=:" %i in ('C:\WINDOWS\System32\findstr.exe /B /L "1: 2: 3: 4: 5: 6:" "C:\TEMP\wou_slmgr.txt"') do echo 21/01/2014 9:06:15.39 - Info: %j 1>>z:\log\58931WinXP.txt
  671. del "C:\TEMP\wou_slmgr.txt"
  672. )
  673.  
  674. Z:\client\cmd>echo 21/01/2014 9:06:15.41 - Info: Found Windows Update Agent version 7.4.7600.226 1>>z:\log\58931WinXP.txt
  675.  
  676. Z:\client\cmd>echo 21/01/2014 9:06:15.41 - Info: Found Windows Installer version 4.5.6001.22159 1>>z:\log\58931WinXP.txt
  677.  
  678. Z:\client\cmd>echo 21/01/2014 9:06:15.41 - Info: Found Windows Script Host version 5.7.6002.22589 1>>z:\log\58931WinXP.txt
  679.  
  680. Z:\client\cmd>echo 21/01/2014 9:06:15.42 - Info: Found Internet Explorer version 7.0.5730.13 1>>z:\log\58931WinXP.txt
  681.  
  682. Z:\client\cmd>echo 21/01/2014 9:06:15.42 - Info: Found Trusted Root Certificates' version 38.0.2195.0 1>>z:\log\58931WinXP.txt
  683.  
  684. Z:\client\cmd>echo 21/01/2014 9:06:15.44 - Info: Found Revoked Root Certificates' version 3.0.2195.0 1>>z:\log\58931WinXP.txt
  685.  
  686. Z:\client\cmd>echo 21/01/2014 9:06:15.44 - Info: Found Microsoft Data Access Components version 2.81.1132.0 1>>z:\log\58931WinXP.txt
  687.  
  688. Z:\client\cmd>if "" NEQ "" echo 21/01/2014 9:06:15.44 - Info: Found Microsoft DirectX main version 1>>z:\log\58931WinXP.txt
  689.  
  690. Z:\client\cmd>echo 21/01/2014 9:06:15.46 - Info: Found Microsoft DirectX core version 9.0c (4.09.00.0904) 1>>z:\log\58931WinXP.txt
  691.  
  692. Z:\client\cmd>echo 21/01/2014 9:06:15.46 - Info: Found Microsoft Silverlight version 0.0.0.0 1>>z:\log\58931WinXP.txt
  693.  
  694. Z:\client\cmd>echo 21/01/2014 9:06:15.46 - Info: Found Windows Media Player version 9.0.0.4510 1>>z:\log\58931WinXP.txt
  695.  
  696. Z:\client\cmd>echo 21/01/2014 9:06:15.47 - Info: Found Remote Desktop Client version 6.0.6001.18589 1>>z:\log\58931WinXP.txt
  697.  
  698. Z:\client\cmd>echo 21/01/2014 9:06:15.47 - Info: Found Microsoft .NET Framework 3.5 version 3.5.30729.01 1>>z:\log\58931WinXP.txt
  699.  
  700. Z:\client\cmd>echo 21/01/2014 9:06:15.47 - Info: Found Windows PowerShell version 0.0 1>>z:\log\58931WinXP.txt
  701.  
  702. Z:\client\cmd>echo 21/01/2014 9:06:15.49 - Info: Found Microsoft .NET Framework 4 version 0.0.0 1>>z:\log\58931WinXP.txt
  703.  
  704. Z:\client\cmd>echo 21/01/2014 9:06:15.49 - Info: Found Windows Management Framework version 0.0 1>>z:\log\58931WinXP.txt
  705.  
  706. Z:\client\cmd>if "wxp" == "w62" goto SkipLogMSSEVer
  707.  
  708. Z:\client\cmd>if "wxp" == "w63" goto SkipLogMSSEVer
  709.  
  710. Z:\client\cmd>echo 21/01/2014 9:06:15.50 - Info: Found Microsoft Security Essentials version 0.0.0.0 1>>z:\log\58931WinXP.txt
  711.  
  712. Z:\client\cmd>echo 21/01/2014 9:06:15.50 - Info: Found Microsoft Security Essentials definitions version 0.0.0.0 1>>z:\log\58931WinXP.txt
  713.  
  714. Z:\client\cmd>echo 21/01/2014 9:06:15.52 - Info: Found Network Inspection System definitions version 0.0.0.0 1>>z:\log\58931WinXP.txt
  715.  
  716. Z:\client\cmd>echo 21/01/2014 9:06:15.53 - Info: Found Windows Defender definitions version 0.0.0.0 1>>z:\log\58931WinXP.txt
  717.  
  718. Z:\client\cmd>if "11" NEQ "" (echo 21/01/2014 9:06:15.53 - Info: Found Microsoft Office 2003 Word version 11.0.8350.0 (o2k3 enu sp3) 1>>z:\log\58931WinXP.txt )
  719.  
  720. Z:\client\cmd>if "" NEQ "" (echo 21/01/2014 9:06:15.53 - Info: Found Microsoft Office 2007 version ... (o2k7 sp) 1>>z:\log\58931WinXP.txt )
  721.  
  722. Z:\client\cmd>if "14" NEQ "" (echo 21/01/2014 9:06:15.55 - Info: Found Microsoft Office 2010 Outlook version 14.0.7012.1000 (o2k10 x86 enu sp2) 1>>z:\log\58931WinXP.txt )
  723.  
  724. Z:\client\cmd>if "" NEQ "" (echo 21/01/2014 9:06:15.55 - Info: Found Microsoft Office 2013 version ... (o2k13 sp) 1>>z:\log\58931WinXP.txt )
  725.  
  726. Z:\client\cmd>rem *** Check medium content ***
  727.  
  728. Z:\client\cmd>echo Checking medium content...
  729. Checking medium content...
  730.  
  731. Z:\client\cmd>if exist ..\builddate.txt (for /F %i in ('type ..\builddate.txt') do (
  732. echo Medium build date: %i
  733. echo 21/01/2014 9:06:15.56 - Info: Medium build date: %i 1>>z:\log\58931WinXP.txt
  734. ) )
  735.  
  736. Z:\client\cmd>(
  737. echo Medium build date: 17/01/2014
  738. echo 21/01/2014 9:06:15.56 - Info: Medium build date: 17/01/2014 1>>z:\log\58931WinXP.txt
  739. )
  740. Medium build date: 17/01/2014
  741.  
  742. Z:\client\cmd>if /I "x86" == "x64" (
  743. if exist ..\wxp-x86\enu\nul (
  744. echo Medium supports Microsoft Windows (wxp x86 enu).
  745. echo 21/01/2014 9:06:15.61 - Info: Medium supports Microsoft Windows (wxp x86 enu) 1>>z:\log\58931WinXP.txt
  746. goto CheckOfficeMedium
  747. )
  748. if exist ..\wxp-x86\glb\nul (
  749. echo Medium supports Microsoft Windows (wxp x86 glb).
  750. echo 21/01/2014 9:06:15.61 - Info: Medium supports Microsoft Windows (wxp x86 glb) 1>>z:\log\58931WinXP.txt
  751. goto CheckOfficeMedium
  752. )
  753. ) else (
  754. if exist ..\wxp\enu\nul (
  755. echo Medium supports Microsoft Windows (wxp x86 enu).
  756. echo 21/01/2014 9:06:15.61 - Info: Medium supports Microsoft Windows (wxp x86 enu) 1>>z:\log\58931WinXP.txt
  757. goto CheckOfficeMedium
  758. )
  759. if exist ..\wxp\glb\nul (
  760. echo Medium supports Microsoft Windows (wxp x86 glb).
  761. echo 21/01/2014 9:06:15.61 - Info: Medium supports Microsoft Windows (wxp x86 glb) 1>>z:\log\58931WinXP.txt
  762. goto CheckOfficeMedium
  763. )
  764. )
  765. Medium supports Microsoft Windows (wxp x86 enu).
  766.  
  767. Z:\client\cmd>if "o2k10" == "" goto ProperMedium
  768.  
  769. Z:\client\cmd>if exist ..\ofc\enu\nul (
  770. echo Medium supports Microsoft Office (ofc enu).
  771. echo 21/01/2014 9:06:15.63 - Info: Medium supports Microsoft Office (ofc enu) 1>>z:\log\58931WinXP.txt
  772. goto ProperMedium
  773. )
  774. Medium supports Microsoft Office (ofc enu).
  775.  
  776. Z:\client\cmd>rem *** Install Windows Service Pack ***
  777.  
  778. Z:\client\cmd>echo Checking Windows Service Pack version...
  779. Checking Windows Service Pack version...
  780.  
  781. Z:\client\cmd>if 3 GEQ 3 goto SkipSPInst
  782.  
  783. Z:\client\cmd>rem *** Install Windows Update Agent ***
  784.  
  785. Z:\client\cmd>echo Checking Windows Update Agent version...
  786. Checking Windows Update Agent version...
  787.  
  788. Z:\client\cmd>if 7 LSS 7 goto InstallWUA
  789.  
  790. Z:\client\cmd>if 7 GTR 7 goto SkipWUAInst
  791.  
  792. Z:\client\cmd>if 4 LSS 4 goto InstallWUA
  793.  
  794. Z:\client\cmd>if 4 GTR 4 goto SkipWUAInst
  795.  
  796. Z:\client\cmd>if 7600 LSS 7600 goto InstallWUA
  797.  
  798. Z:\client\cmd>if 7600 GTR 7600 goto SkipWUAInst
  799.  
  800. Z:\client\cmd>if 226 GEQ 226 goto SkipWUAInst
  801.  
  802. Z:\client\cmd>rem *** Install Windows Installer ***
  803.  
  804. Z:\client\cmd>echo Checking Windows Installer version...
  805. Checking Windows Installer version...
  806.  
  807. Z:\client\cmd>if 4 LSS 4 goto InstallMSI
  808.  
  809. Z:\client\cmd>if 4 GTR 4 goto SkipMSIInst
  810.  
  811. Z:\client\cmd>if 5 LSS 5 goto InstallMSI
  812.  
  813. Z:\client\cmd>if 5 GTR 5 goto SkipMSIInst
  814.  
  815. Z:\client\cmd>if 6001 LSS 0 goto InstallMSI
  816.  
  817. Z:\client\cmd>if 6001 GTR 0 goto SkipMSIInst
  818.  
  819. Z:\client\cmd>rem *** Install Windows Script Host ***
  820.  
  821. Z:\client\cmd>echo Checking Windows Script Host version...
  822. Checking Windows Script Host version...
  823.  
  824. Z:\client\cmd>if 5 LSS 5 goto InstallWSH
  825.  
  826. Z:\client\cmd>if 5 GTR 5 goto SkipWSHInst
  827.  
  828. Z:\client\cmd>if 7 LSS 7 goto InstallWSH
  829.  
  830. Z:\client\cmd>if 7 GTR 7 goto SkipWSHInst
  831.  
  832. Z:\client\cmd>if 6002 LSS 0 goto InstallWSH
  833.  
  834. Z:\client\cmd>if 6002 GTR 0 goto SkipWSHInst
  835.  
  836. Z:\client\cmd>rem *** Install Internet Explorer ***
  837.  
  838. Z:\client\cmd>if "" == "1" goto SkipIEInst
  839.  
  840. Z:\client\cmd>echo Checking Internet Explorer version...
  841. Checking Internet Explorer version...
  842.  
  843. Z:\client\cmd>if 7 LSS 6 goto InstallIE
  844.  
  845. Z:\client\cmd>if 7 GTR 6 goto SkipIEInst
  846.  
  847. Z:\client\cmd>rem *** Install update for Trusted Root Certificates ***
  848.  
  849. Z:\client\cmd>if "" NEQ "/updatercerts" goto SkipTRCertsInst
  850.  
  851. Z:\client\cmd>rem *** Install update for Revoked Root Certificates ***
  852.  
  853. Z:\client\cmd>if "" NEQ "/updatercerts" goto SkipRRCertsInst
  854.  
  855. Z:\client\cmd>rem *** Install C++ Runtime Libraries ***
  856.  
  857. Z:\client\cmd>if "" NEQ "/updatecpp" goto SkipCPPInst
  858.  
  859. Z:\client\cmd>rem *** Install DirectX End-User Runtime ***
  860.  
  861. Z:\client\cmd>if "" NEQ "/updatedx" goto SkipDirectXInst
  862.  
  863. Z:\client\cmd>rem *** Install Microsoft Silverlight ***
  864.  
  865. Z:\client\cmd>if "" NEQ "/instmssl" goto SkipMSSLInst
  866.  
  867. Z:\client\cmd>set MSSL_VER_TARGET_MAJOR=
  868.  
  869. Z:\client\cmd>set MSSL_VER_TARGET_MINOR=
  870.  
  871. Z:\client\cmd>set MSSL_VER_TARGET_BUILD=
  872.  
  873. Z:\client\cmd>set MSSL_VER_TARGET_REVIS=
  874.  
  875. Z:\client\cmd>rem *** Install most recent Windows Media Player ***
  876.  
  877. Z:\client\cmd>if "wxp" == "w2k3" goto SkipWMPInst
  878.  
  879. Z:\client\cmd>if 1 GEQ 2 goto SkipWMPInst
  880.  
  881. Z:\client\cmd>if "" NEQ "/updatewmp" goto SkipWMPInst
  882.  
  883. Z:\client\cmd>rem *** Install .NET Framework 3.5 SP1 ***
  884.  
  885. Z:\client\cmd>if "" NEQ "/instdotnet35" goto SkipDotNet35Inst
  886.  
  887. Z:\client\cmd>rem *** Install .NET Framework 4 ***
  888.  
  889. Z:\client\cmd>if "" NEQ "/instdotnet4" goto SkipDotNet4Inst
  890.  
  891. Z:\client\cmd>rem *** Install .NET Framework 3.5 - Custom ***
  892.  
  893. Z:\client\cmd>if "" EQU "/instdotnet35" goto InstallDotNet35Custom
  894.  
  895. Z:\client\cmd>if 3 EQU 3 goto InstallDotNet35Custom
  896.  
  897. Z:\client\cmd>if not exist ..\static\custom\StaticUpdateIds-dotnet35.txt goto SkipDotNet35CustomInst
  898.  
  899. Z:\client\cmd>rem *** Install .NET Framework 4 - Custom ***
  900.  
  901. Z:\client\cmd>if "" EQU "/instdotnet4" goto InstallDotNet4Custom
  902.  
  903. Z:\client\cmd>if 0 EQU 4 goto InstallDotNet4Custom
  904.  
  905. Z:\client\cmd>goto SkipDotNet4CustomInst
  906.  
  907. Z:\client\cmd>if "" == "1" goto Installed
  908.  
  909. Z:\client\cmd>rem *** Install Windows PowerShell 2.0 ***
  910.  
  911. Z:\client\cmd>if "" NEQ "/instpsh" goto SkipPShInst
  912.  
  913. Z:\client\cmd>rem *** Install Windows Management Framework ***
  914.  
  915. Z:\client\cmd>if "" NEQ "/instwmf" goto SkipWMFInst
  916.  
  917. Z:\client\cmd>rem *** Install most recent Remote Desktop Client ***
  918.  
  919. Z:\client\cmd>if "" NEQ "/updatetsc" goto SkipTSCInst
  920.  
  921. Z:\client\cmd>rem *** Update Windows Defender definitions ***
  922.  
  923. Z:\client\cmd>echo Checking Windows Defender installation state...
  924. Checking Windows Defender installation state...
  925.  
  926. Z:\client\cmd>if "0" NEQ "1" goto SkipWDInst
  927.  
  928. Z:\client\cmd>set WDDEFS_VER_TARGET_MAJOR=
  929.  
  930. Z:\client\cmd>set WDDEFS_VER_TARGET_MINOR=
  931.  
  932. Z:\client\cmd>set WDDEFS_VER_TARGET_BUILD=
  933.  
  934. Z:\client\cmd>set WDDEFS_VER_TARGET_REVIS=
  935.  
  936. Z:\client\cmd>if "" == "1" goto Installed
  937.  
  938. Z:\client\cmd>if "o2k10" == "" goto SkipOffice
  939.  
  940. Z:\client\cmd>rem *** Check Office Service Pack versions ***
  941.  
  942. Z:\client\cmd>echo Checking Office Service Pack versions...
  943. Checking Office Service Pack versions...
  944.  
  945. Z:\client\cmd>if exist "C:\TEMP\MissingUpdateIds.txt" del "C:\TEMP\MissingUpdateIds.txt"
  946.  
  947. Z:\client\cmd>if "11" == "" goto SkipSPo2k3
  948.  
  949. Z:\client\cmd>if 3 LSS 3 echo 923618 1>>"C:\TEMP\MissingUpdateIds.txt"
  950.  
  951. Z:\client\cmd>if "" == "" goto SkipSPo2k7
  952.  
  953. Z:\client\cmd>if "14" == "" goto SkipSPo2k10
  954.  
  955. Z:\client\cmd>if 2 LSS 2 echo 2687455-fullfile-x86 1>>"C:\TEMP\MissingUpdateIds.txt"
  956.  
  957. Z:\client\cmd>if "" == "" goto SkipSPo2k13
  958.  
  959. Z:\client\cmd>if not exist "C:\TEMP\MissingUpdateIds.txt" goto SkipSPOfc
  960.  
  961. Z:\client\cmd>rem *** Check installation state of Office File Converter Packs ***
  962.  
  963. Z:\client\cmd>if "" NEQ "/instofc" goto SkipOFCNV
  964.  
  965. Z:\client\cmd>rem *** Check installation state of Office File Validation ***
  966.  
  967. Z:\client\cmd>if "" NEQ "/instofv" goto SkipOFVAL
  968.  
  969. Z:\client\cmd>rem *** Install MSI packages and custom software ***
  970.  
  971. Z:\client\cmd>if exist ..\software\custom\InstallCustomSoftware.cmd (
  972. echo Installing custom software...
  973. pushd ..\software\custom
  974. call InstallCustomSoftware.cmd
  975. popd
  976. echo 21/01/2014 9:06:16.35 - Info: Executed custom software installation hook (Errorlevel: 1) 1>>z:\log\58931WinXP.txt
  977. set REBOOT_REQUIRED=1
  978. )
  979.  
  980. Z:\client\cmd>if exist C:\WINDOWS\Temp\wouselmsi.txt (
  981. echo Installing selected MSI packages...
  982. call TouchMSITree.cmd /instselected
  983. echo 21/01/2014 9:06:16.35 - Info: Installed selected MSI packages 1>>z:\log\58931WinXP.txt
  984. del C:\WINDOWS\Temp\wouselmsi.txt
  985. set REBOOT_REQUIRED=1
  986. )
  987.  
  988. Z:\client\cmd>rem *** Determine and install missing Microsoft updates ***
  989.  
  990. Z:\client\cmd>if "" == "/skipdynamic" (
  991. echo Skipping determination of missing updates on demand...
  992. echo 21/01/2014 9:06:16.36 - Info: Skipped determination of missing updates on demand 1>>z:\log\58931WinXP.txt
  993. goto ListInstalledIds
  994. )
  995.  
  996. Z:\client\cmd>if "2898785" == "" goto CheckWUSvc
  997.  
  998. Z:\client\cmd>if exist C:\WINDOWS\Temp\wou_wupre_tried.txt goto CheckWUSvc
  999.  
  1000. Z:\client\cmd>echo Checking most recent Cumulative Security Update for Internet Explorer...
  1001. Checking most recent Cumulative Security Update for Internet Explorer...
  1002.  
  1003. Z:\client\cmd>C:\WINDOWS\System32\cscript.exe //Nologo //B //E:vbs ListInstalledUpdateIds.vbs
  1004.  
  1005. Z:\client\cmd>if exist "C:\TEMP\InstalledUpdateIds.txt" (
  1006. C:\WINDOWS\System32\find.exe /I "2898785" "C:\TEMP\InstalledUpdateIds.txt" 1>nul 2>&1
  1007. if not errorlevel 1 (
  1008. del "C:\TEMP\InstalledUpdateIds.txt"
  1009. goto CheckWUSvc
  1010. )
  1011. del "C:\TEMP\InstalledUpdateIds.txt"
  1012. )
  1013.  
  1014. Z:\client\cmd>echo 2898785 1>"C:\TEMP\MissingUpdateIds.txt"
  1015.  
  1016. Z:\client\cmd>call ListUpdatesToInstall.cmd /excludestatics /ignoreblacklist
  1017.  
  1018. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1019.  
  1020. Z:\client\cmd>verify other 2>nul
  1021.  
  1022. Z:\client\cmd>setlocal enableextensions
  1023.  
  1024. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1025.  
  1026. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1027.  
  1028. Z:\client\cmd>if "C:\TEMP" == "" goto NoTemp
  1029.  
  1030. Z:\client\cmd>pushd "C:\TEMP"
  1031.  
  1032. C:\Temp>if errorlevel 1 goto NoTempDir
  1033.  
  1034. C:\Temp>popd
  1035.  
  1036. Z:\client\cmd>if "wxp" == "" goto NoOSName
  1037.  
  1038. Z:\client\cmd>if "enu" == "" goto NoOSLang
  1039.  
  1040. Z:\client\cmd>if "x86" == "" goto NoOSArch
  1041.  
  1042. Z:\client\cmd>if "/excludestatics" == "" goto NoMoreParams
  1043.  
  1044. Z:\client\cmd>if /I "/excludestatics" == "/excludestatics" set EXC_STATICS=1
  1045.  
  1046. Z:\client\cmd>if /I "/excludestatics" == "/ignoreblacklist" set IGNORE_BL=1
  1047.  
  1048. Z:\client\cmd>shift /1
  1049.  
  1050. Z:\client\cmd>goto EvalParams
  1051.  
  1052. Z:\client\cmd>if "/ignoreblacklist" == "" goto NoMoreParams
  1053.  
  1054. Z:\client\cmd>if /I "/ignoreblacklist" == "/excludestatics" set EXC_STATICS=1
  1055.  
  1056. Z:\client\cmd>if /I "/ignoreblacklist" == "/ignoreblacklist" set IGNORE_BL=1
  1057.  
  1058. Z:\client\cmd>shift /1
  1059.  
  1060. Z:\client\cmd>goto EvalParams
  1061.  
  1062. Z:\client\cmd>if "" == "" goto NoMoreParams
  1063.  
  1064. Z:\client\cmd>rem *** Add statically defined update ids ***
  1065.  
  1066. Z:\client\cmd>if "1" == "1" goto ListFiles
  1067.  
  1068. Z:\client\cmd>rem *** List update files ***
  1069.  
  1070. Z:\client\cmd>if exist "C:\TEMP\InstalledUpdateIds.txt" del "C:\TEMP\InstalledUpdateIds.txt"
  1071.  
  1072. Z:\client\cmd>if not exist "C:\TEMP\MissingUpdateIds.txt" goto EoF
  1073.  
  1074. Z:\client\cmd>if exist "C:\TEMP\UpdatesToInstall.txt" del "C:\TEMP\UpdatesToInstall.txt"
  1075.  
  1076. Z:\client\cmd>echo.1>"C:\TEMP\ExcludeList.txt"
  1077.  
  1078. Z:\client\cmd>if "1" == "1" goto IgnoreBL
  1079.  
  1080. Z:\client\cmd>if "x86" == "x64" (set OS_SEARCH_DIRS=wxp-x86 ) else (set OS_SEARCH_DIRS=wxp win )
  1081.  
  1082. Z:\client\cmd>for /F "usebackq tokens=1,2 delims=," %i in ("C:\TEMP\MissingUpdateIds.txt") do (
  1083. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1084. C:\WINDOWS\System32\find.exe /I "%i" "C:\TEMP\ExcludeList.txt" 1>nul 2>&1
  1085. if errorlevel 1 (
  1086. for %k in (wxp win) do (for %l in (enu glb) do (
  1087. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*%i ..\%k\%l ) else (call ListUpdateFile.cmd ie7-*%i ..\%k\%l )
  1088. call ListUpdateFile.cmd windowsmedia9-*%i ..\%k\%l
  1089. call ListUpdateFile.cmd windowsmedia-*%i ..\%k\%l
  1090. call ListUpdateFile.cmd mdac281-*%i ..\%k\%l
  1091. call ListUpdateFile.cmd windowsxp*%i ..\%k\%l /searchleftmost
  1092. call ListUpdateFile.cmd windowsserver2003*%i ..\%k\%l /searchleftmost
  1093. call ListUpdateFile.cmd windows6*%i ..\%k\%l /searchleftmost
  1094. call ListUpdateFile.cmd windows*%i ..\%k\%l /searchleftmost
  1095. call ListUpdateFile.cmd %i ..\%k\%l
  1096. ) )
  1097. call ListUpdateFile.cmd ndp*%i*-x86 ..\dotnet\x86-glb /searchleftmost
  1098. if not exist "C:\TEMP\Update.txt" (for %k in (o2k10 ofc o2k3 o2k7 o2k10 o2k13) do (for %l in (enu enu glb) do (
  1099. call ListUpdateFile.cmd %i*x86 ..\%k\%l
  1100. call ListUpdateFile.cmd %i ..\%k\%l
  1101. ) ) )
  1102. for %k in (enu enu glb) do (if exist ..\ofc\UpdateTable-ofc-%k.csv (if not exist "C:\TEMP\Update.txt" (for /F "tokens=1,2 delims=," %l in (..\ofc\UpdateTable-ofc-%k.csv) do (if "%l" == "%j" (
  1103. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1104. call ListUpdateFile.cmd %m ..\ofc\%k /searchleftmost
  1105. ) ) ) ) )
  1106. if exist "C:\TEMP\Update.txt" (del "C:\TEMP\Update.txt" ) else (if "%j" == "" (
  1107. echo Warning: Update kb%i not found.
  1108. echo 21/01/2014 9:06:17.36 - Warning: Update kb%i not found 1>>z:\log\58931WinXP.txt
  1109. ) else (
  1110. echo Warning: Update kb%i (id: %j) not found.
  1111. echo 21/01/2014 9:06:17.36 - Warning: Update kb%i (id: %j) not found 1>>z:\log\58931WinXP.txt
  1112. ) )
  1113. ) else (for /F "tokens=1* delims=,;" %k in ('C:\WINDOWS\System32\findstr.exe /I "%i" "C:\TEMP\ExcludeList.txt"') do (if "%l" == "" (
  1114. echo Info: Skipping update %k due to matching black list entry.
  1115. echo 21/01/2014 9:06:17.36 - Info: Skipped update %k due to matching black list entry 1>>z:\log\58931WinXP.txt
  1116. ) else (
  1117. echo Info: Skipping update %k (%l) due to matching black list entry.
  1118. echo 21/01/2014 9:06:17.36 - Info: Skipped update %k (%l) due to matching black list entry 1>>z:\log\58931WinXP.txt
  1119. ) ) )
  1120. )
  1121.  
  1122. Z:\client\cmd>(
  1123. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1124. C:\WINDOWS\System32\find.exe /I "2898785" "C:\TEMP\ExcludeList.txt" 1>nul 2>&1
  1125. if errorlevel 1 (
  1126. for %k in (wxp win) do (for %l in (enu glb) do (
  1127. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\%k\%l ) else (call ListUpdateFile.cmd ie7-*2898785 ..\%k\%l )
  1128. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\%k\%l
  1129. call ListUpdateFile.cmd windowsmedia-*2898785 ..\%k\%l
  1130. call ListUpdateFile.cmd mdac281-*2898785 ..\%k\%l
  1131. call ListUpdateFile.cmd windowsxp*2898785 ..\%k\%l /searchleftmost
  1132. call ListUpdateFile.cmd windowsserver2003*2898785 ..\%k\%l /searchleftmost
  1133. call ListUpdateFile.cmd windows6*2898785 ..\%k\%l /searchleftmost
  1134. call ListUpdateFile.cmd windows*2898785 ..\%k\%l /searchleftmost
  1135. call ListUpdateFile.cmd 2898785 ..\%k\%l
  1136. ) )
  1137. call ListUpdateFile.cmd ndp*2898785*-x86 ..\dotnet\x86-glb /searchleftmost
  1138. if not exist "C:\TEMP\Update.txt" (for %k in (o2k10 ofc o2k3 o2k7 o2k10 o2k13) do (for %l in (enu enu glb) do (
  1139. call ListUpdateFile.cmd 2898785*x86 ..\%k\%l
  1140. call ListUpdateFile.cmd 2898785 ..\%k\%l
  1141. ) ) )
  1142. for %k in (enu enu glb) do (if exist ..\ofc\UpdateTable-ofc-%k.csv (if not exist "C:\TEMP\Update.txt" (for /F "tokens=1,2 delims=," %l in (..\ofc\UpdateTable-ofc-%k.csv) do (if "%l" == "" (
  1143. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1144. call ListUpdateFile.cmd %m ..\ofc\%k /searchleftmost
  1145. ) ) ) ) )
  1146. if exist "C:\TEMP\Update.txt" (del "C:\TEMP\Update.txt" ) else (if "" == "" (
  1147. echo Warning: Update kb2898785 not found.
  1148. echo 21/01/2014 9:06:17.36 - Warning: Update kb2898785 not found 1>>z:\log\58931WinXP.txt
  1149. ) else (
  1150. echo Warning: Update kb2898785 (id: ) not found.
  1151. echo 21/01/2014 9:06:17.36 - Warning: Update kb2898785 (id: ) not found 1>>z:\log\58931WinXP.txt
  1152. ) )
  1153. ) else (for /F "tokens=1* delims=,;" %k in ('C:\WINDOWS\System32\findstr.exe /I "2898785" "C:\TEMP\ExcludeList.txt"') do (if "%l" == "" (
  1154. echo Info: Skipping update %k due to matching black list entry.
  1155. echo 21/01/2014 9:06:17.36 - Info: Skipped update %k due to matching black list entry 1>>z:\log\58931WinXP.txt
  1156. ) else (
  1157. echo Info: Skipping update %k (%l) due to matching black list entry.
  1158. echo 21/01/2014 9:06:17.36 - Info: Skipped update %k (%l) due to matching black list entry 1>>z:\log\58931WinXP.txt
  1159. ) ) )
  1160. )
  1161.  
  1162. Z:\client\cmd>(for %l in (enu glb) do (
  1163. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\wxp\%l ) else (call ListUpdateFile.cmd ie7-*2898785 ..\wxp\%l )
  1164. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\wxp\%l
  1165. call ListUpdateFile.cmd windowsmedia-*2898785 ..\wxp\%l
  1166. call ListUpdateFile.cmd mdac281-*2898785 ..\wxp\%l
  1167. call ListUpdateFile.cmd windowsxp*2898785 ..\wxp\%l /searchleftmost
  1168. call ListUpdateFile.cmd windowsserver2003*2898785 ..\wxp\%l /searchleftmost
  1169. call ListUpdateFile.cmd windows6*2898785 ..\wxp\%l /searchleftmost
  1170. call ListUpdateFile.cmd windows*2898785 ..\wxp\%l /searchleftmost
  1171. call ListUpdateFile.cmd 2898785 ..\wxp\%l
  1172. ) )
  1173.  
  1174. Z:\client\cmd>(
  1175. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\wxp\enu ) else (call ListUpdateFile.cmd ie7-*2898785 ..\wxp\enu )
  1176. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\wxp\enu
  1177. call ListUpdateFile.cmd windowsmedia-*2898785 ..\wxp\enu
  1178. call ListUpdateFile.cmd mdac281-*2898785 ..\wxp\enu
  1179. call ListUpdateFile.cmd windowsxp*2898785 ..\wxp\enu /searchleftmost
  1180. call ListUpdateFile.cmd windowsserver2003*2898785 ..\wxp\enu /searchleftmost
  1181. call ListUpdateFile.cmd windows6*2898785 ..\wxp\enu /searchleftmost
  1182. call ListUpdateFile.cmd windows*2898785 ..\wxp\enu /searchleftmost
  1183. call ListUpdateFile.cmd 2898785 ..\wxp\enu
  1184. )
  1185.  
  1186. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1187.  
  1188. Z:\client\cmd>verify other 2>nul
  1189.  
  1190. Z:\client\cmd>setlocal enableextensions
  1191.  
  1192. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1193.  
  1194. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1195.  
  1196. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1197.  
  1198. Z:\client\cmd>if "ie7-*2898785" == "" goto NoParam
  1199.  
  1200. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1201.  
  1202. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1203.  
  1204. Z:\client\cmd>if not exist ..\wxp\enu\nul goto EoF
  1205.  
  1206. Z:\client\cmd>if /I "" == "/searchleftmost" (dir /A:-D /B /OD ..\wxp\enu\ie7-*2898785*.* 1>"C:\TEMP\Update.txt" 2>nul ) else (dir /A:-D /B /OD ..\wxp\enu\*ie7-*2898785*.* 1>"C:\TEMP\Update.txt" 2>nul )
  1207.  
  1208. Z:\client\cmd>if errorlevel 1 (if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt" ) else (for /F "usebackq" %i in ("C:\TEMP\Update.txt") do echo ..\wxp\enu\%i 1>>"C:\TEMP\UpdatesToInstall.txt" )
  1209.  
  1210. Z:\client\cmd>echo ..\wxp\enu\ie7-windowsxp-kb2898785-x86-enu_063bbbed952eda84e1e4652dccb460ef7ada0f0a.exe 1>>"C:\TEMP\UpdatesToInstall.txt"
  1211.  
  1212. Z:\client\cmd>goto EoF
  1213.  
  1214. Z:\client\cmd>endlocal
  1215.  
  1216. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1217.  
  1218. Z:\client\cmd>verify other 2>nul
  1219.  
  1220. Z:\client\cmd>setlocal enableextensions
  1221.  
  1222. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1223.  
  1224. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1225.  
  1226. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1227.  
  1228. Z:\client\cmd>if "windowsmedia9-*2898785" == "" goto NoParam
  1229.  
  1230. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1231.  
  1232. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1233.  
  1234. Z:\client\cmd>endlocal
  1235.  
  1236. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1237.  
  1238. Z:\client\cmd>verify other 2>nul
  1239.  
  1240. Z:\client\cmd>setlocal enableextensions
  1241.  
  1242. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1243.  
  1244. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1245.  
  1246. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1247.  
  1248. Z:\client\cmd>if "windowsmedia-*2898785" == "" goto NoParam
  1249.  
  1250. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1251.  
  1252. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1253.  
  1254. Z:\client\cmd>endlocal
  1255.  
  1256. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1257.  
  1258. Z:\client\cmd>verify other 2>nul
  1259.  
  1260. Z:\client\cmd>setlocal enableextensions
  1261.  
  1262. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1263.  
  1264. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1265.  
  1266. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1267.  
  1268. Z:\client\cmd>if "mdac281-*2898785" == "" goto NoParam
  1269.  
  1270. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1271.  
  1272. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1273.  
  1274. Z:\client\cmd>endlocal
  1275.  
  1276. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1277.  
  1278. Z:\client\cmd>verify other 2>nul
  1279.  
  1280. Z:\client\cmd>setlocal enableextensions
  1281.  
  1282. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1283.  
  1284. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1285.  
  1286. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1287.  
  1288. Z:\client\cmd>if "windowsxp*2898785" == "" goto NoParam
  1289.  
  1290. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1291.  
  1292. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1293.  
  1294. Z:\client\cmd>endlocal
  1295.  
  1296. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1297.  
  1298. Z:\client\cmd>verify other 2>nul
  1299.  
  1300. Z:\client\cmd>setlocal enableextensions
  1301.  
  1302. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1303.  
  1304. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1305.  
  1306. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1307.  
  1308. Z:\client\cmd>if "windowsserver2003*2898785" == "" goto NoParam
  1309.  
  1310. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1311.  
  1312. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1313.  
  1314. Z:\client\cmd>endlocal
  1315.  
  1316. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1317.  
  1318. Z:\client\cmd>verify other 2>nul
  1319.  
  1320. Z:\client\cmd>setlocal enableextensions
  1321.  
  1322. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1323.  
  1324. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1325.  
  1326. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1327.  
  1328. Z:\client\cmd>if "windows6*2898785" == "" goto NoParam
  1329.  
  1330. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1331.  
  1332. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1333.  
  1334. Z:\client\cmd>endlocal
  1335.  
  1336. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1337.  
  1338. Z:\client\cmd>verify other 2>nul
  1339.  
  1340. Z:\client\cmd>setlocal enableextensions
  1341.  
  1342. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1343.  
  1344. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1345.  
  1346. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1347.  
  1348. Z:\client\cmd>if "windows*2898785" == "" goto NoParam
  1349.  
  1350. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1351.  
  1352. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1353.  
  1354. Z:\client\cmd>endlocal
  1355.  
  1356. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1357.  
  1358. Z:\client\cmd>verify other 2>nul
  1359.  
  1360. Z:\client\cmd>setlocal enableextensions
  1361.  
  1362. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1363.  
  1364. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1365.  
  1366. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1367.  
  1368. Z:\client\cmd>if "2898785" == "" goto NoParam
  1369.  
  1370. Z:\client\cmd>if "..\wxp\enu" == "" goto NoParam
  1371.  
  1372. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1373.  
  1374. Z:\client\cmd>endlocal
  1375.  
  1376. Z:\client\cmd>(
  1377. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\wxp\glb ) else (call ListUpdateFile.cmd ie7-*2898785 ..\wxp\glb )
  1378. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\wxp\glb
  1379. call ListUpdateFile.cmd windowsmedia-*2898785 ..\wxp\glb
  1380. call ListUpdateFile.cmd mdac281-*2898785 ..\wxp\glb
  1381. call ListUpdateFile.cmd windowsxp*2898785 ..\wxp\glb /searchleftmost
  1382. call ListUpdateFile.cmd windowsserver2003*2898785 ..\wxp\glb /searchleftmost
  1383. call ListUpdateFile.cmd windows6*2898785 ..\wxp\glb /searchleftmost
  1384. call ListUpdateFile.cmd windows*2898785 ..\wxp\glb /searchleftmost
  1385. call ListUpdateFile.cmd 2898785 ..\wxp\glb
  1386. )
  1387.  
  1388. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1389.  
  1390. Z:\client\cmd>verify other 2>nul
  1391.  
  1392. Z:\client\cmd>setlocal enableextensions
  1393.  
  1394. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1395.  
  1396. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1397.  
  1398. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1399.  
  1400. Z:\client\cmd>if "ie7-*2898785" == "" goto NoParam
  1401.  
  1402. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1403.  
  1404. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1405.  
  1406. Z:\client\cmd>endlocal
  1407.  
  1408. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1409.  
  1410. Z:\client\cmd>verify other 2>nul
  1411.  
  1412. Z:\client\cmd>setlocal enableextensions
  1413.  
  1414. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1415.  
  1416. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1417.  
  1418. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1419.  
  1420. Z:\client\cmd>if "windowsmedia9-*2898785" == "" goto NoParam
  1421.  
  1422. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1423.  
  1424. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1425.  
  1426. Z:\client\cmd>endlocal
  1427.  
  1428. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1429.  
  1430. Z:\client\cmd>verify other 2>nul
  1431.  
  1432. Z:\client\cmd>setlocal enableextensions
  1433.  
  1434. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1435.  
  1436. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1437.  
  1438. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1439.  
  1440. Z:\client\cmd>if "windowsmedia-*2898785" == "" goto NoParam
  1441.  
  1442. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1443.  
  1444. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1445.  
  1446. Z:\client\cmd>endlocal
  1447.  
  1448. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1449.  
  1450. Z:\client\cmd>verify other 2>nul
  1451.  
  1452. Z:\client\cmd>setlocal enableextensions
  1453.  
  1454. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1455.  
  1456. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1457.  
  1458. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1459.  
  1460. Z:\client\cmd>if "mdac281-*2898785" == "" goto NoParam
  1461.  
  1462. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1463.  
  1464. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1465.  
  1466. Z:\client\cmd>endlocal
  1467.  
  1468. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1469.  
  1470. Z:\client\cmd>verify other 2>nul
  1471.  
  1472. Z:\client\cmd>setlocal enableextensions
  1473.  
  1474. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1475.  
  1476. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1477.  
  1478. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1479.  
  1480. Z:\client\cmd>if "windowsxp*2898785" == "" goto NoParam
  1481.  
  1482. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1483.  
  1484. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1485.  
  1486. Z:\client\cmd>endlocal
  1487.  
  1488. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1489.  
  1490. Z:\client\cmd>verify other 2>nul
  1491.  
  1492. Z:\client\cmd>setlocal enableextensions
  1493.  
  1494. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1495.  
  1496. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1497.  
  1498. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1499.  
  1500. Z:\client\cmd>if "windowsserver2003*2898785" == "" goto NoParam
  1501.  
  1502. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1503.  
  1504. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1505.  
  1506. Z:\client\cmd>endlocal
  1507.  
  1508. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1509.  
  1510. Z:\client\cmd>verify other 2>nul
  1511.  
  1512. Z:\client\cmd>setlocal enableextensions
  1513.  
  1514. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1515.  
  1516. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1517.  
  1518. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1519.  
  1520. Z:\client\cmd>if "windows6*2898785" == "" goto NoParam
  1521.  
  1522. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1523.  
  1524. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1525.  
  1526. Z:\client\cmd>endlocal
  1527.  
  1528. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1529.  
  1530. Z:\client\cmd>verify other 2>nul
  1531.  
  1532. Z:\client\cmd>setlocal enableextensions
  1533.  
  1534. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1535.  
  1536. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1537.  
  1538. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1539.  
  1540. Z:\client\cmd>if "windows*2898785" == "" goto NoParam
  1541.  
  1542. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1543.  
  1544. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1545.  
  1546. Z:\client\cmd>endlocal
  1547.  
  1548. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1549.  
  1550. Z:\client\cmd>verify other 2>nul
  1551.  
  1552. Z:\client\cmd>setlocal enableextensions
  1553.  
  1554. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1555.  
  1556. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1557.  
  1558. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1559.  
  1560. Z:\client\cmd>if "2898785" == "" goto NoParam
  1561.  
  1562. Z:\client\cmd>if "..\wxp\glb" == "" goto NoParam
  1563.  
  1564. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1565.  
  1566. Z:\client\cmd>endlocal
  1567.  
  1568. Z:\client\cmd>(for %l in (enu glb) do (
  1569. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\win\%l ) else (call ListUpdateFile.cmd ie7-*2898785 ..\win\%l )
  1570. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\win\%l
  1571. call ListUpdateFile.cmd windowsmedia-*2898785 ..\win\%l
  1572. call ListUpdateFile.cmd mdac281-*2898785 ..\win\%l
  1573. call ListUpdateFile.cmd windowsxp*2898785 ..\win\%l /searchleftmost
  1574. call ListUpdateFile.cmd windowsserver2003*2898785 ..\win\%l /searchleftmost
  1575. call ListUpdateFile.cmd windows6*2898785 ..\win\%l /searchleftmost
  1576. call ListUpdateFile.cmd windows*2898785 ..\win\%l /searchleftmost
  1577. call ListUpdateFile.cmd 2898785 ..\win\%l
  1578. ) )
  1579.  
  1580. Z:\client\cmd>(
  1581. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\win\enu ) else (call ListUpdateFile.cmd ie7-*2898785 ..\win\enu )
  1582. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\win\enu
  1583. call ListUpdateFile.cmd windowsmedia-*2898785 ..\win\enu
  1584. call ListUpdateFile.cmd mdac281-*2898785 ..\win\enu
  1585. call ListUpdateFile.cmd windowsxp*2898785 ..\win\enu /searchleftmost
  1586. call ListUpdateFile.cmd windowsserver2003*2898785 ..\win\enu /searchleftmost
  1587. call ListUpdateFile.cmd windows6*2898785 ..\win\enu /searchleftmost
  1588. call ListUpdateFile.cmd windows*2898785 ..\win\enu /searchleftmost
  1589. call ListUpdateFile.cmd 2898785 ..\win\enu
  1590. )
  1591.  
  1592. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1593.  
  1594. Z:\client\cmd>verify other 2>nul
  1595.  
  1596. Z:\client\cmd>setlocal enableextensions
  1597.  
  1598. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1599.  
  1600. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1601.  
  1602. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1603.  
  1604. Z:\client\cmd>if "ie7-*2898785" == "" goto NoParam
  1605.  
  1606. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1607.  
  1608. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1609.  
  1610. Z:\client\cmd>endlocal
  1611.  
  1612. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1613.  
  1614. Z:\client\cmd>verify other 2>nul
  1615.  
  1616. Z:\client\cmd>setlocal enableextensions
  1617.  
  1618. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1619.  
  1620. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1621.  
  1622. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1623.  
  1624. Z:\client\cmd>if "windowsmedia9-*2898785" == "" goto NoParam
  1625.  
  1626. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1627.  
  1628. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1629.  
  1630. Z:\client\cmd>endlocal
  1631.  
  1632. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1633.  
  1634. Z:\client\cmd>verify other 2>nul
  1635.  
  1636. Z:\client\cmd>setlocal enableextensions
  1637.  
  1638. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1639.  
  1640. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1641.  
  1642. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1643.  
  1644. Z:\client\cmd>if "windowsmedia-*2898785" == "" goto NoParam
  1645.  
  1646. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1647.  
  1648. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1649.  
  1650. Z:\client\cmd>endlocal
  1651.  
  1652. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1653.  
  1654. Z:\client\cmd>verify other 2>nul
  1655.  
  1656. Z:\client\cmd>setlocal enableextensions
  1657.  
  1658. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1659.  
  1660. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1661.  
  1662. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1663.  
  1664. Z:\client\cmd>if "mdac281-*2898785" == "" goto NoParam
  1665.  
  1666. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1667.  
  1668. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1669.  
  1670. Z:\client\cmd>endlocal
  1671.  
  1672. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1673.  
  1674. Z:\client\cmd>verify other 2>nul
  1675.  
  1676. Z:\client\cmd>setlocal enableextensions
  1677.  
  1678. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1679.  
  1680. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1681.  
  1682. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1683.  
  1684. Z:\client\cmd>if "windowsxp*2898785" == "" goto NoParam
  1685.  
  1686. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1687.  
  1688. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1689.  
  1690. Z:\client\cmd>endlocal
  1691.  
  1692. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1693.  
  1694. Z:\client\cmd>verify other 2>nul
  1695.  
  1696. Z:\client\cmd>setlocal enableextensions
  1697.  
  1698. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1699.  
  1700. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1701.  
  1702. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1703.  
  1704. Z:\client\cmd>if "windowsserver2003*2898785" == "" goto NoParam
  1705.  
  1706. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1707.  
  1708. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1709.  
  1710. Z:\client\cmd>endlocal
  1711.  
  1712. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1713.  
  1714. Z:\client\cmd>verify other 2>nul
  1715.  
  1716. Z:\client\cmd>setlocal enableextensions
  1717.  
  1718. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1719.  
  1720. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1721.  
  1722. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1723.  
  1724. Z:\client\cmd>if "windows6*2898785" == "" goto NoParam
  1725.  
  1726. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1727.  
  1728. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1729.  
  1730. Z:\client\cmd>endlocal
  1731.  
  1732. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1733.  
  1734. Z:\client\cmd>verify other 2>nul
  1735.  
  1736. Z:\client\cmd>setlocal enableextensions
  1737.  
  1738. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1739.  
  1740. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1741.  
  1742. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1743.  
  1744. Z:\client\cmd>if "windows*2898785" == "" goto NoParam
  1745.  
  1746. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1747.  
  1748. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1749.  
  1750. Z:\client\cmd>endlocal
  1751.  
  1752. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1753.  
  1754. Z:\client\cmd>verify other 2>nul
  1755.  
  1756. Z:\client\cmd>setlocal enableextensions
  1757.  
  1758. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1759.  
  1760. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1761.  
  1762. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1763.  
  1764. Z:\client\cmd>if "2898785" == "" goto NoParam
  1765.  
  1766. Z:\client\cmd>if "..\win\enu" == "" goto NoParam
  1767.  
  1768. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1769.  
  1770. Z:\client\cmd>endlocal
  1771.  
  1772. Z:\client\cmd>(
  1773. if 700 GEQ 9100 (call ListUpdateFile.cmd ie0-*2898785 ..\win\glb ) else (call ListUpdateFile.cmd ie7-*2898785 ..\win\glb )
  1774. call ListUpdateFile.cmd windowsmedia9-*2898785 ..\win\glb
  1775. call ListUpdateFile.cmd windowsmedia-*2898785 ..\win\glb
  1776. call ListUpdateFile.cmd mdac281-*2898785 ..\win\glb
  1777. call ListUpdateFile.cmd windowsxp*2898785 ..\win\glb /searchleftmost
  1778. call ListUpdateFile.cmd windowsserver2003*2898785 ..\win\glb /searchleftmost
  1779. call ListUpdateFile.cmd windows6*2898785 ..\win\glb /searchleftmost
  1780. call ListUpdateFile.cmd windows*2898785 ..\win\glb /searchleftmost
  1781. call ListUpdateFile.cmd 2898785 ..\win\glb
  1782. )
  1783.  
  1784. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1785.  
  1786. Z:\client\cmd>verify other 2>nul
  1787.  
  1788. Z:\client\cmd>setlocal enableextensions
  1789.  
  1790. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1791.  
  1792. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1793.  
  1794. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1795.  
  1796. Z:\client\cmd>if "ie7-*2898785" == "" goto NoParam
  1797.  
  1798. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1799.  
  1800. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1801.  
  1802. Z:\client\cmd>endlocal
  1803.  
  1804. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1805.  
  1806. Z:\client\cmd>verify other 2>nul
  1807.  
  1808. Z:\client\cmd>setlocal enableextensions
  1809.  
  1810. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1811.  
  1812. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1813.  
  1814. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1815.  
  1816. Z:\client\cmd>if "windowsmedia9-*2898785" == "" goto NoParam
  1817.  
  1818. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1819.  
  1820. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1821.  
  1822. Z:\client\cmd>endlocal
  1823.  
  1824. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1825.  
  1826. Z:\client\cmd>verify other 2>nul
  1827.  
  1828. Z:\client\cmd>setlocal enableextensions
  1829.  
  1830. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1831.  
  1832. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1833.  
  1834. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1835.  
  1836. Z:\client\cmd>if "windowsmedia-*2898785" == "" goto NoParam
  1837.  
  1838. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1839.  
  1840. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1841.  
  1842. Z:\client\cmd>endlocal
  1843.  
  1844. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1845.  
  1846. Z:\client\cmd>verify other 2>nul
  1847.  
  1848. Z:\client\cmd>setlocal enableextensions
  1849.  
  1850. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1851.  
  1852. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1853.  
  1854. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1855.  
  1856. Z:\client\cmd>if "mdac281-*2898785" == "" goto NoParam
  1857.  
  1858. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1859.  
  1860. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1861.  
  1862. Z:\client\cmd>endlocal
  1863.  
  1864. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1865.  
  1866. Z:\client\cmd>verify other 2>nul
  1867.  
  1868. Z:\client\cmd>setlocal enableextensions
  1869.  
  1870. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1871.  
  1872. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1873.  
  1874. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1875.  
  1876. Z:\client\cmd>if "windowsxp*2898785" == "" goto NoParam
  1877.  
  1878. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1879.  
  1880. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1881.  
  1882. Z:\client\cmd>endlocal
  1883.  
  1884. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1885.  
  1886. Z:\client\cmd>verify other 2>nul
  1887.  
  1888. Z:\client\cmd>setlocal enableextensions
  1889.  
  1890. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1891.  
  1892. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1893.  
  1894. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1895.  
  1896. Z:\client\cmd>if "windowsserver2003*2898785" == "" goto NoParam
  1897.  
  1898. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1899.  
  1900. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1901.  
  1902. Z:\client\cmd>endlocal
  1903.  
  1904. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1905.  
  1906. Z:\client\cmd>verify other 2>nul
  1907.  
  1908. Z:\client\cmd>setlocal enableextensions
  1909.  
  1910. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1911.  
  1912. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1913.  
  1914. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1915.  
  1916. Z:\client\cmd>if "windows6*2898785" == "" goto NoParam
  1917.  
  1918. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1919.  
  1920. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1921.  
  1922. Z:\client\cmd>endlocal
  1923.  
  1924. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1925.  
  1926. Z:\client\cmd>verify other 2>nul
  1927.  
  1928. Z:\client\cmd>setlocal enableextensions
  1929.  
  1930. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1931.  
  1932. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1933.  
  1934. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1935.  
  1936. Z:\client\cmd>if "windows*2898785" == "" goto NoParam
  1937.  
  1938. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1939.  
  1940. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1941.  
  1942. Z:\client\cmd>endlocal
  1943.  
  1944. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1945.  
  1946. Z:\client\cmd>verify other 2>nul
  1947.  
  1948. Z:\client\cmd>setlocal enableextensions
  1949.  
  1950. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1951.  
  1952. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1953.  
  1954. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1955.  
  1956. Z:\client\cmd>if "2898785" == "" goto NoParam
  1957.  
  1958. Z:\client\cmd>if "..\win\glb" == "" goto NoParam
  1959.  
  1960. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1961.  
  1962. Z:\client\cmd>endlocal
  1963.  
  1964. Z:\client\cmd>rem *** Author: T. Wittrock, Kiel ***
  1965.  
  1966. Z:\client\cmd>verify other 2>nul
  1967.  
  1968. Z:\client\cmd>setlocal enableextensions
  1969.  
  1970. Z:\client\cmd>if errorlevel 1 goto NoExtensions
  1971.  
  1972. Z:\client\cmd>if "" NEQ "" set DIRCMD=
  1973.  
  1974. Z:\client\cmd>if "z:\log\58931WinXP.txt" == "" set UPDATE_LOGFILE=C:\WINDOWS\wsusofflineupdate.log
  1975.  
  1976. Z:\client\cmd>if "ndp*2898785*-x86" == "" goto NoParam
  1977.  
  1978. Z:\client\cmd>if "..\dotnet\x86-glb" == "" goto NoParam
  1979.  
  1980. Z:\client\cmd>if exist "C:\TEMP\Update.txt" goto EoF
  1981.  
  1982. Z:\client\cmd>endlocal
  1983.  
  1984. Z:\client\cmd>(if exist ..\ofc\UpdateTable-ofc-enu.csv (if not exist "C:\TEMP\Update.txt" (for /F "tokens=1,2 delims=," %l in (..\ofc\UpdateTable-ofc-enu.csv) do (if "%l" == "" (
  1985. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1986. call ListUpdateFile.cmd %m ..\ofc\enu /searchleftmost
  1987. ) ) ) ) )
  1988.  
  1989. Z:\client\cmd>(if exist ..\ofc\UpdateTable-ofc-enu.csv (if not exist "C:\TEMP\Update.txt" (for /F "tokens=1,2 delims=," %l in (..\ofc\UpdateTable-ofc-enu.csv) do (if "%l" == "" (
  1990. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1991. call ListUpdateFile.cmd %m ..\ofc\enu /searchleftmost
  1992. ) ) ) ) )
  1993.  
  1994. Z:\client\cmd>(if exist ..\ofc\UpdateTable-ofc-glb.csv (if not exist "C:\TEMP\Update.txt" (for /F "tokens=1,2 delims=," %l in (..\ofc\UpdateTable-ofc-glb.csv) do (if "%l" == "" (
  1995. if exist "C:\TEMP\Update.txt" del "C:\TEMP\Update.txt"
  1996. call ListUpdateFile.cmd %m ..\ofc\glb /searchleftmost
  1997. ) ) ) ) )
  1998.  
  1999. Z:\client\cmd>del "C:\TEMP\MissingUpdateIds.txt"
  2000.  
  2001. Z:\client\cmd>del "C:\TEMP\ExcludeList.txt"
  2002.  
  2003. Z:\client\cmd>goto EoF
  2004.  
  2005. Z:\client\cmd>endlocal
  2006.  
  2007. Z:\client\cmd>if errorlevel 1 goto ListError
  2008.  
  2009. Z:\client\cmd> )
  2010. ) was unexpected at this time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement