GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

Commit f262fd67 authored by aker@wsusoffline's avatar aker@wsusoffline
Browse files

- Fix: Microsoft removed the IE9 standalone installers for Windows Vista /...

- Fix: Microsoft removed the IE9 standalone installers for Windows Vista / Server 2008 (Thanks to "hbuhrmester" and "aker")
parent 6db620a9
......@@ -14,7 +14,7 @@
#pragma compile(ProductName, "WSUS Offline Update - Community Edition")
#pragma compile(ProductVersion, 11.9.5)
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.5 (b12)"
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.5 (b13)"
Dim Const $title = $caption & " - Generator"
Dim Const $downloadURL = "https://gitlab.com/wsusoffline/"
Dim Const $downloadLogFile = "download.log"
......
......@@ -15,7 +15,7 @@
#pragma compile(ProductName, "WSUS Offline Update - Community Edition")
#pragma compile(ProductVersion, 11.9.5)
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.5 (b12) - Installer"
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.5 (b13) - Installer"
; Registry constants
Dim Const $reg_key_wsh_hklm64 = "HKLM64\Software\Microsoft\Windows Script Host\Settings"
......
......@@ -32,7 +32,7 @@ if "%DIRCMD%" NEQ "" set DIRCMD=
cd /D "%~dp0"
set WSUSOFFLINE_VERSION=11.9.5 (b12)
set WSUSOFFLINE_VERSION=11.9.5 (b13)
title %~n0 %*
echo Starting WSUS Offline Update - Community Edition - v. %WSUSOFFLINE_VERSION% at %TIME%...
set UPDATE_LOGFILE=%SystemRoot%\wsusofflineupdate.log
......@@ -551,9 +551,11 @@ goto IE%OS_NAME%
:IEw60
if exist %SystemRoot%\Temp\wou_ie_tried.txt goto SkipIEInst
if /i "%OS_ARCH%"=="x64" (
set IE_FILENAME=..\%OS_NAME%-%OS_ARCH%\glb\IE9-WindowsVista-%OS_ARCH%-%OS_LANG%*.exe
set IE_FILENAME=..\%OS_NAME%-%OS_ARCH%\glb\wu-ie9-windowsvista-%OS_ARCH%*.exe
set IE_LANG_FILENAME=..\%OS_NAME%-%OS_ARCH%\glb\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%*.exe
) else (
set IE_FILENAME=..\%OS_NAME%\glb\IE9-WindowsVista-%OS_ARCH%-%OS_LANG%*.exe
set IE_FILENAME=..\%OS_NAME%\glb\wu-ie9-windowsvista-%OS_ARCH%*.exe
set IE_LANG_FILENAME=..\%OS_NAME%\glb\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%*.exe
)
dir /B %IE_FILENAME% >nul 2>&1
if errorlevel 1 (
......@@ -561,6 +563,41 @@ if errorlevel 1 (
call :Log "Warning: File %IE_FILENAME% not found"
goto SkipIEInst
)
for /F %%i in ('dir /B %IE_FILENAME%') do (
if not "%%i"=="" set IE_FILENAME_REAL=%%i
)
if "%IE_FILENAME_REAL%"=="" (
echo Warning: File %IE_FILENAME% not found.
call :Log "Warning: File %IE_FILENAME% not found"
goto SkipIEInst
)
if /i "%OS_ARCH%"=="x64" (
set IE_FILENAME_REAL=..\%OS_NAME%-%OS_ARCH%\glb\%IE_FILENAME_REAL%
) else (
set IE_FILENAME_REAL=..\%OS_NAME%\glb\%IE_FILENAME_REAL%
)
if /i "%OS_LANG%"=="enu" (goto SkipIEw60LPSearch)
dir /B %IE_LANG_FILENAME% >nul 2>&1
if errorlevel 1 (
echo Warning: File %IE_LANG_FILENAME% not found.
call :Log "Warning: File %IE_LANG_FILENAME% not found"
goto SkipIEInst
)
for /F %%i in ('dir /B %IE_LANG_FILENAME%') do (
if not "%%i"=="" set IE_LANG_FILENAME_REAL=%%i
)
if "%IE_LANG_FILENAME_REAL%"=="" (
echo Warning: File %IE_LANG_FILENAME% not found.
call :Log "Warning: File %IE_LANG_FILENAME% not found"
goto SkipIEInst
)
if /i "%OS_ARCH%"=="x64" (
set IE_LANG_FILENAME_REAL=..\%OS_NAME%-%OS_ARCH%\glb\%IE_LANG_FILENAME_REAL%
) else (
set IE_LANG_FILENAME_REAL=..\%OS_NAME%\glb\%IE_LANG_FILENAME_REAL%
)
:SkipIEw60LPSearch
if exist %SystemRoot%\Temp\wou_iepre_tried.txt goto SkipIEw60Pre
echo Checking Internet Explorer 9 prerequisites...
%CSCRIPT_PATH% //Nologo //B //E:vbs ListInstalledUpdateIds.vbs
......@@ -583,17 +620,46 @@ if exist "%TEMP%\UpdatesToInstall.txt" (
)
)
:SkipIEw60Pre
for /F %%i in ('dir /B %IE_FILENAME%') do (
echo Installing Internet Explorer 9...
if /i "%OS_ARCH%"=="x64" (
call InstallOSUpdate.cmd ..\%OS_NAME%-%OS_ARCH%\glb\%%i %VERIFY_MODE% /ignoreerrors /passive /update-no /closeprograms /no-default /norestart
) else (
call InstallOSUpdate.cmd ..\%OS_NAME%\glb\%%i %VERIFY_MODE% /ignoreerrors /passive /update-no /closeprograms /no-default /norestart
)
if not errorlevel 1 set RECALL_REQUIRED=1
echo Installing Internet Explorer 9...
call InstallOSUpdate.cmd %IE_FILENAME_REAL% %VERIFY_MODE% /ignoreerrors /passive /update-no /closeprograms /no-default /norestart
if errorlevel 1 (
if not exist %SystemRoot%\Temp\nul md %SystemRoot%\Temp
echo. >%SystemRoot%\Temp\wou_ie_tried.txt
goto IEInstalled
)
set RECALL_REQUIRED=1
if /i "%OS_LANG%"=="enu" (goto SkipIEw60LPInst)
echo Installing Internet Explorer 9 Language Pack...
if "%VERIFY_MODE%" NEQ "/verify" (goto SkipIEw60LPVerify)
if /i "%OS_ARCH%"=="x64" (
set HASH_FILE_NAME=..\md\hashes-%OS_NAME%-%OS_ARCH%-glb.txt
) else (
set HASH_FILE_NAME=..\md\hashes-%OS_NAME%-glb.txt
)
if not exist "%HASH_FILE_NAME%" (
echo Warning: Hash file %HASH_FILE_NAME% not found.
call :Log "Warning: Hash file %HASH_FILE_NAME% not found"
goto SkipIEw60LPVerify
)
if exist "%TEMP%\hash-ieLangPack.txt" del "%TEMP%\hash-ieLangPack.txt"
%SystemRoot%\System32\findstr.exe /L /I /C:%% /C:## /C:"%IE_LANG_FILENAME_REAL%" %HASH_FILE_NAME% >"%TEMP%\hash-ieLangPack.txt"
%HASHDEEP_PATH% -a -l -k "%TEMP%\hash-ieLangPack.txt" "%IE_LANG_FILENAME_REAL%"
if errorlevel 1 (
if exist "%TEMP%\hash-ieLangPack.txt" del "%TEMP%\hash-ieLangPack.txt"
echo ERROR: File hash does not match stored value ^(%IE_LANG_FILENAME_REAL%^).
call :Log "Error: File hash does not match stored value (%IE_LANG_FILENAME_REAL%)"
goto SkipIEw60LPInst
)
if exist "%TEMP%\hash-ieLangPack.txt" del "%TEMP%\hash-ieLangPack.txt"
:SkipIEw60LPVerify
if exist "%TEMP%\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%" rmdir /s /q "%TEMP%\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%"
mkdir "%TEMP%\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%"
start /wait %IE_LANG_FILENAME_REAL% /T:"%TEMP%\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%" /C
call InstallOSUpdate.cmd "%TEMP%\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%\ieLangPack-%OS_LANG%.cab" /ignoreerrors
rmdir /s /q "%TEMP%\ie9-langpack-windowsvista-%OS_ARCH%-%OS_LANG%"
:SkipIEw60LPInst
if not exist %SystemRoot%\Temp\nul md %SystemRoot%\Temp
echo. >%SystemRoot%\Temp\wou_ie_tried.txt
goto IEInstalled
:IEw61
......@@ -887,7 +953,7 @@ if not exist %DOTNET35_FILENAME% (
goto SkipDotNet35Inst
)
echo Installing .NET Framework 3.5 SP1...
call InstallOSUpdate.cmd %DOTNET35_FILENAME% %VERIFY_MODE% /ignoreerrors /qb /norestart /lang:enu
call InstallOSUpdate.cmd %DOTNET35_FILENAME% %VERIFY_MODE% /ignoreerrors /passive /norestart /lang:enu
if "%OS_LANG%" NEQ "enu" (
dir /B %DOTNET35LP_FILENAME% >nul 2>&1
if errorlevel 1 (
......@@ -895,7 +961,7 @@ if "%OS_LANG%" NEQ "enu" (
call :Log "Warning: .NET Framework 3.5 SP1 Language Pack installation file (%DOTNET35LP_FILENAME%) not found"
) else (
echo Installing .NET Framework 3.5 SP1 Language Pack...
for /F %%i in ('dir /B %DOTNET35LP_FILENAME%') do call InstallOSUpdate.cmd ..\dotnet\%OS_ARCH%-glb\%%i %VERIFY_MODE% /ignoreerrors /qb /norestart /nopatch
for /F %%i in ('dir /B %DOTNET35LP_FILENAME%') do call InstallOSUpdate.cmd ..\dotnet\%OS_ARCH%-glb\%%i %VERIFY_MODE% /ignoreerrors /passive /norestart /nopatch /lang:%OS_LANG%
)
)
copy /Y ..\static\StaticUpdateIds-dotnet35.txt "%TEMP%\MissingUpdateIds.txt" >nul
......
......@@ -35,7 +35,7 @@ if "%DIRCMD%" NEQ "" set DIRCMD=
cd /D "%~dp0"
set WSUSOFFLINE_VERSION=11.9.5 (b12)
set WSUSOFFLINE_VERSION=11.9.5 (b13)
title %~n0 %1 %2 %3 %4 %5 %6 %7 %8 %9
echo Starting WSUS Offline Update - Community Edition - download v. %WSUSOFFLINE_VERSION% for %1 %2...
set DOWNLOAD_LOGFILE=..\log\download.log
......
......@@ -16,7 +16,7 @@ for %%i in (dotnet msse w60 w61 w62) do (
if /i "%1" NEQ "/quiet" echo Processing file ..\static\StaticDownloadLinks-%%i-%%j-glb.txt
if exist StaticDownloadLinks-%%i-%%j-glb.ori del StaticDownloadLinks-%%i-%%j-glb.ori
ren StaticDownloadLinks-%%i-%%j-glb.txt StaticDownloadLinks-%%i-%%j-glb.ori
%SystemRoot%\System32\findstr.exe /L /I /V "deu. de. de-de" StaticDownloadLinks-%%i-%%j-glb.ori>StaticDownloadLinks-%%i-%%j-glb.txt
%SystemRoot%\System32\findstr.exe /L /I /V "deu. -deu_ de. de-de" StaticDownloadLinks-%%i-%%j-glb.ori>StaticDownloadLinks-%%i-%%j-glb.txt
del StaticDownloadLinks-%%i-%%j-glb.ori
for %%k in (StaticDownloadLinks-%%i-%%j-glb.txt) do if %%~zk==0 del %%k
)
......@@ -24,7 +24,7 @@ for %%i in (dotnet msse w60 w61 w62) do (
if /i "%1" NEQ "/quiet" echo Processing file ..\static\StaticDownloadLinks-%%i-%%j-5lg.txt
if exist StaticDownloadLinks-%%i-%%j-5lg.ori del StaticDownloadLinks-%%i-%%j-5lg.ori
ren StaticDownloadLinks-%%i-%%j-5lg.txt StaticDownloadLinks-%%i-%%j-5lg.ori
%SystemRoot%\System32\findstr.exe /L /I /V "deu. de. de-de" StaticDownloadLinks-%%i-%%j-5lg.ori>StaticDownloadLinks-%%i-%%j-5lg.txt
%SystemRoot%\System32\findstr.exe /L /I /V "deu. -deu_ de. de-de" StaticDownloadLinks-%%i-%%j-5lg.ori>StaticDownloadLinks-%%i-%%j-5lg.txt
del StaticDownloadLinks-%%i-%%j-5lg.ori
for %%k in (StaticDownloadLinks-%%i-%%j-5lg.txt) do if %%~zk==0 del %%k
)
......@@ -32,7 +32,7 @@ for %%i in (dotnet msse w60 w61 w62) do (
if /i "%1" NEQ "/quiet" echo Processing file ..\static\StaticDownloadLinks-%%i-%%j-alg.txt
if exist StaticDownloadLinks-%%i-%%j-alg.ori del StaticDownloadLinks-%%i-%%j-alg.ori
ren StaticDownloadLinks-%%i-%%j-alg.txt StaticDownloadLinks-%%i-%%j-alg.ori
%SystemRoot%\System32\findstr.exe /L /I /V "deu. de. de-de" StaticDownloadLinks-%%i-%%j-alg.ori>StaticDownloadLinks-%%i-%%j-alg.txt
%SystemRoot%\System32\findstr.exe /L /I /V "deu. -deu_ de. de-de" StaticDownloadLinks-%%i-%%j-alg.ori>StaticDownloadLinks-%%i-%%j-alg.txt
del StaticDownloadLinks-%%i-%%j-alg.ori
for %%k in (StaticDownloadLinks-%%i-%%j-alg.txt) do if %%~zk==0 del %%k
)
......@@ -41,7 +41,7 @@ for %%i in (dotnet msse w60 w61 w62) do (
if /i "%1" NEQ "/quiet" echo Processing file ..\static\StaticDownloadLinks-%%i-glb.txt
if exist StaticDownloadLinks-%%i-glb.ori del StaticDownloadLinks-%%i-glb.ori
ren StaticDownloadLinks-%%i-glb.txt StaticDownloadLinks-%%i-glb.ori
%SystemRoot%\System32\findstr.exe /L /I /V "deu. de. de-de" StaticDownloadLinks-%%i-glb.ori>StaticDownloadLinks-%%i-glb.txt
%SystemRoot%\System32\findstr.exe /L /I /V "deu. -deu_ de. de-de" StaticDownloadLinks-%%i-glb.ori>StaticDownloadLinks-%%i-glb.txt
del StaticDownloadLinks-%%i-glb.ori
for %%k in (StaticDownloadLinks-%%i-glb.txt) do if %%~zk==0 del %%k
)
......@@ -49,7 +49,7 @@ for %%i in (dotnet msse w60 w61 w62) do (
if /i "%1" NEQ "/quiet" echo Processing file ..\static\StaticDownloadLinks-%%i.txt
if exist StaticDownloadLinks-%%i.ori del StaticDownloadLinks-%%i.ori
ren StaticDownloadLinks-%%i.txt StaticDownloadLinks-%%i.ori
%SystemRoot%\System32\findstr.exe /L /I /V "deu. de. de-de" StaticDownloadLinks-%%i.ori>StaticDownloadLinks-%%i.txt
%SystemRoot%\System32\findstr.exe /L /I /V "deu. -deu_ de. de-de" StaticDownloadLinks-%%i.ori>StaticDownloadLinks-%%i.txt
del StaticDownloadLinks-%%i.ori
for %%k in (StaticDownloadLinks-%%i.txt) do if %%~zk==0 del %%k
)
......
......@@ -1754,3 +1754,4 @@ Community Edition 11.9.5 -- ??.??.2020
- Fix: Microsoft removed the files for Windows 7 SP1 and Windows Server 2008 PowerShell 2; URLs have been updated
- [UNTESTED] Fix: The script files could fail to parse the command line parameters as the should (Thanks to "hbuhrmester" and "aker")
- Fix: DetermineSystemProperties.vbs might fail to return OS_VER_REVIS on some configurations (Thanks to "rbronca")
- Fix: Microsoft removed the IE9 standalone installers for Windows Vista / Server 2008 (Thanks to "hbuhrmester" and "aker")
http://download.microsoft.com/download/E/1/E/E1EB4219-7CA2-441F-B17C-7D26893C625F/IE9-WindowsVista-x64-ara.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-ara_c9f72ecaf746995d48306626a769a219b50ad8c5.exe
http://download.microsoft.com/download/D/C/7/DC735EA7-EB18-4E9B-8B70-CBA8AAD45C87/IE9-WindowsVista-x64-chs.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-chs_cab026b30f174ebf290eac058d5870bb07eae59a.exe
http://download.microsoft.com/download/7/6/8/768C2D41-EF0F-49B9-AF5C-9D8F57EAC6FE/IE9-WindowsVista-x64-cht.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-cht_628e71e66b5a3bc38bce1e2550b9fbd4f80fa94d.exe
http://download.microsoft.com/download/5/9/C/59CB48F1-87FF-4B55-AEAB-C1DBA645C11B/IE9-WindowsVista-x64-csy.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-csy_864e640ae092ad128c04592449a9d981aab44def.exe
http://download.microsoft.com/download/2/9/6/296714B6-A423-46EA-92B7-39BECF5D3F8F/IE9-WindowsVista-x64-dan.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-dan_30f3c1a82225306d516172805481910b55ab6d3b.exe
http://download.microsoft.com/download/8/3/2/83205D42-C4DE-435E-AF10-4919CBDB3A13/IE9-WindowsVista-x64-deu.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-deu_a48597efd25c128471637086ff7becf4aa019d31.exe
http://download.microsoft.com/download/0/9/2/09245A18-1380-4B3A-AF20-BC00B8796FCF/IE9-WindowsVista-x64-ell.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-ell_060307c19f152a219e8caacbf2ba09969f8c31ba.exe
http://download.microsoft.com/download/7/C/3/7C3BA535-1D8C-4A87-9F1D-163BBA971CA9/IE9-WindowsVista-x64-enu.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.microsoft.com/download/7/2/2/722AEF58-EE19-4051-AB2A-236E71B859F4/IE9-WindowsVista-x64-esn.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-esn_19f4ca5b91a07f92d5d8e7a131e2775f34e284ba.exe
http://download.microsoft.com/download/0/C/9/0C9E2831-F630-4D83-9045-F1ED66869892/IE9-WindowsVista-x64-fin.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-fin_86c1b4050acd7d56bcb323c923736d96e2912903.exe
http://download.microsoft.com/download/3/0/1/301FFBDB-AB53-4309-BB2F-C041BC09B782/IE9-WindowsVista-x64-fra.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-fra_597323935664a22d49980eb181ee40b346c451c4.exe
http://download.microsoft.com/download/4/3/D/43D1C14C-34C9-4450-8D19-9F67A75B38BB/IE9-WindowsVista-x64-heb.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-heb_e06334ace17c93d3af3a38f7f57df7a05e160cc9.exe
http://download.microsoft.com/download/E/E/3/EE382C36-6388-4719-AFF1-38F765EACF17/IE9-WindowsVista-x64-hun.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-hun_2b25895cb24e1af93f87d9820c1b3e879f9b9a95.exe
http://download.microsoft.com/download/8/C/4/8C423C46-0850-43F6-BD4F-6861BAD2CE5D/IE9-WindowsVista-x64-ita.exe
http://download.windowsupdate.com/msdownload/update/software/uprl/2011/03/wu-ie9-windowsvista-x64_f599c02e7e1ea8a4e1029f0e49418a8be8416367.exe
http://download.windowsupdate.com/msdownload/update/software/updt/2011/03/ie9-langpack-windowsvista-x64-ita_7aa9583b8afcaafeca2ec004c00e485f8070a0c9.exe
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment