Identifying the User specified installation path if the Pkg is installed through installer
Identifying the User specified installation path if the Pkg is installed through installer
- Subject: Identifying the User specified installation path if the Pkg is installed through installer
- From: Sachin Porwal <email@hidden>
- Date: Fri, 23 Apr 2010 19:19:23 +0530
Hi,
I am creating a 10.4 Pkg which will be installed through 'installer' command on Mac. The user can specify custom location using -target argument.
We need to get the complete custom path specified by the user at commandline.
When i tried to capture $2 in the preinstall script, it gives only the volume paths. for example if a user gives '/Users/tester/', we find only '/' as '$2'. We require to get the complete path specified by user.
Is there some way to identify it in preinstall scripts??
Thanks,
Sachin
_______________________________________________
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