mirror of
https://github.com/Installomator/Installomator.git
synced 2026-03-02 08:52:07 +00:00
Broken app label: microsoftcompanyportal #201
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erefneb on GitHub.
What's wrong with the app label?
The "microsoftcompanyportal" downloadURL is incorrect.
The correct downloadURL for the always latest version is https://go.microsoft.com/fwlink/?linkid=853070
Installomator version
Installomator v10.6
Additional context
The download url for "Intune Company Portal Standalone Installer" on macadmins.software has been incorrect for some time now.
It does not download the latest version. It downloads CompanyPortal_5.2310.5-Installer.pkg from 2023-11-11.
@sean-enright commented on GitHub:
Thanks for the info, i replaced the URL in the script itself and it failed still.............
@sean-enright commented on GitHub:
Came here to report this is still an issue.
2024-10-14 15:32:41 : INFO : microsoftcompanyportal : found app at /Applications/Company Portal.app, version 5.2310.5, on versionKey CFBundleShortVersionString
2024-10-14 15:32:41 : INFO : microsoftcompanyportal : appversion: 5.2310.5
2024-10-14 15:32:41 : INFO : microsoftcompanyportal : Latest version of Company Portal is 5.2310.5
2024-10-14 15:32:41 : INFO : microsoftcompanyportal : There is no newer version available.
@erefneb commented on GitHub:
A little birdie recently informed me there is an Installomator flag just for this. "downloadURL"
You can use this flag to specify/override the URL for an app.
Here is the correct (always up to date) URL for Company Portal.
downloadURL=https://go.microsoft.com/fwlink/?linkid=853070
@erefneb commented on GitHub:
Instead of changing the script, just try adding the key as a Jamf parameter value, or however you run the script just add the downloadURL flag.
@jschwager commented on GitHub:
I created pull request #1997 for this. Unfortunately just updating the downloadURL variable will not fix this. The appNewVersion variable can no longer be used because the new download URL does not contain a version number in the filename ("Company Portal-Installer.pkg" vs the old "CompanyPortal_x.xxxx.x-Installer.pkg").