Snow Leopard installer error - cannot copy scripts?
Snow Leopard installer error - cannot copy scripts?
- Subject: Snow Leopard installer error - cannot copy scripts?
- From: Brant Sears <email@hidden>
- Date: Mon, 31 Aug 2009 14:45:18 -0500
Hi. I have a packager maker project (.pmdoc) that produces a .mpkg for
my app and includes the another .pkg that is from another company. On
10.5, this project builds and produces a .mpkg.
On 10.6, it generates an error that says "Could not copy scripts."
Also, on 10.6, I get a dialog that says "Resources Found" Installer
interface resources were found in <other project file>. Would you like
to use them for this install? This will replace any previously
specified resources.
I click "Do not use" every time, but it keeps asking me this over and
over.
The other package includes preflight and postflight scripts only. I
tried deleting them, but I get the same error.
When this gets invoked from my build script (which is a bash script),
PackagerMaker throws an exception and I get something that looks like
a core dump printed out:
Mon Aug 31 14:30:22 ilovecm.local packagemaker[618] <Error>:
kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid
connection
Mon Aug 31 14:30:22 ilovecm.local packagemaker[618] <Error>:
kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch
errors as they are logged.
2009-08-31 14:30:22.673 packagemaker[618:903] -[PMCLIFakeDocument
alertDispatcher]: unrecognized selector sent to instance 0x209490
2009-08-31 14:30:22.675 packagemaker[618:903] *** Terminating app due
to uncaught exception 'NSInvalidArgumentException', reason: '-
[PMCLIFakeDocument alertDispatcher]: unrecognized selector sent to
instance 0x209490'
*** Call stack at first throw:
(
0 CoreFoundation 0x98fd358a __raiseError + 410
1 libobjc.A.dylib 0x93c88f49
objc_exception_throw + 56
2 CoreFoundation 0x9901f9db -[NSObject
(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x98f7b026 ___forwarding___ +
950
4 CoreFoundation 0x98f7abf2
_CF_forwarding_prep_0 + 50
5 packagemaker 0x0009c0c3 0x0 + 639171
6 Foundation 0x9673cb65
__NSFireDelayedPerform + 537
7 CoreFoundation 0x98f3eeee __CFRunLoopRun +
6846
8 CoreFoundation 0x98f3cd34
CFRunLoopRunSpecific + 452
9 CoreFoundation 0x98f3cb61 CFRunLoopRunInMode
+ 97
10 Foundation 0x967b5b21 -[NSConcreteTask
waitUntilExit] + 273
11 packagemaker 0x00034525 0x0 + 214309
12 packagemaker 0x00035809 0x0 + 219145
13 packagemaker 0x000333af 0x0 + 209839
14 packagemaker 0x00031596 0x0 + 202134
15 packagemaker 0x00031672 0x0 + 202354
16 packagemaker 0x0003ede2 0x0 + 257506
17 packagemaker 0x00030553 0x0 + 197971
18 packagemaker 0x0006a826 0x0 + 436262
19 packagemaker 0x00069e54 0x0 + 433748
20 packagemaker 0x00002c16 0x0 + 11286
21 packagemaker 0x00002bf5 0x0 + 11253
)
./CreateInstaller: line 245: 618 Trace/BPT trap /Developer/
usr/bin/packagemaker --doc InstaLAN.pmdoc -o "$PACKAGE_FILE"
What's up with this? How can I change the project so that it doesn't
fail in this manner?
Thanks for any help.
_______________________________________________
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