Windows 10 64 bit download folder

Re: Windows 10 64 bit download folder

Postby hbuhrmester » 22.01.2020, 16:44

I know, that the lines in the script DownloadUpdates.cmd are overly long. But don't get fooled by the soft line wrap in the browser.

This is all in one line:

Code: Select all
%CSCRIPT_PATH% //Nologo //B //E:vbs ..\cmd\XSLT.vbs "%TEMP%\package.xml" ..\xslt\extract-update-cab-exe-ids-and-locations.xsl "%TEMP%\UpdateCabExeIdsAndLocations.txt"


And this is another line:

Code: Select all
%CSCRIPT_PATH% //Nologo //B //E:vbs ..\cmd\XSLT.vbs "%TEMP%\package.xml" ..\xslt\extract-file-ids-and-locations.xsl "%TEMP%\UpdateCabExeIdsAndLocations.txt"


So, to put it differently, search for:

Code: Select all
..\xslt\extract-update-cab-exe-ids-and-locations.xsl


and replace it with:

Code: Select all
..\xslt\extract-file-ids-and-locations.xsl


This is exactly one replacement.

Don't insert any spaces or line breaks, where they don't belong.

If you don't create a working ExcludeList-superseded.txt, then you can expect a lot more downloads.
hbuhrmester
 
Posts: 459
Joined: 11.10.2013, 20:59

Re: Windows 10 64 bit download folder

Postby negg » 22.01.2020, 21:58

I'll try again lol
negg
 
Posts: 165
Joined: 26.03.2014, 11:46

Re: Windows 10 64 bit download folder

Postby boco » 23.01.2020, 00:26

w100: 14GB => 6GB

