Re: Installer that copies files from DVD to HD
Re: Installer that copies files from DVD to HD
- Subject: Re: Installer that copies files from DVD to HD
- From: karan rath <email@hidden>
- Date: Wed, 16 Sep 2009 22:47:44 +0530
Yes,
It is definitely possible using a post flight script. Since you're already using an installer, its just the matter of defining a post-install script for one of your packages. This post-install script should take care of copying the files for you. I have tried something similar and it works very smoothly.
Karan
On Wed, Sep 16, 2009 at 10:16 PM, Kevin Brock
<email@hidden> wrote:
Andrew Peckover wrote:
Is it possible to make an installer that copies files from one place to another? For example, I have a number of files on a DVD along with an installer, and I want the installer to copy the files to the Mac HD. The files are not in the package itself. Maybe this is possible with some kind of script?
You could definitely do this with a script. Scripts are just regular scripts--they can do anything you could do with a shell script on the system normally. You can set up a script-only target, or if the action is associated with a particular target you could have a pre- or post- install script for that target.
You might also be able to do this with the installer itself, but I've never tried this myself, and haven't looked into it...
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (
email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to
email@hidden
--
Life's low?
http://kcool.wordpress.com makes it lighter ;)
Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden