Old Office x64 links are not removed during update

Old Office x64 links are not removed during update

Postby hbuhrmester » 11.12.2016, 19:13

I noticed, that two old Office x64 links were not removed during the update from version 10.8 to 10.8.1. They are also preserved at the next update to version 10.9. This means, that two additional files are downloaded:
Code: Select all
lync2013-kb3115431-fullfile-x64-glb.exe
lync2016-kb3115408-fullfile-x64-glb.exe


The file static\custom\StaticDownloadLinks-o2k13-glb.txt has the contents:
Code: Select all
http://download.microsoft.com/download/8/F/6/8F696C87-0D9E-4E25-AA0F-C5B81C973E30/lync2013-kb3115431-fullfile-x64-glb.exe
http://download.microsoft.com/download/5/8/3/58362B10-6044-4DD4-84C7-FF62CEE3A229/proofloc2013-kb2880463-fullfile-x64-glb.exe
http://download.microsoft.com/download/5/5/3/5535D543-D298-41D0-AE36-9EF75D700CD9/conv2013-kb3114340-fullfile-x64-glb.exe
http://download.microsoft.com/download/1/F/E/1FE178BA-B1C7-430F-9097-E5A873C076C4/lyncmso2013-kb3039779-fullfile-x64-glb.exe
http://download.microsoft.com/download/D/5/D/D5DD5784-49DE-4950-8079-8C48AF64206D/lync2013-kb3118348-fullfile-x64-glb.exe


The file static\custom\StaticDownloadLinks-o2k16-glb.txt has the contents:
Code: Select all
http://download.microsoft.com/download/E/0/B/E0BEE6D0-988C-4643-9555-EA25911519EA/lync2016-kb3115408-fullfile-x64-glb.exe
http://download.microsoft.com/download/D/6/4/D64F3999-0D88-4BCE-A0C9-7FA9E9FC31F9/conv2016-kb3085635-fullfile-x64-glb.exe
http://download.microsoft.com/download/1/C/B/1CB45E2B-77DE-42C6-930A-8B7768C5F668/visio2016-kb3115041-fullfile-x64-glb.exe
http://download.microsoft.com/download/C/F/A/CFA12224-1328-477B-92CA-7567EF325DC8/lync2016-kb3118327-fullfile-x64-glb.exe


The links http://download.microsoft.com/download/ ... 64-glb.exe and http://download.microsoft.com/download/ ... 64-glb.exe are both leftovers from version 10.8. If the archive wsusoffline108.zip is newly unpacked, they can be found in the static directory. They can not be found in version 10.8.1.

The course of events seems to be:

  1. The version 10.8 is installed

  2. Office 64-bit support is enabled with:
    Code: Select all
    AddOffice2010x64Support.cmd deu
    AddOffice2010x64Support.cmd enu

    Basically, this copies the files StaticDownloadLinks-o2k13-x64-glb.txt and StaticDownloadLinks-o2k16-x64-glb.txt from the static to the static\custom directory.

  3. The changeset 826 was submitted between the releases 10.8 and 10.8.1. This changeset replaces the files StaticDownloadLinks-o2k13-x64-glb.txt and StaticDownloadLinks-o2k16-x64-glb.txt:

    http://trac.wsusoffline.net/changeset/8 ... 64-glb.txt
    http://trac.wsusoffline.net/changeset/8 ... 64-glb.txt

    The new files are also downloaded to version 10.8 using the Update of Static Download Definitions (SDD). But it is important to note, that this mechanism only replaces files in the static directory, not their copies in the static\custom directory. After this update, the files
    Code: Select all
    static\StaticDownloadLinks-o2k13-x64-glb.txt
    static\StaticDownloadLinks-o2k16-x64-glb.txt


    are different from the files
    Code: Select all
    static\custom\StaticDownloadLinks-o2k13-x64-glb.txt
    static\custom\StaticDownloadLinks-o2k16-x64-glb.txt

  4. During the update of WSUS Offline Update from version 10.8 to 10.8.1, the scripts
    Code: Select all
    RemoveOffice2010x64Support.cmd deu
    RemoveOffice2010x64Support.cmd enu

    are called. The script RemoveOffice2010x64Support.cmd doesn't simply remove the files in the static\custom directory. It compares the files in the static and static\custom directories and only removes common links from the files in the static\custom directory. Links, which are unique to the static\custom directory, are not removed. This is supposed to protect a manual customization of these files.

    The script RemoveOffice2010x64Support.cmd then removes empty files from the static\custom directory. This removes most of the Office x64 static download files in the static\custom directory.

    But at this point, if fails to remove the link for lync2013-kb3115431-fullfile-x64-glb.exe from the file static\custom\StaticDownloadLinks-o2k13-glb.txt, because it cannot be found anymore in the static directory. Since the file static\custom\StaticDownloadLinks-o2k13-glb.txt is not empty, it will not be deleted.

    The same happens with the link for lync2016-kb3115408-fullfile-x64-glb.exe in the file static\custom\StaticDownloadLinks-o2k16-glb.txt.

  5. After the update, the scripts
    Code: Select all
    AddOffice2010x64Support.cmd deu
    AddOffice2010x64Support.cmd enu

    are called again. Now the script AddOffice2010x64Support.cmd appends the files from the static directory to their counterparts the static\custom directory.

    The result is, that the files static\custom\StaticDownloadLinks-o2k13-glb.txt and static\custom\StaticDownloadLinks-o2k16-glb.txt both have one additional link.


To correct this result, you could do the following:

  1. Manually remove all Office x64 static download files from the static\custom directory.
  2. Run the script AddOffice2010x64Support.cmd again:
    Code: Select all
    AddOffice2010x64Support.cmd deu
    AddOffice2010x64Support.cmd enu

Edited and updated on 2017-01-08.
Last edited by aker on 08.01.2017, 23:22, edited 2 times in total.
Reason: marked as important for 14 days
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: Old Office x64 links are not removed during update

Postby hbuhrmester » 08.01.2017, 15:25

Edited and updated the previous post. This is only to mark the whole topic as changed.
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: Old Office x64 links are not removed during update

Postby WSUSUpdateAdmin » 10.01.2017, 22:28

Dankeschön, Hartmut,

sehe ich mir (morgen oder übermorgen) an.

Viele Grüße,
Torsten
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Old Office x64 links are not removed during update

Postby WSUSUpdateAdmin » 23.01.2017, 14:19

Moin!

...oder in zwei Wochen... :roll:
Wie auch immer: Fixed in r852 (hab' die entsprechenden Abschnitte aus UpdateOU.cmd in DownloadUpdates.cmd übernommen).

Danke & Gruß
Torsten
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Verschiedenes / Miscellaneous

Who is online

Users browsing this forum: No registered users and 57 guests