Code: Select all
2020-01-22  2:14:12.05 - Info: Deleted ..\client\w100\glb\windows10.0-kb4338825-x86_4931dc57ec8cad4ce7b8ef3083d9d808415fa3a0.cab
2020-01-22  2:14:12.31 - Info: Deleted ..\client\w100\glb\windows10.0-kb4343897-x86_2b3beb7dc46803cefef90c5c829af004fe94d73f.cab
2020-01-22  2:14:12.80 - Info: Deleted ..\client\w100\glb\windows10.0-kb4465661-x86_0b254d6cae937be7ac1fa2f1126c400bc489864c.cab
2020-01-22  2:14:12.87 - Info: Deleted ..\client\w100\glb\windows10.0-kb4465663-x86_d776c4ddb6684bd1cb5cf3f681f13b21a9e2d8e1.cab
2020-01-22  2:14:13.13 - Info: Deleted ..\client\w100\glb\windows10.0-kb4467686-x86_2930e559fe770023649f0458045e3b48864a435c.cab
2020-01-22  2:14:13.22 - Info: Deleted ..\client\w100\glb\windows10.0-kb4477136-x86_eb4330ff36d4a847216fc6f7848e1784592d23e3.cab
2020-01-22  2:14:13.29 - Info: Deleted ..\client\w100\glb\windows10.0-kb4477137-x86_05c1969adc2f204ec51d3a1a26d33d3a98a8930e.cab
2020-01-22  2:14:13.62 - Info: Deleted ..\client\w100\glb\windows10.0-kb4480966-x86_1ea9934a6840285ab4ba97e72b156edc0a74d0cb.cab
2020-01-22  2:14:13.87 - Info: Deleted ..\client\w100\glb\windows10.0-kb4480978-x86_276d8a87a0994c960e99a1a71bd29913961e270e.cab
2020-01-22  2:14:14.13 - Info: Deleted ..\client\w100\glb\windows10.0-kb4483234-x86_861e99570649487937a231cb22de3e9d1771a3fe.cab
2020-01-22  2:14:14.21 - Info: Deleted ..\client\w100\glb\windows10.0-kb4485448-x86_30e34c5401a2d39c5b9090dc7d9a87fa32dbc933.cab
2020-01-22  2:14:14.28 - Info: Deleted ..\client\w100\glb\windows10.0-kb4485449-x86_0bd3147052fc77dade9ad0f85bed23acf35dd8d9.cab
2020-01-22  2:14:14.53 - Info: Deleted ..\client\w100\glb\windows10.0-kb4486996-x86_e1b9b831d8eb1003d2843ed70930bc1cbf9d93ed.cab
2020-01-22  2:14:14.64 - Info: Deleted ..\client\w100\glb\windows10.0-kb4487044-x86_616e82de656fe071dab14d5c7d0abe680f559e00.cab
2020-01-22  2:14:14.88 - Info: Deleted ..\client\w100\glb\windows10.0-kb4489868-x86_e90b901129fc2ddb50bd4fb2b107fee17c2e1b96.cab
2020-01-22  2:14:15.16 - Info: Deleted ..\client\w100\glb\windows10.0-kb4489886-x86_481dfa31a01d986220c1459f75c869f1f00510c4.cab
2020-01-22  2:14:15.28 - Info: Deleted ..\client\w100\glb\windows10.0-kb4489899-x86_a88410b246d05df6be1f35c3c31d3162f3046d61.cab
2020-01-22  2:14:16.41 - Info: Deleted ..\client\w100\glb\windows10.0-kb4499179-x86_391871452c8ebbac03c259b03eeb5e1643f4d452.cab
2020-01-22  2:14:16.50 - Info: Deleted ..\client\w100\glb\windows10.0-kb4500641-x86_d7890377b2c6aa7b0f7e03cc26c9fe8ec24b22a9.cab
2020-01-22  2:14:17.40 - Info: Deleted ..\client\w100\glb\windows10.0-kb4515530-x86_f783e7e0fd829c55d1d804df3748ffd8fdf1b359.cab
2020-01-22  2:14:18.31 - Info: Deleted ..\client\w100\glb\windows10.0-kb4523205-x86_6a1883e8b6a284db9f09506d96bac174390b6b2a.cab
2020-01-22  2:14:18.64 - Info: Deleted ..\client\w100\glb\windows10.0-kb4525237-x86_06910ee652e79e78a43824cae0fb8f28ae65c1d6.cab
2020-01-22  2:14:18.90 - Info: Deleted ..\client\w100\glb\windows10.0-kb4525241-x86_c783d04404a4033c6f0dc71311225e4788fd047e.cab
2020-01-22  2:14:19.17 - Info: Deleted ..\client\w100\glb\windows10.0-kb4530684-x86_c8a4c06cc91176156ae027b4cd092978184e275b.cab
2020-01-22  2:14:19.50 - Info: Deleted ..\client\w100\glb\windows10.0-kb4530714-x86_49d12cb4dbabcce54d456673a23fe32e00f8ff70.cab
2020-01-22  2:14:19.63 - Info: Deleted ..\client\w100\glb\windows10.0-kb4530715-x86_f4541343b1e2867e4bdada399da9b172be4a929f.cab
2020-01-22  2:14:19.86 - Info: Deleted ..\client\w100\glb\windows10.0-kb4530717-x86_6722f47bac078dbeff72d00158b8e526009540a7.cab




w100-x64: 20GB => 10GB

Code: Select all
2020-01-22  2:37:59.90 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4284835-x64_eee4f7d23b1fafa00c2d28c29856e1f3feec7520.cab
2020-01-22  2:37:59.99 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4343897-x64_321f4d6e4b8a1a6ae387a79e1c6b2c93ca5469e7.cab
2020-01-22  2:38:00.64 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4467686-x64_b8ea224c75fcbeb721408b332feb253fef26c264.cab
2020-01-22  2:38:00.80 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4477137-x64_954210e8234655d10c1b98e427c34ca7577bd48d.cab
2020-01-22  2:38:00.95 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4485448-x64_163ddeffc63e476c74a27b1134ec17114b07787b.cab
2020-01-22  2:38:01.02 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4485449-x64_acd0045fc1b06ccd8d72465e5ac592bcd7a483e9.cab
2020-01-22  2:38:01.10 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4486996-x64_102d4b95c59dcfbe27b4628d0857bbdbf3660f21.cab
2020-01-22  2:38:01.17 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4487017-x64_c935ec6bf501d5faca09228438cf7ea6c6cd14d5.cab
2020-01-22  2:38:01.24 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4489899-x64_c4ed99a219ca5cd731dd0a993b8a55097fa0a032.cab
2020-01-22  2:38:02.67 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4499179-x64_a8ec2baeac514fc018b969fb08a1f03321ebfe67.cab
2020-01-22  2:38:02.75 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4500641-x64_f36510373acd45e2d60508663d355db37373dfe1.cab
2020-01-22  2:38:03.43 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4515530-x64_0bc010eef8240311a9db2dd947ef1a1033f44a7a.cab
2020-01-22  2:38:04.60 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4523205-x64_a0666e2bc1ac90c1fe71c9e61e9360236cfc17f0.cab
2020-01-22  2:38:04.75 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4524570-x64_d9048d8efd3fda600e89c44808c8fcb5cfa2783c.cab
2020-01-22  2:38:04.93 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4525237-x64_991cc8facc32fb11023372e65eb958ce22bc465d.cab
2020-01-22  2:38:05.20 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4525241-x64_6bcd2fb6a449ce537143d495723804e504501e98.cab
2020-01-22  2:38:05.63 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530684-x64_f29fa6a3a4d91762c10de13e0f29a3017adf827f.cab
2020-01-22  2:38:06.01 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530714-x64_7174850bf9a66ab5e19142a11db1db86df3ed48a.cab
2020-01-22  2:38:06.18 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530715-x64_3e8a55ab5443eb63e6da16494984f1d88b301200.cab
2020-01-22  2:38:06.66 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530717-x64_94afd013460b5f81eb6c0705cd1be58d1da1be2c.cab
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2319
Joined: 24.11.2009, 17:00
Location: Germany

Re: Windows 10 64 bit download folder

Postby negg » 23.01.2020, 11:38

It's currently redownloading everything to my ssd drive then ill have a look at changing the script to see what the difference is.
negg
 
Posts: 165
Joined: 26.03.2014, 11:46

Re: Windows 10 64 bit download folder

Postby negg » 23.01.2020, 13:28

Worked a treat....

Deleted the following....

Code: Select all
23/01/2020 12:16:38.51 - Info: Deleted ..\client\dotnet\x64-glb\ndp47-kb4511516-x64_041e56b7b61def676ac9b359b4d0345e5302621e.exe
23/01/2020 12:16:38.64 - Info: Deleted ..\client\dotnet\x64-glb\ndp48-kb4511525-x64_002ceff3f4c279f5765c13b9f5cbe80e2ef71bb5.exe

23/01/2020 12:18:23.47 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3148851-x64_7c95f0a7e75c13c2343572fa0578db92d385947b.cab
23/01/2020 12:18:23.53 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3153731-x64_eca3c696097158053a82c06dcbeee0e8dc2a5dae.cab
23/01/2020 12:18:23.65 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3162835-x64_526450d2b0c6b043875820704f4f9f0e4ba54728.cab
23/01/2020 12:18:23.72 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3177467-v2-x64_d451c3a1c85786f9fa531fdd5033568c2f2c4aaa.cab
23/01/2020 12:18:23.76 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3177723-x64_97db0630c5cba2cc8d04b53f391f37c68c65443e.cab
23/01/2020 12:18:23.79 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3182203-x64_78276c9689f8229eb335102dfd2c99e6a7feb99e.cab
23/01/2020 12:18:23.83 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3192321-x64_1c8425960b23c1bfa06468d15809c528e0952cea.cab
23/01/2020 12:18:23.90 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb3203884-x64_81e3fc6189be8f4b85938aad1b039cd6f7e8355b.cab
23/01/2020 12:18:23.97 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4012864-x64_cc19d18efd306d3eedcaedf3750d4cf06d7afd43.cab
23/01/2020 12:18:24.09 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4015193-x64_08ff019bf5d8cf8d65347b4f4a0d76fe77436678.cab
23/01/2020 12:18:24.18 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4019990-x64_bcc5a1d0e9afec8c01c745f7b88f511a3269bc21.cab
23/01/2020 12:18:24.22 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4020322-x64_ff92616b459aa13630afba51b719444b31a4fafb.cab
23/01/2020 12:18:24.40 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4049068-x64_b2040ff2f289561c14be14dbc3c5884e32d0689f.cab
23/01/2020 12:18:24.43 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4051956-x64_b4b61b4bd3220880c262a489b21ace3c64aa42a8.cab
23/01/2020 12:18:24.55 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4074837-x64_207b41b7fe60f7e5a634f35bb81736f2b9700992.cab
23/01/2020 12:18:24.68 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4130978-x64_115f8a9528e391dad05e6477b8c207bccf1bd202.cab
23/01/2020 12:18:24.81 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4339284-x64_cdb88d9b93ff29b5563d2c2f494ba50e3604507e.cab
23/01/2020 12:18:24.97 - Info: Deleted ..\client\w61-x64\glb\windows6.1-kb4468323-x64_9124afd65a3d4e2fd1041c4792d770dc36050c54.cab

