Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processor change to address Outlook Monthly/Weekly differences #460

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

poundbangbash
Copy link
Contributor

Microsoft has added a weekly update to Outlook that addresses feature additions/changes to Outlook.
A monthly update is available that includes all features plus the important security updates.

The monthly updates are only available for the Outlook product and has its own, new Channel for update checks.

This update incorporates the new monthly offering and checks for misuse of the Outlook-only channel in other MS recipes.

Autopkg runs:

Word download recipe run with no channel set:
Expected failure with proper information about catalog options.

> autopkg run -v Word365
Processing Word365...
MSOfficeMacURLandUpdateInfoProvider
'channel' input variable must be one of: CurrentThrottle, Production, InsiderSlow, InsiderFast or a custom uuid. Note: CurrentThrottle is only for use with Outook Monthly updates.
Failed.
Receipt written to /Users/eholtam/Library/AutoPkg/Cache/local.Word365/receipts/Word365-receipt-20230420-104910.plist

The following recipes failed:
    Word365
        Error in local.Word365: Processor: MSOfficeMacURLandUpdateInfoProvider: Error: 'channel' input variable must be one of: CurrentThrottle, Production, InsiderSlow, InsiderFast or a custom uuid. Note: CurrentThrottle is only for use with Outook Monthly updates.

Nothing downloaded, packaged or imported.

Word download recipe run with CurrentThrottle channel set:

~ ))> autopkg run -v Word365                             
Processing Word365...
MSOfficeMacURLandUpdateInfoProvider
'CurrentThrottle' channel is only for use with Outlook.
Failed.
Receipt written to /Users/eholtam/Library/AutoPkg/Cache/local.Word365/receipts/Word365-receipt-20230420-105011.plist

The following recipes failed:
    Word365
        Error in local.Word365: Processor: MSOfficeMacURLandUpdateInfoProvider: Error: 'CurrentThrottle' channel is only for use with Outlook.

Nothing downloaded, packaged or imported.

Outlook download recipe run with CurrentThrottle channel set:
Note the channel value A1E15C18-4D18-40B0-8577-616A9470BB10 and that the version 16.72.23040900 of what is downloaded is older than the weekly download below.

Processing Outlook365MonthlyDownload...
MSOfficeMacURLandUpdateInfoProvider
MSOfficeMacURLandUpdateInfoProvider: Requesting xml: https://officecdn.microsoft.com/pr/A1E15C18-4D18-40B0-8577-616A9470BB10/MacAutoupdate/0409OPIM2019.xml
MSOfficeMacURLandUpdateInfoProvider: Found URL https://officecdnmac.microsoft.com/pr/A1E15C18-4D18-40B0-8577-616A9470BB10/MacAutoupdate/Microsoft_Outlook_16.72.23040900_Updater.pkg
MSOfficeMacURLandUpdateInfoProvider: Got update: 'Outlook Update 16.72.0 (23040900)'
MSOfficeMacURLandUpdateInfoProvider: Extracting version 16.72.23040900 from metadata 'Update Version' key
MSOfficeMacURLandUpdateInfoProvider: Adding minimum required version: 16.17
MSOfficeMacURLandUpdateInfoProvider: Extracting version 16.72.23040900 from metadata 'Update Version' key
MSOfficeMacURLandUpdateInfoProvider: Additional pkginfo: {'minimum_os_version': '11.0', 'installs': [{'CFBundleVersion': '16.72.23040900', 'path': '/Applications/Microsoft Outlook.app', 'type': 'application', 'minimum_update_version': '16.17'}]}
URLDownloader
URLDownloader: Storing new Last-Modified header: Tue, 11 Apr 2023 15:50:43 GMT
URLDownloader: Storing new ETag header: "0x16C8D0A75E8AF4AB203FF937FD09583411FDA5BA0F6D4E1AA5C17ECA84B48B65"
URLDownloader: Downloaded /Users/eholtam/Library/AutoPkg/Cache/local.Outlook365MonthlyDownload/downloads/MSOutlook2019-16.72.23040900.pkg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "MSOutlook2019-16.72.23040900.pkg":
CodeSignatureVerifier:    Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier:    Notarization: trusted by the Apple notary service
CodeSignatureVerifier:    Signed with a trusted timestamp on: 2023-04-10 10:30:19 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Microsoft Corporation (UBF8T346G9)
CodeSignatureVerifier:        Expires: 2023-05-16 04:46:41 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            6A 66 CD 33 B5 5B 9C 14 86 02 29 09 DB 7E 00 85 53 11 29 6B CE 11 
CodeSignatureVerifier:            9F 2A 93 5C 69 BF 56 3A 79 82
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C 
CodeSignatureVerifier:            68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
Receipt written to /Users/eholtam/Library/AutoPkg/Cache/local.Outlook365MonthlyDownload/receipts/Outlook365MonthlyDownload-receipt-20230420-105300.plist

The following new items were downloaded:
    Download Path                                                                                                    
    -------------                                                                                                    
    /Users/eholtam/Library/AutoPkg/Cache/local.Outlook365MonthlyDownload/downloads/MSOutlook2019-16.72.23040900.pkg  

Outlook download recipe run with Production channel set:
Note the channel value C1297A47-86C4-4C1F-97FA-950631F94777 and that the version 16.72.23041401 of what is downloaded is newer than the monthly download above.

Processing Outlook365WeeklyDownload...
MSOfficeMacURLandUpdateInfoProvider
MSOfficeMacURLandUpdateInfoProvider: Requesting xml: https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/0409OPIM2019.xml
MSOfficeMacURLandUpdateInfoProvider: Found URL https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Outlook_16.72.23041401_Updater.pkg
MSOfficeMacURLandUpdateInfoProvider: Got update: 'Outlook Update 16.72.1 (23041401)'
MSOfficeMacURLandUpdateInfoProvider: Extracting version 16.72.23041401 from metadata 'Update Version' key
MSOfficeMacURLandUpdateInfoProvider: Adding minimum required version: 16.17
MSOfficeMacURLandUpdateInfoProvider: Extracting version 16.72.23041401 from metadata 'Update Version' key
MSOfficeMacURLandUpdateInfoProvider: Additional pkginfo: {'minimum_os_version': '11.0', 'installs': [{'CFBundleVersion': '16.72.23041401', 'path': '/Applications/Microsoft Outlook.app', 'type': 'application', 'minimum_update_version': '16.17'}]}
URLDownloader
URLDownloader: Storing new Last-Modified header: Tue, 18 Apr 2023 15:51:19 GMT
URLDownloader: Storing new ETag header: "0x0CA252561BB0F46865B9BA5A2D1DCEB270AC2FB889F64B3CF06EEB3BCF56BE67"
URLDownloader: Downloaded /Users/eholtam/Library/AutoPkg/Cache/local.Outlook365WeeklyDownload/downloads/MSOutlook2019-16.72.23041401.pkg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "MSOutlook2019-16.72.23041401.pkg":
CodeSignatureVerifier:    Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier:    Notarization: trusted by the Apple notary service
CodeSignatureVerifier:    Signed with a trusted timestamp on: 2023-04-15 08:27:14 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Microsoft Corporation (UBF8T346G9)
CodeSignatureVerifier:        Expires: 2023-05-16 04:46:41 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            6A 66 CD 33 B5 5B 9C 14 86 02 29 09 DB 7E 00 85 53 11 29 6B CE 11 
CodeSignatureVerifier:            9F 2A 93 5C 69 BF 56 3A 79 82
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C 
CodeSignatureVerifier:            68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
Receipt written to /Users/eholtam/Library/AutoPkg/Cache/local.Outlook365WeeklyDownload/receipts/Outlook365WeeklyDownload-receipt-20230420-105436.plist

The following new items were downloaded:
    Download Path                                                                                                   
    -------------                                                                                                   
    /Users/eholtam/Library/AutoPkg/Cache/local.Outlook365WeeklyDownload/downloads/MSOutlook2019-16.72.23041401.pkg  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant