Posted on 01-23-2023 06:36 AM
Hello All,
Please help me to get the MS link to download the latest version of office package for macOS so that I can make a script and use in my policy to install on macOS. I don't to do it from https://macadmins.software only MS link is needed. I will do curl to it.
Solved! Go to Solution.
Posted on 01-25-2023 08:20 AM
I'd like to use scripts instead of pkg:
Script below:
#Download and install MS Office from website directly
mkdir /Users/Shared/MSOffice
cd /Users/Shared/MSOffice
Curl -L "https://go.microsoft.com/fwlink/?linkid=2009112" --output "MSOffice.pkg"
installer -pkg /Users/Shared/MSOffice/MSOffice.pkg -target /
rm -rf /Users/Shared/MSOffice
Posted on 01-23-2023 07:27 AM
You may want to reconsider using curl in a script to download a 2GB+ package. There's too many points of failure. It's easier for you as the admin to download the package from the macadmins.software site and then put the package in Jamf. After it installs on the Macs, then the MS Updater should keep it updated regularly.
Posted on 01-23-2023 07:47 AM
Make sense, but I just wanted to do some test for scripting.
BTW, after downloading it from macadamias.software why I am not able to convert into source by Jamf composer app? All time it is getting failed.
Posted on 01-23-2023 08:32 AM
just upload the .pkg to Jamf. There are posts with scripts for downloading Office apps if you want to test it out.
Posted on 01-25-2023 08:20 AM
I'd like to use scripts instead of pkg:
Script below:
#Download and install MS Office from website directly
mkdir /Users/Shared/MSOffice
cd /Users/Shared/MSOffice
Curl -L "https://go.microsoft.com/fwlink/?linkid=2009112" --output "MSOffice.pkg"
installer -pkg /Users/Shared/MSOffice/MSOffice.pkg -target /
rm -rf /Users/Shared/MSOffice
Posted on 01-27-2023 01:36 AM
My exact problem is that how I will com to know that this is the URL t download the O365 package? When I am trying to download the O365 browsing by a browser it is asking me to buy it. How it is avoiding to but the package ?