Where should scripts be put in a flat distribution?
Where should scripts be put in a flat distribution?
- Subject: Where should scripts be put in a flat distribution?
- From: Iceberg-Dev <email@hidden>
- Date: Sun, 21 Feb 2010 23:13:46 +0100
I'm currently trying to figure out where scripts invoked by
system.run in an installationcheck function should be put when using
a relative path:
e.g.:
function check1()
{
return (system.run(myscript.sh)==0);
}
I know where to put them for a bundle distribution but this is
currently eluding me for flat distributions.
It is probably neither in the Resources folder, nor at the first
level. I know that from the error message and the cryptic log error
in Installer.log (exception raised on setObject:forKey:];)
I could try using a Scripts pax archive and put it at the same level
as the Distribution file but Flat Package Editor can not extract a
file on Mac OS X 10.6.2 on my Mac and keeps crashing (Problem ID#
7673283).
I have checked different recent flat distributions made by Apple
(which are all affected by the same bug (Problem ID# 7487751) BTW).
Unfortunately, none of them is using system.run.
As it is supposedly working and it is apparently not, where should it
be put?
_______________________________________________
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