Re: Iceberg and relative installation paths
Re: Iceberg and relative installation paths
- Subject: Re: Iceberg and relative installation paths
- From: Greg Fisher <email@hidden>
- Date: Tue, 15 Mar 2005 15:55:47 -0500
Thanks Stephane,
I will look into those workarounds.
Greg
Stéphane Sudre wrote:
On mardi, mars 15, 2005, at 08:49 PM, Greg Fisher wrote:
Within our Metapackage, we have a package that we want to be
installed within the users "home" folder . . . such as
/users/username. Since that folder name will depend on who the
current user is, we must use a relative path for the destination . .
. such as "~/". But there doesn't seem to be a way to insert such a
location as the default path or as the relative path. If we have to
use the Chooser, we are limited to the existing folders. What are we
missing?
This is not a feature supported by Installer.app AFAIK.
In PackageMaker, you can set the default location to be ~/ but it's
not going to work with Installer.app.
There are some workaround as:
- using a relocatable package, not asking for any authentication
permissions and letting the user select his/her home folder
or
- installing stuff in /tmp/ and then copying them back to the $HOME
folder via a postflight script (since the script is run with the
current user id, there's hope $HOME points to the correct folder).
My $0.02
_______________________________________________
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