Ugh, PackageMaker woes.
Ugh, PackageMaker woes.
- Subject: Ugh, PackageMaker woes.
- From: G S <email@hidden>
- Date: Thu, 10 Jun 2010 02:38:07 -0700
Hi all. Someone just referred me to this list. I'm having two major problems with my simple PackageMaker project at the moment. You may have heard them before.
1. The mpkg just isn't overwriting
two of the three things it's supposed to be overwriting, and I don't get
any error message. I can't see any permission problem. For example,
I'm trying to install a component in /Library/QuickTime, and the older
one never gets overwritten. The weird thing is that another package
that does work is being written to /Library/Frameworks, so it's not a
blockage on everything under /Library (and I am prompting for
administrative password for the installer).
After many gyrations and experiments, I discovered the (as far as I can tell undocumented) context menu on the packages, which offers an option to override the target directories' permissions. That doesn't help. I also experimented to determine how the "apply recommendations" option works for setting permissions of package contents (which also seems to be undocumented), and that didn't help either.
If I delete the files that are supposed to be overwritten before running the installer, everything goes into the right place.
2. One of my payloads is an already-built package. PackageMaker
INSISTS on putting a path in the "Scripts directory" field on the
Scripts tab for that package, pointing to [thePackage].pkg/Contents/Resources.
Then the installer build fails, complaining "Can not copy scripts".
There aren't any scripts specified! And if I delete that "Scripts directory" path,
PackageMaker will magically repopulate it when I hit
Save. The only way I can build the installer is to delete the scripts
path and kick off the build without saving. In the resulting installer,
that component does get installed. I filed a bug against this, but how
has it gone unnoticed?
Thanks for any insight on these.
Gavin
_______________________________________________
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