10.4 -> 10.3 PackageMaker Problems
10.4 -> 10.3 PackageMaker Problems
- Subject: 10.4 -> 10.3 PackageMaker Problems
- From: Andrew Otto <email@hidden>
- Date: Tue, 27 Mar 2007 13:02:19 -0500
In order to ask for help, I first have to describe all of the quirky
behaviors I am seeing.
I started out using PackageMaker.app distributed with OS X 10.4 to
build a simple package with a preinstall and preupgrade script. This
package .app file in my package root is not copied into the
Applications/ directory as it should be. Also, my scripts are
printing the arguments and environment variables to an install log,
and these are not set properly. For example, on 10.4, the $2 (the
target installation directory) is "/Applications", and on 10.3 is is
"/".
Having no luck installing a package created in 10.4 with 10.3
Installer.app, I (with much difficulty) obtained a copy of the 10.3
version of PackageMaker. This version worked almost perfectly. My
scripts ran exactly as they should ($2 is "/Applications"), and
the .app was copied into the /Applications directory. But the app
would not start up! It would bounce once in the dock, and then die
immediately. I then noticed that the app that was installed into
the /Application directory was about 2.5 MB smaller than the
original! Looking inside the bundle I found that the executable in
the Contents/MacOS directory was 2.5 MB smaller than the original's
executable.
So...what's going on here?! First of all, are packages created in
10.4 not compatible with 10.3's Installer.app? Secondly, why didn't
my 10.3 package install properly? Is something wrong with the pax
archive? I'm kind of at a loss for what to do now. Can anyone point
me in the right direction?
Help!
Thanks,
-Andrew Otto
_______________________________________________
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