Link to home
Start Free TrialLog in
Avatar of matthew phung
matthew phung

asked on

Automatically start installation of pkg file after download

Is it possible to automatically execute a pkg file after it downloads on a macbook with OS X? If so, please share your script or direct me to where I can find the example.
Avatar of Mark Bullock
Mark Bullock
Flag of United States of America image

Can you use an Automator workflow?
Screen-Shot-2015-07-28-at-10.05.09-PM.pn
You could set up a "watch folder" and use AppleScript to open any file added to the watch folder:

http://www.mactech.com/articles/mactech/Vol.20/20.07/FolderWatching/index.html
Avatar of matthew phung
matthew phung

ASKER

Mark - Thank you for the response.  I am not able to use Automator because I will be installing the package on macs that I do not have access to.  What I am trying to do is simplify the installation process by automatically starting the installation for the users once the package is downloaded on their macs. This will save them the headache of searching for the package. You and I know that the package is saved in the downloads folder but they apparently do not. A lot of the users are confused on where the package file is downloaded to.
ASKER CERTIFIED SOLUTION
Avatar of strung
strung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial