VMware Cloud Community
AnonymousDefaul
Enthusiast
Enthusiast

Automating install using AppleScript and Folder Actions

I am attempting to build a applescript tool that will watch for BitTock installers to be dropped into a folder.
It will make a list of the installers
execute the first installer in unattended mode using a set of prearranged answers
it will wait for the installer to finished
move the installer to the Installed Folder
then it will move to the next installer until there are no installers left


I can watch the folder, build the list of installers, trigger the installer to run, and Move the installer after it is finished
What I can't find in your documentation is how to execute unattended mode on a mac with answers?
Is there any exposed API that would help me with this?


Any help you could provide would be welcome.

Labels (1)
0 Kudos
1 Reply
AnonymousDefaul
Enthusiast
Enthusiast

You can execute

nameOfYourInstaller.app/Contents/MacOS/installbuilder.sh --mode unattended --optionfile /path/to/options.ini 

With options.ini contains the options you can pass to the installer. Is that what you are looking for?

0 Kudos