Page 2 of 2

Re: Problem after deleting German dotnet files

PostPosted: 12.05.2019, 18:45
by Dalai
Check your download.log to see if /nocleanup option was used.

Regards
Dalai

Re: Problem after deleting German dotnet files

PostPosted: 12.05.2019, 19:39
by GCRaistlin
"nocleanup" word not found there.

Re: Problem after deleting German dotnet files

PostPosted: 13.05.2019, 10:46
by hbuhrmester
Did you upgrade WSUS Offline Update to the new version 11.7 in-between?

Version upgrades may interfere here, because they replace all files and reset them to their default states. The exclusion of German installers should be remembered, but only if you let the UpdateGenerator.exe do the upgrade.


Exclusion of German installers

If you run the script RemoveGermanLanguageSupport.cmd, then it will remove all German download links from the files:

Code: Select all
../static/StaticDownloadLinks-dotnet.txt
../static/StaticDownloadLinks-dotnet-x86-glb.txt
../static/StaticDownloadLinks-dotnet-x64-glb.txt
../static/StaticDownloadLinks-msse-x86-glb.txt
../static/StaticDownloadLinks-msse-x64-glb.txt
../static/StaticDownloadLinks-w60-x86-glb.txt
../static/StaticDownloadLinks-w60-x64-glb.txt
../static/StaticDownloadLinks-w61-x86-glb.txt
../static/StaticDownloadLinks-w61-x64-glb.txt


The script RemoveGermanLanguageSupport.cmd by itself does not remove any existing downloads.

The script DownloadUpdates.cmd will remove obsolete files, which are not referenced anymore, on the next download run. This cleanup of client directories is enabled by default. It can only be disabled by editing the settings file UpdateGenerator.ini directly.


Version upgrades of WSUS Offline Update

A version upgrade is initiated by the application UpdateGenerator.exe:

  1. UpdateGenerator.exe runs the script CheckOUVersion.cmd, to search for new versions.
  2. If there is a new version available, it will ask for confirmation to install it.
  3. UpdateGenerator.exe then runs the script UpdateOU.cmd, to do the upgrade.
  4. The script UpdateOU.cmd checks, if German updates are disabled, by searching the file StaticDownloadLinks-w61-x86-glb.txt for German download links.
  5. The script UpdateOU.cmd installs the new version and replaces all files.
  6. If German updates were disabled before, then the script UpdateOU.cmd runs the script RemoveGermanLanguageSupport.cmd again.

This should usually work, but if you download the wsusoffline archive yourself and manually copy the new files over existing files, or if you use other tools for the version upgrade, then the state of German installers may not be remembered.


So you could start all over again:

Check the current state:
  • of the mentioned static download files
  • of the actual downloads in the client directory

Run the script RemoveGermanLanguageSupport.cmd
  • check the static download files for changes

Do a new download run
  • check the actual downloads for changes

Report everything


Regards,
hbuhrmester

Re: Problem after deleting German dotnet files

PostPosted: 13.05.2019, 14:17
by GCRaistlin
As I wrote above, my initial steps were to install an old version (let's say 11.6) and to download all updates. Then I found out that I have unnecessary German updates. I run RemoveGermanLanguageSupport.cmd, then I deleted German files manually and hashes files.
Then I downloaded 11.7, overwrote all files and perform download of updates. Then I remembered of German updates, run RemoveGermanLanguageSupport.cmd, then run downloading updates again (several times). Now I have in my WSUS Offline Updates directory:
Code: Select all
client\dotnet\NDP46-KB3045557-x86-x64-AllOS-DEU.exe
client\w61-x64\glb\IE11-Windows6.1-x64-de-de.exe

Re: Problem after deleting German dotnet files

PostPosted: 13.05.2019, 17:31
by hbuhrmester
Do you have, by chance, any files in the wsusoffline/static/custom directory?

Regards,
hbuhrmester

Re: Problem after deleting German dotnet files

PostPosted: 13.05.2019, 20:33
by aker
Could you post a screenshot [please post a link to it, as the file storage of the forum is full] and the log (.\log\download.log) [use Code-tags].

Re: Problem after deleting German dotnet files

PostPosted: 16.05.2019, 23:29
by GCRaistlin
11.7.1 fixes the issue. I executed RemoveGermanLanguageSupport.cmd, then performed the download. German files have gone.