postflight script not running
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com I cannot get my app installation to run a postflight script. #!/bin/bash ------------ John Nairn http://www.geditcom.com Genealogy Software for the Mac _______________________________________________ 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... 1. The script runs fine in terminal app and exits with 0 2. I put it in my install package (at path Scripts/postflight) and choose that file in the Scripts panel in the postflight field 3. The script is in the built package (when I show its contents it is in the Resources folder) 4. The install proceeds without warning or error (and even displays a brief message on running installer script) 5. The script does not run (as judged by its function not getting done and by none of the "echo" lines appearing in console or installer.log) 6. I am using PackageMaker 3.0.3 For reference, the script is short and given below. It is just removing some preferences I want to change when people upgrade. The echo line never outputs anyplace and the defaults command never deletes anything. echo "GEDitCOM II - reset to default index column settings" defaults delete com.geditcom.GEDitCOMII "Index Column Settings" echo "GEDitCOM II - reset to default browser window toolbar" defaults delete com.geditcom.GEDitCOMII "NSToolbar Configuration browserToolBar" exit 0 This email sent to site_archiver@lists.apple.com
participants (1)
-
John Nairn