Yes, this is what I mean. However if you feel this can cause security issues, there are two alternative ways:
- Rather than letting the user to choose any directory, the installer can ask the user to choose whether it is for system or for user, if system, ask password and install in /opt/local/, if user, install in $(HOME)/opt/local - Alternatively, we can get rid of the installer altogether and put the entire macport base file (and its ports) into MacPort.app. Now the user can move MacPort.app to anywhere and the OS will take care of permission issues. On Thu, Jul 29, 2010 at 10:27 AM, Jeremy Lavergne <[email protected]> wrote: >> If course I know one can install from source. What I am asking is to >> implement custom directory installation in the installer, as not everyone >> know how to compile sourcecode........... > > So you want the DMG installer to be able to go into a user directory when run > by a non-admin, and if possible make it an option that can be used by admin > users as well. Correct? > > _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
