Postflight Applescripts
Postflight Applescripts
- Subject: Postflight Applescripts
- From: Michael Kiaer <email@hidden>
- Date: Tue, 18 Apr 2006 17:36:36 -0400
Hello list...
I asked this question a few weeks ago but no one responded. Let me
try again and rephrase the question.
I am building an installer package using Iceberg. The installer is
set to require root authentication. I need the installer to run a
postflight script.
In cases where I used a shell script, the root authentication was
passed to the script with no problem.
In this case, the postflight script is an Applescript and the root
authentication does not appear to be passed to the script which fails
on certain actions it's not allowed to do.
Is this expected behavior? Is there any way around it?
I am aware that I can wrap the Applescript in a shell script and it
would probably work. But the Applescript already contains some shell
script code (do shell script) and I am afraid it gets too
complicated, passing back and forth variables and results if I
attempt to wrap that in a shell script. And it's an ugly solution.
So, foremost, I am interested in the general question: do
Applescripts as pre/postflight scripts in installer packages not get
the proper credentials passed from the package?
Thanks!
Michael
_______________________________________________
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