Problems from command line with PackageMaker 3.0.2 and Allow Downgrade
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Long version (My head is sore from banging it against this version of PackageMaker!) -- John Gee, ADInstruments Programmers live in interesting times... _______________________________________________ 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... Short version: Is it worth persisting with command line use of PackageMaker 3.0.2, or give up and rollback to an older version? I have Xcode 3.1 installed on Mac OS X 10.5.4. The command line build of the installer is losing the "Allow Downgrade" setting. We allow user to have multiple version of the application installed. I want my install to "Allow custom location", and I want the application which is installed to not "Allow Relocation" and to "Allow Downgrade". Forewarned: I had read about the "feature" where "Allow Relocation" is automatically turned on for an application and it silently diverts. This makes it hard to have a generic pmdoc file, but moving along... I had read about the bug where settings are not retained if a relative path is used for the "Install" source. This makes it hard to have a robust portable automated build, but moving along... I had read about the crash unless ID specified on command line. I was cautiously optimistic I could live within these limitations for a while. I modified our build script from pmproj to pmdoc, and used an absolute location for the source. I have now discovered that "Allow Downgrade" is not working from the command line, but does seem to work fine when built interactively using the PackageMaker application. An example command line is: $ sudo /Developer/usr/bin/packagemaker --doc InstallerV3.pmdoc --out LabChart.pkg --id com.adinstruments.labchart --version 6.2 --target 10.4 Is the best answer currently to rollback to an older version of PackageMaker? Or should this be working, and I have missed something? This email sent to site_archiver@lists.apple.com
participants (1)
-
John Gee