Commit 9803732d authored by aker@wsusoffline's avatar aker@wsusoffline
Browse files

- Fix: The self-update did not report more recent versions in UpdateGenerator (Thanks to "negg")

parent 85f2d04a
......@@ -14,7 +14,7 @@
#pragma compile(ProductName, "WSUS Offline Update - Community Edition")
#pragma compile(ProductVersion, 11.9.7)
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.7 (b2.1)"
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.7 (b3)"
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.7)
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.7 (b2.1) - Installer"
Dim Const $caption = "WSUS Offline Update - Community Edition - 11.9.7 (b3) - 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.7 (b2.1)
set WSUSOFFLINE_VERSION=11.9.7 (b3)
title %~n0 %*
echo Starting WSUS Offline Update - Community Edition - v. %WSUSOFFLINE_VERSION% at %TIME%...
set UPDATE_LOGFILE=%SystemRoot%\wsusofflineupdate.log
......
......@@ -152,7 +152,17 @@ if "%EXIT_ERR%"=="1" (
)
:Result_UpdateAvailable
verify other 2>nul
if "%EXIT_ERR%"=="1" (
endlocal
verify other 2>nul
exit
) else (
title %ComSpec%
endlocal
verify other 2>nul
goto :eof
)
:Result_OK
:EoF
title %ComSpec%
......
......@@ -35,7 +35,7 @@ if "%DIRCMD%" NEQ "" set DIRCMD=
cd /D "%~dp0"
set WSUSOFFLINE_VERSION=11.9.7 (b2.1)
set WSUSOFFLINE_VERSION=11.9.7 (b3)
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
......
......@@ -1769,3 +1769,4 @@ Community Edition 11.9.7 -- ??.??.2020
- Support removed for Windows 10 version 1709 since Microsoft discontinued support for it on October 13th, 2020
- Support removed for Office 2010 since Microsoft discontinued support for it on October 13th, 2020
- cleaned up ExcludeList-ofc*.txt
- Fix: The self-update did not report more recent versions in UpdateGenerator (Thanks to "negg")
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