Re: Specifying destination location in preinstall script
Re: Specifying destination location in preinstall script
- Subject: Re: Specifying destination location in preinstall script
- From: Iceberg-Dev <email@hidden>
- Date: Tue, 1 Jun 2010 23:22:21 +0200
Create a symbolic link to the appropriate final destination in the
preinstall script in /private/tmp. Then have your payload install its
files "inside" the symbolic path.
For instance:
If you want to install to /A/B/C/D
Your payload installs the files to /private/tmp/mysymlink by default.
In your preinstall script, you create a symbolic link in /private/
tmp/ named mysymlink that points to /A/B/C/D
On Jun 1, 2010, at 1:28 PM, kushal ghosh wrote:
Hi,
Is there a way to specify the destination location inside the
preinstall script instead of giving the destination location path
in pmdoc? My preinstall script needs to run some logic and
dynamically choose a location where installation is to occur. Any
way to do this?
Currently the installation is occurring in a temporary area and a
postinstall script is copying them to proper location. But I need
to find a way to specify that location via preisntall so that no
copying occurs
_______________________________________________
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