Exclude an update

Exclude an update

Postby negg » 01.12.2016, 13:45

Hi there are quite a few updates I wish to exclude from my windows 8.1 64 bit download as they are all ready integrated into my iso image.

For example update kb2919355 which I believe is apart of update 3, in lamens terms how would I prevent it from downloading this update ive had a look at the help file and im not quite sure what to do lol

tnx
negg
 
Posts: 220
Joined: 26.03.2014, 11:46

Re: Exclude an update

Postby Dalai » 01.12.2016, 15:44

Add the KB number(s) to wsusoffline\exclude\custom\ExcludeList-%win%-%arch%.txt which is wsusoffline\exclude\custom\ExcludeList-w63-x64.txt in case of Windows 8.1 x64.

Regards
Dalai
Dalai
 
Posts: 1041
Joined: 12.07.2016, 21:00

Re: Exclude an update

Postby negg » 01.12.2016, 16:05

tnx
negg
 
Posts: 220
Joined: 26.03.2014, 11:46

Re: Exclude an update

Postby negg » 13.01.2017, 09:19

Hi ok im having problems excluding an update and have created the following two files

ExcludeList.txt
ExcludeList-w63-x64.txt

these files are located in "wsusoffline\exclude\custom"

In these files is one id

kb2919355

However it still downloads it.

How do I tell it not to download it!!!!!!!
negg
 
Posts: 220
Joined: 26.03.2014, 11:46

Re: Exclude an update

Postby hbuhrmester » 13.01.2017, 13:07

Do you use the custom download lists from cababs? Then kb2919355 can be found in the files

Code: Select all
static/custom/StaticDownloadLinks-w63-x86-glb.txt
line 22: http://download.microsoft.com/download/4/E/C/4EC66C83-1E15-43FD-B591-63FB7A1A5C04/Windows8.1-KB2919355-x86.msu

static/custom/StaticDownloadLinks-w63-x64-glb.txt
line 23: http://download.microsoft.com/download/D/B/1/DB1F29FC-316D-481E-B435-1654BA185DCF/Windows8.1-KB2919355-x64.msu



You could edit out these custom links.

Or create a file ../exclude/custom/ExcludeListForce-all.txt to exclude kb2919355 from both static and dynamic download lists.



Spoiler alert: technical discussion follows, only for maintainers and moderators

Actually, kb2919355 seems to be part of a Service Pack (or a similar update pack for Windows 8.1), and such updates are treated specially. The download of Service Packs can be switched on and off with the option "Include Service Packs" in the UpdateGenerator.exe. Service Packs are installed on demand by the UpdateInstaller.exe.

Controlling Service Packs like that requires several steps:

  1. They are excluded from dynamically created download lists with the file ../exclude/ExcludeList-w63-x64.txt (in case of kb2919355).
  2. They are included in statically defined download lists with the file ../static/StaticDownloadLinks-w63-x64-glb.txt.
  3. They are also listed in the file ../exclude/ExcludeList-SPs.txt. This list will be applied to statically defined download lists, if the option "Include Service Packs" in UpdateGenerator.exe is not checked.
  4. The UpdateInstaller.exe also needs some hints, to install Service Packs on demand. In this case, 2919355 can be found in ../client/static/StaticUpdateIds-w63-upd1.txt.

But the configuration for kb2919355 seems to be inconsistent, because the entries in the files ../exclude/ExcludeList-w63-x64.txt and ../static/StaticDownloadLinks-w63-x64-glb.txt are missing.

There is an entry for kb2919355 in the file ../exclude/ExcludeList-SPs.txt, but this file is applied to statically defined download lists only. But kb2919355 is actually downloaded using dynamically created download lists, so disabling the option "Include Service Packs" will not work for this file.

Since Service Packs are usually included in the file package.xml, it might be useful to apply the ExcludeList-SP.txt to dynamically defined updates as well.
Last edited by hbuhrmester on 13.01.2017, 17:02, edited 1 time in total.
Reason: corrected ../static/ExcludeList-SPs.txt to ../exclude/ExcludeList-SPs.txt
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: Exclude an update

Postby negg » 13.01.2017, 21:02

Yes this update is part of a service pack or major update (I think update 3) how ever even with the include service pack disabled it still downloads update 3 and all related files. If you have include service pack selected update 1 and 3 are downloaded (don't know what happened to update 2 like). As this file is very large and not needed now on most windows 8.1 installs I don't want it!!!! Lol

Can these KB files be treated as a service pack and be removed from general download in the next trunk?
negg
 
Posts: 220
Joined: 26.03.2014, 11:46

Re: Exclude an update

Postby WSUSUpdateAdmin » 24.01.2017, 16:35

Hi.

negg wrote:[...]Can these KB files be treated as a service pack and be removed from general download in the next trunk?

hbuhrmester wrote:[...]Since Service Packs are usually included in the file package.xml, it might be useful to apply the ExcludeList-SP.txt to dynamically defined updates as well.

Right. :)
Fixed in r856.

Cheers,
Torsten
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Download

Who is online

Users browsing this forum: No registered users and 9 guests

cron