Re: Manually specifying the destination directory
Re: Manually specifying the destination directory
- Subject: Re: Manually specifying the destination directory
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 10 Aug 2005 23:00:13 +0200
On mercredi, août 10, 2005, at 10:57 PM, Stéphane Sudre wrote:
On mercredi, août 10, 2005, at 03:27 PM, Alexey Proskuryakov wrote:
I'm trying to make a .pkg installer that can be installed to a
user-specified location using a command-line installer.
The first thing I tried was setting the -target option to installer:
$ installer -pkg myinst.pkg -target /some/path
This doesn't work, because -target only accepts a mount point, not
a full
path. Another option would be to set some environment variable before
running installer, but I couldn't find any way to make the installer
use
one.
Is what I'm trying to achieve possible at all?
Some ideas for a workaround:
Let the pkg installs things at a fixed location which does not exist.
Something like /private/tmp/HongKongFuFu.
Create a wrapper scripter which does this:
#!/bin/sh
ln -s /private/tmp/HongKongFuFu $2
Maybe it's:
ln -s $2 /private/tmp/HongKongFuFu
I never remember.
_______________________________________________
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