Where should scripts be put in a flat distribution?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=Q2O4DQkSrP9QAoe3wDvr+qJ1P28tz2+Q71EkTw3mo1g=; b=ZeHsa5Xqh4ypzHZmtvjyuVMzlPQNF5OMS3AeVTnd4XBzZw5ikfMbA+d8+1sXHibCgD rOZWAFOfKp5BlgWwwTQdCXTax1a604GmHERvktZf/5F+yafXo7N2hO0gerk5/eM605sq wTR6Wdreg9wlHYSI9PVhQILQ7yYrKips7P10k= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=o+gjf3aK2AEPLv7LgmdX4qp77chJg6E0fjHup5kD4GXbq8kxfgR6+OnO++x/BqKkMD BlbPDDNWxMBbgazVg1cYp+pUBTba7/L+MY/+hnW7NKt4hw0GIwnVpI815wDylJ85FRSi ILEiN72snf3zdhP2yU2ah8CscCEMoa0jdhphc= e.g.: function check1() { return (system.run(myscript.sh)==0); } _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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: 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev