Preinstall/Postinstall actions not created using CLI packagemaker
Preinstall/Postinstall actions not created using CLI packagemaker
- Subject: Preinstall/Postinstall actions not created using CLI packagemaker
- From: Ben Staveley-Taylor <email@hidden>
- Date: Wed, 9 Sep 2009 13:04:34 +0100
I am running packagemaker from XCode 3.1.2.
I have created a .pmdoc for my installer, and defined some preinstall
and postinstall actions in the Actions tab of the overall Distribution
package (not an individual package).
When I build the installer from the GUI, it all works. When I build it
from the command line as I would do in a build script, the preinstall
and postinstall actions do not run. The difference is that when built
from the CLI, the pseudo-packages that contain the actions just aren't
being created.
Interactively built from PackageMaker GUI, I get this package structure:
MyInstaller.mpkg
Contents
Packages
MyPackage.pkg
MyPackagePostflight.pkg
MyPackagePreflight.pkg
Built from packagemaker CLI tool, I get this package structure:
MyInstaller.mpkg
Contents
Packages
MyPackage.pkg
My packagemaker command line is:
packagemaker --doc "<path to MyInstaller.pmdoc>" \
--out "<path to MyInstaller.mpkg>" \
--id com.mycompany.myproduct.pkg \
--verbose
Has anybody else come across this? What's the vital command line
parameter I am missing?
Thanks
Ben Staveley-Taylor
Oracle
_______________________________________________
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