FW: Current User or Computer Installation. (PackageMaker)
FW: Current User or Computer Installation. (PackageMaker)
- Subject: FW: Current User or Computer Installation. (PackageMaker)
- From: "Bryan S. Lee" <email@hidden>
- Date: Tue, 17 Jun 2008 23:51:14 -0400
- Thread-topic: Current User or Computer Installation. (PackageMaker)
Title: FW: Current User or Computer Installation. (PackageMaker)
The GUI app doesn’t honor the variables for $HOME, $USER, etc. If you need to locate something in a User’s home directory, you’ll need to use scripts. In the few cases where I’ve had to do it, I usually just set the Payload to go to a known /tmp location, then have the script move it to /Users/$USER/wherever.
--
Bryan S. Lee
Information Resource Consultant II
Computer Support Services
Clemson Computing and Information Technology
Clemson University
email@hidden
ACHDS 10.4, MCP NTS/NTW
From: Ismail Tabtabai <email@hidden>
Date: Tue, 17 Jun 2008 16:52:03 -0400
To: <email@hidden>
Subject: Current User or Computer Installation. (PackageMaker)
Hello,
I am using leopard PackageMaker.app 3.0.1.
I've looked into the list's archive but so far I didn't find something
that satisfies my criteria of installation and how to achieve it. I
hope I didn't choose bad search parameters to research that in the
list. Also I present my apologies in advance if the question has been
answered previously. In that case I'd appreciate it if you post a link
for that post.
I've packaged an installation to be installed by an administrator for
all users in the /Library folder. That is a very easy and intuitive
setup. I must commend the engineers developing Packagemaker for that.
I even quit the application of concern and restarted it during the
installation process. That was easy too. Though, I wish if there was
an action that would prompt the user for accepting the quit action at
the time of the installation.
However, I got stuck when I was trying to grant the user to choose
between current account Library installation and root Library
installation. I did use "$HOME/Library" and it installs in the root
directory alright, but under a directory called, well you've guessed
it, /$HOME/Library. I used the "~" and the same thing happened. Of
course, the current user doesn't need administrator password to
install in his directory, but I read that this is a glitch that will
be fixed.
So, is there an easy way to do such setup? Or do I have to go the
preflight/postflight route with all the shell scripts?
Best wishes,
Ismail Tabtabai
_______________________________________________
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
------ End of Forwarded Message
_______________________________________________
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