Addigy doesn't support uploading entire directories at once--uploads must be individual files. This means that a .app file, which is technically a directory, must be first compressed into a single file before uploading into a Smart Software item within Addigy. For most .app installations, simply copying the directory into the /Applications folder will complete the installation.
Deploying .app Files
Using Google Chrome.app as an example, the following commands can be run on a device to compress the .app into a tar.gz format.
- First, navigate to the directory where the .app file is present. In this example the app is in "/Volumes/Google Chrome".
cd "/Volumes/Google Chrome"
- Inside of this directory, run the following command to compress the .app into a tar.gz format:
tar -czvf ~/Desktop/chromeapp.tar.gz "Google Chrome.app"This takes the application "Google Chrome.app" and generates the file 'chromeapp.tar.gz' in the 'Desktop' directory. This path and tar file name can be changed to your preference.
Next, upload the file to the Custom Software in Addigy by creating a new Smart Software and clicking Select File(s).
- Add the following Installation Command to the Smart Software to extract the .app to the /Applications folder on the device(s) it's deployed to.
tar -zxf chromeapp.tar.gz -C /Applications/
Note: using the 'v' flag in the tar extraction command can delay the deployments of the policy and software enforcement.