Re: postflight script not creating alias with Tiger
Re: postflight script not creating alias with Tiger
- Subject: Re: postflight script not creating alias with Tiger
- From: Peter Bierman <email@hidden>
- Date: Thu, 2 Jun 2005 12:31:00 -0700
The installer can run any executable script or binary.
Using a binary is a bad idea, because it may tie your package to a
specific OS version. (linker requirements, Frameworks, etc.)
Perl and Bash are the best choices, because they're unlikely to be
substantially different across different OS versions.
Even Perl can be tricky though. We had at least one 3rd party package
that broke with Tiger because they specified the '-T' flag to perl,
and perl became more strict about taint checking in Tiger.
-pmb
At 9:32 AM -0400 6/2/05, Ken Hawkins wrote:
I thought that any script that the installer runs has to be a perl
or shell script. can it be an applescript application/application
bundle? if that is the case perhaps this will work however i am
running as root (could be my big problem)
thanks,
ken;
On Jun 1, 2005, at 4:29 PM, Michael Krugman wrote:
Hi Ken:
I have no trouble creating aliases on Tiger. The one I use is much
different from what you have here. This is what I use. This
particular one creates an alias of a folder XYZ Folder from
Macintosh HD/Users/Shared to Applications. If the alias is a file,
just change "If exists folder" to "If exists file". This script
works perfect for me. I save it as an application with the name
"postflight". HTH.
Mike
tell application "Finder"
if exists folder "XYZ Folder" of folder "Macintosh HD:Users:Shared" then
make new alias file to alias "Macintosh HD:Users:Shared:XYZ
Folder" at alias "Macintosh HD:Applications"
end if
end tell
On Jun 1, 2005, at 2:55 PM, Ken Hawkins wrote:
so nobody is having problems creating aliases on Tiger? is it just
me? <note desperation in mail content> can anyone lend a hand with
creating aliases on Tiger during install?
_______________________________________________
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
_______________________________________________
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