• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: icon in Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: icon in Dock


  • Subject: Re: icon in Dock
  • From: Ralph Alvy <email@hidden>
  • Date: Fri, 13 Dec 2013 07:20:31 -0800

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:

#!/bin/sh
./emmett add /Applications/foo.app

On 12 Dec 2013, at 18:00, Oakman wrote:

Hello,

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
'path/to/emmett add /Applications/foo.app'
which works a treat. If I use the same code in the postinstall.sh it fails.

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >icon in Dock (From: Oakman <email@hidden>)

  • Prev by Date: icon in Dock
  • Next by Date: Re: icon in Dock
  • Previous by thread: icon in Dock
  • Next by thread: Re: icon in Dock
  • Index(es):
    • Date
    • Thread