23/01/2020 12:21:59.52 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3038936-x64_384e84d370de49310681ab5fb7db1081c89d1f6c.cab
23/01/2020 12:22:00.57 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3148851-x64_630c206117db1e91d20b29987258e086b81ae23b.cab
23/01/2020 12:22:00.61 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3153731-x64_7ede42373494d28de399f7fc2ef8177dbbd7aa9e.cab
23/01/2020 12:22:00.78 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3162835-x64_7489d804b3e546e1878ed9e6bb715d74a7bcac97.cab
23/01/2020 12:22:00.90 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3177723-x64_6f7a343396b93d1a0edbb2d7acd3ad559bea3aae.cab
23/01/2020 12:22:00.95 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3182203-x64_dc32941fd9f342a86f2452895a32eaaba2184d6d.cab
23/01/2020 12:22:01.01 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3192321-x64_81e88ea0e26a7175b67ca8629644682e576233ac.cab
23/01/2020 12:22:01.09 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb3203884-x64_aefa367b8ea189621880e509a40b6acc45fffdd2.cab
23/01/2020 12:22:01.23 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4012864-x64_6920d787d9ca972b39d0848a17d4c8cd87eb2639.cab
23/01/2020 12:22:01.44 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4015193-x64_c90a0ee13d160efb10bf096778367496cc2076ed.cab
23/01/2020 12:22:01.52 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4020322-x64_9fddd18edcb6a6c771074749df334a96c62fae4f.cab
23/01/2020 12:22:01.75 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4049068-x64_72f768352d4d8283e785a7c4892657976f6e344d.cab
23/01/2020 12:22:01.83 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4051956-x64_93dc9b6ca8216240a3d14c86eb9f60566e05c314.cab
23/01/2020 12:22:02.05 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4074837-x64_ac3fb1c705d9c104b7a1d042c593a4688e21c4dd.cab
23/01/2020 12:22:02.38 - Info: Deleted ..\client\w63-x64\glb\windows8.1-kb4130978-x64_c92d3eedfa4f4a7ae7131688742d860228772072.cab

23/01/2020 12:25:07.27 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4284835-x64_eee4f7d23b1fafa00c2d28c29856e1f3feec7520.cab
23/01/2020 12:25:07.32 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4343897-x64_321f4d6e4b8a1a6ae387a79e1c6b2c93ca5469e7.cab
23/01/2020 12:25:07.47 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4467686-x64_b8ea224c75fcbeb721408b332feb253fef26c264.cab
23/01/2020 12:25:07.51 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4477137-x64_954210e8234655d10c1b98e427c34ca7577bd48d.cab
23/01/2020 12:25:07.54 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4485448-x64_163ddeffc63e476c74a27b1134ec17114b07787b.cab
23/01/2020 12:25:07.57 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4485449-x64_acd0045fc1b06ccd8d72465e5ac592bcd7a483e9.cab
23/01/2020 12:25:07.61 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4486996-x64_102d4b95c59dcfbe27b4628d0857bbdbf3660f21.cab
23/01/2020 12:25:07.64 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4487017-x64_c935ec6bf501d5faca09228438cf7ea6c6cd14d5.cab
23/01/2020 12:25:07.68 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4489899-x64_c4ed99a219ca5cd731dd0a993b8a55097fa0a032.cab
23/01/2020 12:25:08.15 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4499179-x64_a8ec2baeac514fc018b969fb08a1f03321ebfe67.cab
23/01/2020 12:25:08.19 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4500641-x64_f36510373acd45e2d60508663d355db37373dfe1.cab
23/01/2020 12:25:08.39 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4515530-x64_0bc010eef8240311a9db2dd947ef1a1033f44a7a.cab
23/01/2020 12:25:08.89 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4523205-x64_a0666e2bc1ac90c1fe71c9e61e9360236cfc17f0.cab
23/01/2020 12:25:08.98 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4524570-x64_d9048d8efd3fda600e89c44808c8fcb5cfa2783c.cab
23/01/2020 12:25:09.04 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4525237-x64_991cc8facc32fb11023372e65eb958ce22bc465d.cab
23/01/2020 12:25:09.16 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4525241-x64_6bcd2fb6a449ce537143d495723804e504501e98.cab
23/01/2020 12:25:09.25 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530684-x64_f29fa6a3a4d91762c10de13e0f29a3017adf827f.cab
23/01/2020 12:25:09.29 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530714-x64_7174850bf9a66ab5e19142a11db1db86df3ed48a.cab
23/01/2020 12:25:09.33 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530715-x64_3e8a55ab5443eb63e6da16494984f1d88b301200.cab
23/01/2020 12:25:09.37 - Info: Deleted ..\client\w100-x64\glb\windows10.0-kb4530717-x64_94afd013460b5f81eb6c0705cd1be58d1da1be2c.cab

