Follow the instructions below to create a deployment in Intune. Any other Intune deployment solution would fail as that renames the PKG installer file.
-
- Login to your Intune tenant at endpoint.microsoft.com
- Click Apps and in macOS apps view, click +Add.
- Click .
- Click and navigate to your downloaded .pkg file.
- Click Open and OK.
Result: The .pkg file gets uploaded.
- Under App information fill in the required fields marked with an asterisk (*).
- Enter your preferred name into the Publisher box.
- Select Next.
PKG files without a GroupID:
- Enter the following script into the Pre-install script box:
#!/bin/bash
echo "export PRODUCT_NAME=xxxxxx" >> /etc/profile
echo "export COMPANY_ID=xxxxxx" >> /etc/profile
echo "export PUBLIC_KEY=xxxxxx" >> /etc/profile
echo "export DOMAIN_NAME=xxxxxx" >> /etc/profile
- In the downloaded .pkg file highlight the characters immediately:
- after C_ and before _K_ and copy/paste the COMPANY_ID into the script.
- after K_ and before _devices and copy/paste the PUBLIC_KEY into the script.
- after the public key starting with "devices" and copy/paste the DOMAIN_NAME into the script.
Result: Your script should look like something like this:
#!/bin/bash echo "export PRODUCT_NAME=GoToResolve_Unattended" >> /etc/profile echo "export COMPANY_ID=1234567891234567891" >> /etc/profile echo "export PUBLIC_KEY=18237468123478019237491023478123674c12312a21342134e12342134444c4" >> /etc/profile echo "export DOMAIN_NAME=devices-iot.console.gotoresolve.com" >> /etc/profile
PKG files with a GroupID:
- Enter the following script into the Pre-install script box:
#!/bin/bash
echo "export PRODUCT_NAME=xxxxxx" >> /etc/profile
echo "export COMPANY_ID=xxxxxx" >> /etc/profile
echo "export PUBLIC_KEY=xxxxxx" >> /etc/profile
echo "export GROUP_ID=xxxxxx" >> /etc/profile
echo "export DOMAIN_NAME=xxxxxx" >> /etc/profile
- In the downloaded .pkg file highlight the characters immediately:
- after C_ and before _K_ and copy/paste the COMPANY_ID into the script.
- after K_ and before _G_ and copy/paste the PUBLIC_KEY into the script.
- after G_ and before _devices and copy/paste the GROUP_ID into the script.
- after the public key starting with "devices" and copy/paste the DOMAIN_NAME into the script.
Result: Your script should look like something like this:
#!/bin/bash echo "export PRODUCT_NAME=GoToResolve_Unattended" >> /etc/profile echo "export COMPANY_ID=1234567891234567891" >> /etc/profile echo "export PUBLIC_KEY=18237468123478019237491023478123674c12312a21342134e12342134444c4" >> /etc/profile echo "export GROUP_ID=b80516f5-abef-4710-aa02-ffd9f893b5d5" >> /etc/profile echo "export DOMAIN_NAME=devices-iot.console.gotoresolve.com" >> /etc/profile
- Select Next.
Result: The Requirements tab is displayed.
- Select macOS High Sierra 10.13 as the Minimum operating system.
- Select Next.
Result: The Detection rule tab is displayed.
- On the Detection rule tab delete all bundle IDs except for com.goto.resolve-unattended.ui.
- Select Next.
Result: The Assignments tab is displayed.
- Select the assignments based on your needs.
- Select Next.
Result: The Review + create tab is displayed.
- Select Create.
Results: Intune will now begin to save and deploy your app according to your settings on the Assignment page.