While you could always just upload a file directly into Addigy, you can also deploy any cloud-hosted files as well. This requires that you include a customized download within your Installation script. Below is an example Bash script that does just that. You will need to modify it with the details of your software.

 

There are a few things to keep in mind when writing or modifying your script.

  • Because our policies get enforced on 30-minute intervals, your Smart Software should contain a Condition script that checks for a previously installed version. This is especially important for Microsoft Office products that require the end-users to close any Office application if open.
  • Deploying large files to a large number of devices at once can bring a network to a halt. We address this issue by using Addigy's lan-cache, which is already installed with all our agents. This tool allows us to download a file from an HTTP/HTTPS URL into a local path in a device with a few added perks. It creates a network of peers in the local network, ensuring that only one of the peers downloads the file and the rest fetch it from peers who already have the file. It will also cache the files already downloaded so that they do not need to be downloaded again.

FILE_TO_DOWNLOAD="https://s3.amazonaws.com/files.addigy.com/file.pkg"
DOWNLOAD_LOCAL_PATH="/tmp/file.pkg"

/Library/Addigy/lan-cache download "${FILE_TO_DOWNLOAD}" "${DOWNLOAD_LOCAL_PATH}"

/usr/sbin/installer -pkg ${DOWNLOAD_LOCAL_PATH} -target /


For more details on creating a Smart Software with this Bash script, please refer to our article Creating Smart Software.


If you have an Addigy account and have additional questions, you can create a ticket by emailing support@addigy.com.

Alternatively, you can submit a support request within Addigy.