Scripts not being run and install failing
Scripts not being run and install failing
- Subject: Scripts not being run and install failing
- From: Ryan Cuprak <email@hidden>
- Date: Mon, 6 Dec 2004 00:42:22 -0500
Hello,
I am having trouble getting my pre/post/etc scripts to successfully
run. I created a new project in Package Maker that installs a since
text file and runs a simple 'preflight' script that echos hello to
stdout. The permissions on "preflight" are a+rwx. No matter what I do,
installation always fails - log below. I can type
"/Users/rcuprak/TESTAPPLE.pkg/Contents/Resources/preflight" at the
cmdline and the script will run perfectly fine a return with an exit
code of 0. Initially I thought it was a problem with Iceberg but then I
went back and created a test project from scratch with Package Maker.
What's going on?
Thanks,
Ryan
Log File:
Dec 6 00:37:26 : Test Installation Log
Dec 6 00:37:26 : Opened from: /Users/rcuprak/TESTAPPLE.pkg
Dec 6 00:37:26 : Hardware Model: PowerBook5,2 @ 1249 MHz, 1024 MB
Dec 6 00:37:26 : Running OS Build: 7R28
Dec 6 00:37:26 : Installer Language: English
Dec 6 00:37:27 : Requirement: requires "certain file content criteria"
PASS for root=(none), domain=0
Dec 6 00:37:30 : === Starting check on volume /
Dec 6 00:37:30 : Requirement: requires "certain file content criteria"
PASS for root=/, domain=0
Dec 6 00:37:31 : Selected volume 'Macintosh HD'
Dec 6 00:37:31 : Mounted at: /
Dec 6 00:37:31 : OpenFirmware: pci2/ata-6@D/@0:9
Dec 6 00:37:31 : Partition type: Journaled HFS+
Dec 6 00:37:31 : Partition map: disk0s9
Dec 6 00:37:31 : Partition: 9
Dec 6 00:37:31 : Protocol: ATA
Dec 6 00:37:31 : Media Type: Generic
Dec 6 00:37:31 : Volume Size: 80018485248
Dec 6 00:37:32 : Starting install
Dec 6 00:37:33 : Running task:
/Users/rcuprak/TESTAPPLE.pkg/Contents/Resources/preflight
Dec 6 00:37:33 : The preflight script in TESTAPPLE failed.
Dec 6 00:37:36 : Install Failed
Dec 6 00:37:36 : Error detected
Dec 6 00:37:36 : Name: NSGenericException
Dec 6 00:37:36 : Reason: The preflight script in TESTAPPLE failed.
(code 255)
Dec 6 00:37:36 : Aborted 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