Skip to content

Comments

New OneDrive labels that pull from the same feed as the OneDrive StandaloneUpdater tool#2069

Merged
bartreardon merged 1 commit intoInstallomator:mainfrom
gilburns:onedrive-xml-feeds
Feb 10, 2025
Merged

New OneDrive labels that pull from the same feed as the OneDrive StandaloneUpdater tool#2069
bartreardon merged 1 commit intoInstallomator:mainfrom
gilburns:onedrive-xml-feeds

Conversation

@gilburns
Copy link
Contributor

@gilburns gilburns commented Dec 9, 2024

This uses the same XML feeds that the OneDrive StandaloneUpdater tool uses to update the app. Two labels included. One for the Production feed, the other for the Insiders feed.

@gilburns
Copy link
Contributor Author

gilburns commented Dec 9, 2024

Production Test:

assemble.sh microsoftonedrivesuprod
2024-12-09 08:49:37 : REQ   : microsoftonedrivesuprod : ################## Start Installomator v. 10.7beta, date 2024-12-09
2024-12-09 08:49:37 : INFO  : microsoftonedrivesuprod : ################## Version: 10.7beta
2024-12-09 08:49:37 : INFO  : microsoftonedrivesuprod : ################## Date: 2024-12-09
2024-12-09 08:49:37 : INFO  : microsoftonedrivesuprod : ################## microsoftonedrivesuprod
2024-12-09 08:49:37 : DEBUG : microsoftonedrivesuprod : DEBUG mode 1 enabled.
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : name=OneDrive
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : appName=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : type=pkg
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : archiveName=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : downloadURL=https://oneclient.sfx.ms/Mac/Installers/24.221.1103.0003/universal/OneDrive.pkg
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : curlOptions=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : appNewVersion=24.221.1103
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : appCustomVersion function: Not defined
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : versionKey=CFBundleShortVersionString
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : packageID=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : pkgName=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : choiceChangesXML=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : expectedTeamID=UBF8T346G9
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : blockingProcesses=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : installerTool=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : CLIInstaller=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : CLIArguments=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : updateTool=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : updateToolArguments=
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : updateToolRunAsCurrentUser=
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : BLOCKING_PROCESS_ACTION=tell_user
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : NOTIFY=success
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : LOGGING=DEBUG
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : Label type: pkg
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : archiveName: OneDrive.pkg
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : no blocking processes defined, using OneDrive as default
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : Changing directory to /Users/gilburns/GitHub/Installomator/build
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : App(s) found: /Applications/OneDrive.app
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : found app at /Applications/OneDrive.app, version 24.226.1110, on versionKey CFBundleShortVersionString
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : appversion: 24.226.1110
2024-12-09 08:49:40 : INFO  : microsoftonedrivesuprod : Latest version of OneDrive is 24.221.1103
2024-12-09 08:49:40 : REQ   : microsoftonedrivesuprod : Downloading https://oneclient.sfx.ms/Mac/Installers/24.221.1103.0003/universal/OneDrive.pkg to OneDrive.pkg
2024-12-09 08:49:40 : DEBUG : microsoftonedrivesuprod : No Dialog connection, just download
2024-12-09 08:51:20 : DEBUG : microsoftonedrivesuprod : File list: -rw-r--r--  1 gilburns  staff   304M Dec  9 08:51 OneDrive.pkg
2024-12-09 08:51:20 : DEBUG : microsoftonedrivesuprod : File type: OneDrive.pkg: xar archive compressed TOC: 7129, SHA-1 checksum
2024-12-09 08:51:20 : DEBUG : microsoftonedrivesuprod : curl output was:
* Host oneclient.sfx.ms:443 was resolved.
* IPv6: 2600:1407:7800:49b::25bb, 2600:1407:7800:499::25bb, 2600:1407:7800:4a6::25bb
* IPv4: 23.44.17.137
*   Trying 23.44.17.137:443...
* Connected to oneclient.sfx.ms (23.44.17.137) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [321 bytes data]
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4540 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=*.sfx.ms
*  start date: Apr 25 19:06:10 2024 GMT
*  expire date: Apr 20 19:06:10 2025 GMT
*  subjectAltName: host "oneclient.sfx.ms" matched cert's "*.sfx.ms"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure RSA TLS Issuing CA 07
*  SSL certificate verify ok.
* using HTTP/1.x
> GET /Mac/Installers/24.221.1103.0003/universal/OneDrive.pkg HTTP/1.1
> Host: oneclient.sfx.ms
> User-Agent: curl/8.7.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Type: application/octet-stream
< ETag: "309e8c4eb1751b4eb67ef9044ab55c93:1732040328.825585"
< Last-Modified: Tue, 19 Nov 2024 18:18:48 GMT
< Server: AkamaiNetStorage
< Content-Length: 318389058
< Date: Mon, 09 Dec 2024 14:49:45 GMT
< Connection: keep-alive
< 
{ [16083 bytes data]
* Connection #0 to host oneclient.sfx.ms left intact

2024-12-09 08:51:20 : DEBUG : microsoftonedrivesuprod : DEBUG mode 1, not checking for blocking processes
2024-12-09 08:51:20 : REQ   : microsoftonedrivesuprod : Installing OneDrive
2024-12-09 08:51:20 : INFO  : microsoftonedrivesuprod : Verifying: OneDrive.pkg
2024-12-09 08:51:20 : DEBUG : microsoftonedrivesuprod : File list: -rw-r--r--  1 gilburns  staff   304M Dec  9 08:51 OneDrive.pkg
2024-12-09 08:51:20 : DEBUG : microsoftonedrivesuprod : File type: OneDrive.pkg: xar archive compressed TOC: 7129, SHA-1 checksum
2024-12-09 08:51:21 : DEBUG : microsoftonedrivesuprod : spctlOut is OneDrive.pkg: accepted
2024-12-09 08:51:21 : DEBUG : microsoftonedrivesuprod : source=Notarized Developer ID
2024-12-09 08:51:21 : DEBUG : microsoftonedrivesuprod : origin=Developer ID Installer: Microsoft Corporation (UBF8T346G9)
2024-12-09 08:51:21 : INFO  : microsoftonedrivesuprod : Team ID: UBF8T346G9 (expected: UBF8T346G9 )
2024-12-09 08:51:21 : DEBUG : microsoftonedrivesuprod : DEBUG enabled, skipping installation
2024-12-09 08:51:21 : INFO  : microsoftonedrivesuprod : Finishing...
2024-12-09 08:51:24 : INFO  : microsoftonedrivesuprod : App(s) found: /Applications/OneDrive.app
2024-12-09 08:51:24 : INFO  : microsoftonedrivesuprod : found app at /Applications/OneDrive.app, version 24.226.1110, on versionKey CFBundleShortVersionString
2024-12-09 08:51:24 : REQ   : microsoftonedrivesuprod : Installed OneDrive, version 24.221.1103
2024-12-09 08:51:24 : INFO  : microsoftonedrivesuprod : notifying
ERROR: Notifications are not allowed for this application
2024-12-09 08:51:24 : DEBUG : microsoftonedrivesuprod : DEBUG mode 1, not reopening anything
2024-12-09 08:51:24 : REQ   : microsoftonedrivesuprod : All done!
2024-12-09 08:51:24 : REQ   : microsoftonedrivesuprod : ################## End Installomator, exit code 0 

@gilburns
Copy link
Contributor Author

gilburns commented Dec 9, 2024

Insiders test:

assemble.sh microsoftonedrivesuinsiders
2024-12-09 09:01:24 : REQ   : microsoftonedrivesuinsiders : ################## Start Installomator v. 10.7beta, date 2024-12-09
2024-12-09 09:01:24 : INFO  : microsoftonedrivesuinsiders : ################## Version: 10.7beta
2024-12-09 09:01:24 : INFO  : microsoftonedrivesuinsiders : ################## Date: 2024-12-09
2024-12-09 09:01:24 : INFO  : microsoftonedrivesuinsiders : ################## microsoftonedrivesuinsiders
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : DEBUG mode 1 enabled.
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : name=OneDrive
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : appName=
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : type=pkg
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : archiveName=
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : downloadURL=https://oneclient.sfx.ms/Mac/Installers/24.226.1110.0003/universal/OneDrive.pkg
2024-12-09 09:01:24 : DEBUG : microsoftonedrivesuinsiders : curlOptions=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : appNewVersion=24.226.1110
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : appCustomVersion function: Not defined
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : versionKey=CFBundleShortVersionString
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : packageID=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : pkgName=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : choiceChangesXML=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : expectedTeamID=UBF8T346G9
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : blockingProcesses=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : installerTool=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : CLIInstaller=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : CLIArguments=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : updateTool=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : updateToolArguments=
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : updateToolRunAsCurrentUser=
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : BLOCKING_PROCESS_ACTION=tell_user
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : NOTIFY=success
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : LOGGING=DEBUG
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : Label type: pkg
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : archiveName: OneDrive.pkg
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : no blocking processes defined, using OneDrive as default
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : Changing directory to /Users/gilburns/GitHub/Installomator/build
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : App(s) found: /Applications/OneDrive.app
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : found app at /Applications/OneDrive.app, version 24.226.1110, on versionKey CFBundleShortVersionString
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : appversion: 24.226.1110
2024-12-09 09:01:25 : INFO  : microsoftonedrivesuinsiders : Latest version of OneDrive is 24.226.1110
2024-12-09 09:01:25 : WARN  : microsoftonedrivesuinsiders : DEBUG mode 1 enabled, not exiting, but there is no new version of app.
2024-12-09 09:01:25 : REQ   : microsoftonedrivesuinsiders : Downloading https://oneclient.sfx.ms/Mac/Installers/24.226.1110.0003/universal/OneDrive.pkg to OneDrive.pkg
2024-12-09 09:01:25 : DEBUG : microsoftonedrivesuinsiders : No Dialog connection, just download
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : File list: -rw-r--r--  1 gilburns  staff   304M Dec  9 09:02 OneDrive.pkg
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : File type: OneDrive.pkg: xar archive compressed TOC: 7123, SHA-1 checksum
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : curl output was:
* Host oneclient.sfx.ms:443 was resolved.
* IPv6: 2600:1407:7800:490::25bb, 2600:1407:7800:48e::25bb, 2600:1407:7800:493::25bb, 2600:1407:7800:496::25bb, 2600:1407:7800:499::25bb
* IPv4: 23.37.25.138
*   Trying 23.37.25.138:443...
* Connected to oneclient.sfx.ms (23.37.25.138) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [321 bytes data]
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
{ [108 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4540 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=*.sfx.ms
*  start date: Apr 25 19:06:10 2024 GMT
*  expire date: Apr 20 19:06:10 2025 GMT
*  subjectAltName: host "oneclient.sfx.ms" matched cert's "*.sfx.ms"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure RSA TLS Issuing CA 07
*  SSL certificate verify ok.
* using HTTP/1.x
> GET /Mac/Installers/24.226.1110.0003/universal/OneDrive.pkg HTTP/1.1
> Host: oneclient.sfx.ms
> User-Agent: curl/8.7.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Type: application/octet-stream
< ETag: "16fda044e9849057cd7fb7b11027464f:1732041081.698289"
< Last-Modified: Tue, 19 Nov 2024 18:31:21 GMT
< Server: AkamaiNetStorage
< Content-Length: 318865376
< Date: Mon, 09 Dec 2024 15:01:25 GMT
< Connection: keep-alive
< 
{ [16083 bytes data]
* Connection #0 to host oneclient.sfx.ms left intact

2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : DEBUG mode 1, not checking for blocking processes
2024-12-09 09:02:58 : REQ   : microsoftonedrivesuinsiders : Installing OneDrive
2024-12-09 09:02:58 : INFO  : microsoftonedrivesuinsiders : Verifying: OneDrive.pkg
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : File list: -rw-r--r--  1 gilburns  staff   304M Dec  9 09:02 OneDrive.pkg
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : File type: OneDrive.pkg: xar archive compressed TOC: 7123, SHA-1 checksum
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : spctlOut is OneDrive.pkg: accepted
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : source=Notarized Developer ID
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : origin=Developer ID Installer: Microsoft Corporation (UBF8T346G9)
2024-12-09 09:02:58 : INFO  : microsoftonedrivesuinsiders : Team ID: UBF8T346G9 (expected: UBF8T346G9 )
2024-12-09 09:02:58 : DEBUG : microsoftonedrivesuinsiders : DEBUG enabled, skipping installation
2024-12-09 09:02:58 : INFO  : microsoftonedrivesuinsiders : Finishing...
2024-12-09 09:03:01 : INFO  : microsoftonedrivesuinsiders : App(s) found: /Applications/OneDrive.app
2024-12-09 09:03:01 : INFO  : microsoftonedrivesuinsiders : found app at /Applications/OneDrive.app, version 24.226.1110, on versionKey CFBundleShortVersionString
2024-12-09 09:03:01 : REQ   : microsoftonedrivesuinsiders : Installed OneDrive, version 24.226.1110
2024-12-09 09:03:01 : INFO  : microsoftonedrivesuinsiders : notifying
ERROR: Notifications are not allowed for this application
2024-12-09 09:03:01 : DEBUG : microsoftonedrivesuinsiders : DEBUG mode 1, not reopening anything
2024-12-09 09:03:01 : REQ   : microsoftonedrivesuinsiders : All done!
2024-12-09 09:03:01 : REQ   : microsoftonedrivesuinsiders : ################## End Installomator, exit code 0 

@bartreardon bartreardon added application adds or improves an application label validated App label that has been validated by the validation bot labels Feb 7, 2025
@bartreardon
Copy link
Collaborator

🤖 Validation robot 🤖
File fragments/labels/microsoftonedrivesuinsiders.sh
** Label info:
├ ✅ correct line ending
├ ✅ Name: OneDrive
├ ✅ Type: pkg
├ ✅ Expected Team: UBF8T346G9
├ ✅ App New Version: 25.005.0112
└ Download URL: https://oneclient.sfx.ms/Mac/Installers/25.005.0112.0003/universal/OneDrive.pkg
├ ✅ URL is reachable
└ ✅ Download Size: 295.9 MB
✅ All checks passed


🤖 Validation robot 🤖
File fragments/labels/microsoftonedrivesuprod.sh
** Label info:
├ ✅ correct line ending
├ ✅ Name: OneDrive
├ ✅ Type: pkg
├ ✅ Expected Team: UBF8T346G9
├ ✅ App New Version: 25.005.0112
└ Download URL: https://oneclient.sfx.ms/Mac/Installers/25.005.0112.0003/universal/OneDrive.pkg
├ ✅ URL is reachable
└ ✅ Download Size: 295.9 MB
✅ All checks passed


@bartreardon bartreardon added this to the v10.8 milestone Feb 7, 2025
@bartreardon
Copy link
Collaborator

Thank you!

@bartreardon bartreardon merged commit b2e245e into Installomator:main Feb 10, 2025
@gilburns gilburns deleted the onedrive-xml-feeds branch February 25, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label validated App label that has been validated by the validation bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants