Running an installer program from a script
Running an installer program from a script
- Subject: Running an installer program from a script
- From: "francois.houle" <email@hidden>
- Date: Sun, 05 Jun 2005 22:01:22 -0400
I have created a script where part of it includes running an installer. So I
made it into an application bundle and saved the installer in the Resources
folder.
My first question is, should I do it this way or simply include the
installer in the same folder as the script ?
I have included this following code in my script to startup the installer..
Is that the right way to do it ?
set home_path to (path to me)
tell application "Finder"
open alias ((home_path as string) & "Contents:Resources:installer.mpkg")
end tell
Also, I'd like to know if there is any other way to automate the
installation (such as clicking on Continue, clicking the license agreement,
etc) besides using GUI scripting and refering to each button to click on
them ?
And last, I'd like to know how I can have the script wait in the background
until the Installer is done so the user can keep on going with the script
once the installation is completed. On that one I'd like suggestions on how
you'd take this one on as I now there are different options...
Thanks a lot everyone !
Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden