Adding Scripts to distribution packages
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Does anyone know how to add scripts to an mpkg from the command line? Is there a way to specify within a pmdoc to add specific files? Thanks, Paul _______________________________________________ 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... I'm having a problem trying to figure out how to add a shell script to my distribution package (10.4+). Since I have an automated build system the solution must be from the command line (no hand editing, that would be to easy). I currently use the following shell command to build my mpkg (formatted for readability)... /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ PackageMaker --title ProductName --root-volume-only --no-recommend --target 10.4 --domain system --doc resources/install_resources/ProductName.pmdoc --scripts resources/install_resources/Scripts/ --out "ProductName Installer.mpkg" -v In my pmdoc file I have an Open File action that will/should call my shell script. Looking in the created package I see a Postflight sub-package and in it I see a postflight script that has a call to open my script. So, that all looks cool. But the issue it that my script is not being copied into the mpkg. My script is located in the folder specified by the --scripts attribute of the command line. This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul FitzGerald