negg
 
Posts: 165
Joined: 26.03.2014, 11:46

Re: Windows 10 64 bit download folder

Postby PaulNM » 28.01.2020, 01:35

What do we need to change in the Linux scripts to get this fix working? I'm currently using 1.17, which only has the Office download fixes as far as I know.

Thanks for getting this figured out.

- PaulNM
PaulNM
 
Posts: 2
Joined: 15.12.2019, 01:56

Re: Windows 10 64 bit download folder

Postby hbuhrmester » 29.01.2020, 23:15

The patch for the Linux scripts would be:

  1. Create the new XSLT transformation file wsusoffline/xslt/extract-file-ids-and-locations.xsl, as shown in https://forums.wsusoffline.net/viewtopic.php?f=3&t=9955&start=10#p30568 .

    Code: Select all
    <?xml version="1.0"?>
    <!--
      Author: H. Buhrmester, 2020
      Filename: extract-file-ids-and-locations.xsl

      This file extracts the following fields:
      Field 1: File Id
      Field 2: File Url (Location)
    -->
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:__="http://schemas.microsoft.com/msus/2004/02/OfflineSync" version="1.0">
      <xsl:output omit-xml-declaration="yes" indent="no" method="text" />
      <xsl:template match="/">
        <xsl:for-each select="__:OfflineSyncPackage/__:FileLocations/__:FileLocation">
          <xsl:value-of select="@Id" />
          <xsl:text>,</xsl:text>
          <xsl:value-of select="@Url" />
          <xsl:text>&#10;</xsl:text>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>


  2. Only in the file download-updates-tasks/50-superseded-updates.bash,

    Code: Select all
    Replace:  ../xslt/extract-update-cab-exe-ids-and-locations.xsl
    With:     ../xslt/extract-file-ids-and-locations.xsl

    Replace:  "${temp_dir}/UpdateCabExeIdsAndLocations.txt"
    With:     "${temp_dir}/file-ids-and-locations.txt"

    In the comments, also replace:  UpdateCabExeIdsAndLocations.txt
    With:                           file-ids-and-locations.txt



    As a diff file, this looks like:

    Code: Select all
    --- /home/hb1/Projekte/Releases/2020-01-10_version_1.17/Uploads/sh-1.17/download-updates-tasks/50-superseded-updates.bash   2020-01-08 16:13:27.766791000 +0100
    +++ /home/hb1/Projekte/wsusoffline-current/sh-testing/download-updates-tasks/50-superseded-updates.bash   2020-01-29 22:38:57.947524514 +0100
    @@ -408,15 +408,15 @@
     
         log_info_message "Extracting file 6, FileIds and Locations (URLs)..."
         ${xmlstarlet} transform \
    -        ../xslt/extract-update-cab-exe-ids-and-locations.xsl \
    +        ../xslt/extract-file-ids-and-locations.xsl \
             "${cache_dir}/package.xml" \
    -        > "${temp_dir}/UpdateCabExeIdsAndLocations.txt"
    -    sort_in_place "${temp_dir}/UpdateCabExeIdsAndLocations.txt"
    +        > "${temp_dir}/file-ids-and-locations.txt"
    +    sort_in_place "${temp_dir}/file-ids-and-locations.txt"
     
         # Input files:
         # File 1: SupersededFileIds.txt
         # - Field 1: superseded FileId
    -    # File 2: UpdateCabExeIdsAndLocations.txt
    +    # File 2: file-ids-and-locations.txt
         # - Field 1: FileId
         # - Field 2: File Location (URL)
         #
    @@ -424,7 +424,7 @@
         log_info_message "Joining files 5 and 6 to file 7, superseded File Locations (URLs)..."
         join -t ',' -o 2.2 \
             "${temp_dir}/SupersededFileIds.txt" \
    -        "${temp_dir}/UpdateCabExeIdsAndLocations.txt" \
    +        "${temp_dir}/file-ids-and-locations.txt" \
             > "${temp_dir}/ExcludeListLocations-superseded-all.txt"
         sort_in_place "${temp_dir}/ExcludeListLocations-superseded-all.txt"
     
    @@ -503,12 +503,12 @@
     
         if [[ -s "${temp_dir}/hidden-kb-numbers.txt" ]]; then
     
    -        # By searching the file UpdateCabExeIdsAndLocations.txt, the kb
    +        # By searching the file file-ids-and-locations.txt, the kb
             # numbers in the file HideList-seconly.txt can be traced back
             # to the File Locations (URLs) and the FileIds.
             log_info_message "Create a list of hidden FileIds and Locations..."
             grep -F -i -f "${temp_dir}/hidden-kb-numbers.txt" \
    -            "${temp_dir}/UpdateCabExeIdsAndLocations.txt" \
    +            "${temp_dir}/file-ids-and-locations.txt" \
                 > "${temp_dir}/hidden-file-ids-and-locations.txt" || true
             sort_in_place "${temp_dir}/hidden-file-ids-and-locations.txt"
     
    @@ -596,7 +596,7 @@
             # Input files:
             # File 1: SupersededFileIds-Revised.txt
             # - Field 1: FileId
    -        # File 2: UpdateCabExeIdsAndLocations.txt
    +        # File 2: file-ids-and-locations.txt
             # - Field 1: FileId
             # - Field 2: File Location (URL)
             #
    @@ -604,7 +604,7 @@
             log_info_message "Build a list of superseded File Locations (revised)..."
             join -t ',' -o 2.2 \
                 "${temp_dir}/SupersededFileIds-Revised.txt" \
    -            "${temp_dir}/UpdateCabExeIdsAndLocations.txt" \
    +            "${temp_dir}/file-ids-and-locations.txt" \
                 > "${temp_dir}/ExcludeListLocations-superseded-all-revised.txt"
             sort_in_place "${temp_dir}/ExcludeListLocations-superseded-all-revised.txt"
     


    Note, that there is one empty line at the end. It is one of the three context lines, that diff prints before and after the changes.

  3. Delete the files (if existing):

    Code: Select all
    wsusoffline/exclude/ExcludeList-Linux-superseded.txt
    wsusoffline/exclude/ExcludeList-Linux-superseded-seconly.txt
    wsusoffline/exclude/ExcludeList-Linux-superseded-seconly-revised.txt
hbuhrmester
 
Posts: 459
Joined: 11.10.2013, 20:59

Re: Windows 10 64 bit download folder

Postby zirli » 07.02.2020, 23:03

is this fix getting integrated in the next wsusoffline version-update, so that it only downloads necessary update packages from now on?
zirli
 
Posts: 5
Joined: 15.01.2020, 13:59

Re: Windows 10 64 bit download folder

Postby boco » 08.02.2020, 02:47

I guess it will be integrated, next to a few others, as final fix. Currently, the development tool (trac) is out of order.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2319
Joined: 24.11.2009, 17:00
Location: Germany

Re: Windows 10 64 bit download folder

Postby negg » 25.02.2020, 21:57

Can this now be added to the trunk now its working fully again :)
negg
 
Posts: 165
Joined: 26.03.2014, 11:46

PreviousNext

Return to Download

Who is online

Users browsing this forum: No registered users and 21 guests