RE: PackageMaker questions
RE: PackageMaker questions
- Subject: RE: PackageMaker questions
- From: "Steve Sappington" <email@hidden>
- Date: Mon, 26 Sep 2005 16:24:41 -0700
Peter, thanks for your help!
Yes, the preferences plist is copied/created when the app runs, but for
various reasons, I need to get it there first
I've written the following script and called it 'postinstall'- it works
perfectly in terminal; however, it doesn't seem to be getting executed when
the pkg is executed- I've verified packagemaker is picking it up and putting
it in the resources folder inside the package.
-script
#!/bin/bash
echo "script started"
cd
ln -s "/Applications/Animation Master 12.0/Animation Master.app"
"Desktop/Animation Master.app"
cp /Applications/"Animation Master 12.0"/"com.hash.Master V12.0.plist"
Library/Preferences
echo "script done"
exit 0
-endscript
Steve Sappington
Hash, Inc.
400 West Evergreen Blvd.
Vancouver, WA 98660
360-750-0042
www.hash.com
-----Original Message-----
From: Peter Bierman [mailto:email@hidden]
Sent: Monday, September 26, 2005 2:01 PM
To: Steve Sappington
Cc: email@hidden
Subject: Re: PackageMaker questions
Your application (not the installer) should install the preferences
plist itself, the first time it runs. If you use the NS or
CFPreferences APIs, this will happen for you.
As for the alias, does it need to be a real alias, or will a symlink work?
If it's a symlink, you can write a simple postinstall script that will
ln -s /Applications/Your.app "${HOME}/Desktop/Your.app"
-pmb
At 1:44 PM -0700 9/26/05, Steve Sappington wrote:
>I've built an installer for my Tiger Application using Packagemaker-
>It's working well except for two things:
>-I need to be able to create an alias to my application, which is
>installed in the applications folder, on the desktop
>-I need to be able to copy a .plist to userhome/Library/Preferences/
>I'm stumped, so any suggestions would be greatly appreciated!
>
>
_______________________________________________
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