Installer packages asking for authentication in user's home directory
Installer packages asking for authentication in user's home directory
- Subject: Installer packages asking for authentication in user's home directory
- From: Michael Watson <email@hidden>
- Date: Mon, 8 Jan 2007 16:57:45 -0500
Using Package Maker 2.1.1 under Tiger, I seem to be unable to build
an installer package that will allow a user to install into his or
her home directory without authenticating. (That is, without pre/post-
install workarounds.)
It appears that Package Maker doesn't actually make use of, say,
something like NSFileManager to determine whether or not a user has
write access to an area, and then prompt if necessary for
authentication. It's using its own internal rule set, which just
doesn't seem to be very smart:
1. I have to choose a default installation directory.
2. If I choose "Administrator" or "root" for the authentication
option, the user is prompted to authenticate even for places he or
she has write access. Unacceptable.
3. If I choose "none" for the authentication option, the user is not
prompted for authentication under any circumstance, and thus cannot
choose to install to those places that would normally trigger an
authentication prompt.
Is there a way to solve this, aside from pre/post-install workarounds?
--
Michael Watson
_______________________________________________
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