Commit 634e5e41 authored by aker@wsusoffline's avatar [email protected]

Fix: DownloadUpdates.cmd accidently downloaded Updates for Windows 10...

Fix: DownloadUpdates.cmd accidently downloaded Updates for Windows 10 1903/1909 even if they weren't selected (Thanks to "hbuhrmester")
parent dc0640ca
......@@ -14,7 +14,7 @@
#pragma compile(ProductName, "WSUS Offline Update - Community Edition")
#pragma compile(ProductVersion, 12.3.0)
Dim Const $caption = "WSUS Offline Update - Community Edition - 12.3 (b12)"
Dim Const $caption = "WSUS Offline Update - Community Edition - 12.3 (b15)"
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, 12.3.0)
Dim Const $caption = "WSUS Offline Update - Community Edition - 12.3 (b12) - Installer"
Dim Const $caption = "WSUS Offline Update - Community Edition - 12.3 (b15) - Installer"
; Registry constants
Dim Const $reg_key_wsh_hklm64 = "HKLM64\Software\Microsoft\Windows Script Host\Settings"
......
......@@ -30,7 +30,7 @@ if "%DIRCMD%" NEQ "" set DIRCMD=
cd /D "%~dp0"
set WSUSOFFLINE_VERSION=12.3 (b12)
set WSUSOFFLINE_VERSION=12.3 (b15)
title %~n0 %*
echo Starting WSUS Offline Update - Community Edition - v. %WSUSOFFLINE_VERSION% at %TIME%...
set UPDATE_LOGFILE=%SystemRoot%\wsusofflineupdate.log
......
......@@ -34,7 +34,7 @@ if "%DIRCMD%" NEQ "" set DIRCMD=
cd /D "%~dp0"
set WSUSOFFLINE_VERSION=12.3 (b12)
set WSUSOFFLINE_VERSION=12.3 (b15)
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
......@@ -1425,8 +1425,8 @@ if not errorlevel 1 (
)
if "!DISABLED1903!"=="1" (
if "!DISABLED1909!"=="1" (
if exist ..\exclude\ExcludeList-w100-1903_1909.txt type ..\exclude\ExcludeList-w100-1903_1909.txt >>"%TEMP%\ExcludeListStatic.txt"
if exist ..\exclude\custom\ExcludeList-w100-1903_1909.txt type ..\exclude\custom\ExcludeList-w100-1903_1909.txt >>"%TEMP%\ExcludeListStatic.txt"
if exist ..\exclude\ExcludeList-w100-1903_1909.txt type ..\exclude\ExcludeList-w100-1903_1909.txt >>"%TEMP%\ExcludeList-%1.txt"
if exist ..\exclude\custom\ExcludeList-w100-1903_1909.txt type ..\exclude\custom\ExcludeList-w100-1903_1909.txt >>"%TEMP%\ExcludeList-%1.txt"
)
)
set DISABLED1903=
......
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