PackageMaker 3.0/Installer - NSInvalidArgumentException
PackageMaker 3.0/Installer - NSInvalidArgumentException
- Subject: PackageMaker 3.0/Installer - NSInvalidArgumentException
- From: David Wilson <email@hidden>
- Date: Tue, 01 Jan 2008 23:29:05 +1300
Hi team...
I'm new here... and I hope that this post is appropriate... I've spent
all day (2 days) on this and I don't know where to turn to.
Short story... I'm trying to automate my build process by way of a
shell script. I'm almost there...
When I run my installer package, (it has worked), though now every
time I run it (even after I rebuild it) I get the error below and the
"Install Failed" message.
Jan 1 23:12:31 David-Wilsons-Computer Installer[1366]: Package
Authoring Error: Results of component search (com.david.USB Missile
Launcher NZ) not usable by package.
Jan 1 23:12:34 David-Wilsons-Computer Installer[1366]: An exception
was thrown from the install queue while running IFInstallElement.
NSInvalidArgumentException. *** -[NSFileManager
fileSystemRepresentationWithPath:]: nil or empty path argument.
Jan 1 23:12:34 David-Wilsons-Computer Installer[1366]: Install
failed: The Installer encountered an unknown error that failed the
install. Contact the software manufacturer for assistance.
Jan 1 23:12:34 David-Wilsons-Computer Installer[1366]: Displaying
'Install Failed' UI.
Jan 1 23:12:34 David-Wilsons-Computer Installer[1366]: 'Install
Failed' UI displayed message:'The Installer encountered an unknown
error that failed the install. Contact the software manufacturer for
assistance.'.
I'm running 10.5.1, xcode 3 etc.
I have a folder called "Applications" and a folder containing my
application and support files (read me etc) that I want to install
contained within that.
I have a PackageMaker document (.pmdoc) and use the following to
create the package.
/Developer/usr/bin/packagemaker --doc "$PACKAGEMAKER" --out
"$PACKAGEOUTPUT" --verbose
setfile -a E "$PACKAGEOUTPUT"
So, it's either me, or a bug!
I've done many builds and attempted many installs yesterday/today (and
thus I don't know if I've "corrupted" something on my machine) It
doesn't seem to make any difference if I remove my application folder
from within the Applications folder.. the installer still fails with
the same error.
Sorry it's a bit of a dump and I hope the story is coherent and that
someone knows what's happening here...
- David
_______________________________________________
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