Whether you're new to Addigy, new to MDM, or not an experienced scripter, creating a Custom Software package can be tough at first. This how-to serves as your guide to install .pkg type files!
.pkg files are one of the more simple file types to deal with, and a great thing about them is that Addigy will automatically generate an installation script for them once you select the .pkg type file from the file manager.
Create a custom software item by navigating to Policies > Catalog > Custom Software > New.
Navigate to File Manager by selecting "Add Files", and upload your .pkg file:
Once uploaded, select that item to be added to the custom software item:
Now that your file is selected, we can use the auto-fill option to create the Installation Script. This can be found under the Add installation script column, from there you'd click "Add":
After selecting Add, you will see an installation script populate within the installation script box.
Note: An installation script is required. The script will perform the installation process after the files are downloaded to the device.
Once you've verified that the installation script is there, you can go ahead and save your custom software item!
Navigate to a Policy, you can now deploy this Package to either a Parent or Child policy. Since this is a custom software item, you will find it under the "Your Software" section of the Software tab within the policy you select:
After selecting Add App, you'd navigate to the "Deploy changes" tab to confirm the addition by selecting Confirm all, and then deploy your policy by selecting "Deploy now" to send it out:
Conditions - Condition Scripts (optional)
A Conditional Script can be added to your Custom Software definition. A Condition script will be run before the Installation Script. A Condition Script IS NOT required. But can be a handy way to check for the necessary resources on the device you are install your software on.
You can control if the Installation Script is run based on criteria in the Condition Script. If "Install on success" is checked the Condition Script must exit with an exit code of 0 or the Installation Script will not be run.
Custom Software Can be Added to Self Service
You can also add this to your self-service catalog!
To do this, navigate to the Software tab within your policy once more, and locate your custom software item.
From there, find the "Self-Service" column, and click the toggle so it shows green:
Here is an example of how it will appear within Self-Service:
Step #5 (optional):
Want to deploy this software to one device at a time?
GoLive would be the feature you're looking for!
Navigate to the Devices Page, locate your device, and click the name of it. From there you'll be taken to the GoLive Overview page.
Navigate to Software > Smart software and search for your custom software item, you'd then click deploy:
If you have any questions about any of these methods, please feel free to contact us at firstname.lastname@example.org