#!/bin/sh ./emmett add /Applications/foo.app On 12 Dec 2013, at 18:00, Oakman wrote: Hello, 'path/to/emmett add /Applications/foo.app' Please, can one of you folks point me in the right direction? Thanks for your help. /Oak _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/ralph%40ralphalvy.com This email sent to ralph@ralphalvy.com _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com Make sure emmett is listed in Additional Resources in the Scripts tab of your package. Then use this script and see if that works, chaging 'foo.app' accordingly: Before I begin I should say, I am a certifiable newbie at creating installer packages. Some background: My manager dropped this project in my lap, being the only Mac user in the organization and I have no real choice in the matter. We have an application that could be a drag & drop install, but will be installed using Installer.app. Only reason being the manager wants the app's icon in the Dock. Problem is I am not a programmer and only have some basic knowledge of applescripting and even less of shell scripting. To create a .mpkg I used Packages and am trying to use emmett to put the icon in the Dock by using a postinsall.sh to do the lifting. Nothing I have tried so far has worked. From Terminal I use which works a treat. If I use the same code in the postinstall.sh it fails.