site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Actions do not seem to work with command line built packages in this version of packagemaker (and still happening in XCode 3.2.1). I, too, would like to know if anybody has found a workaround for this. On Sep 9, 2009, at 5:04 AM, Ben Staveley-Taylor wrote:
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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com