• 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: Create Alias w Leopard PackageMaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create Alias w Leopard PackageMaker


  • Subject: Re: Create Alias w Leopard PackageMaker
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 22 Feb 2008 20:32:36 +0100


On Feb 22, 2008, at 3:44 PM, Jim Hoyt wrote:

PackageMaker 3.01 (Leopard) has an Actions function that is supposed to let you create an alias as a Postinstall Action.

I could find no documentation on how this is supposed to work.
Looked in PackageMaker_UserGuide_10.5.pdf.

I tried several variations and got no aliases.

I used this syntax:

Point to Component (then selected the .app), Alias Path: /Desktop (also tried /Desktop/)

Since the package I am installing has about a dozed file in the program folder, I don't want to force the user to find the right one and put in on the Desktop or Dock.

I would like to be able to put an Alias in the Dock and on the Desktop.

I know it doesn't suit some people's tastes to plunk things on the users workspace, but that is my choice, and knowing my users, they will like my choice.

Any help deeply appreciated, if you know of some more detailed documentation, that would be great, also.

As far as I can tell, PackageMaker 3.0.1 creates (or tries to create) an alias using an applescript script.


Your path should probably be $HOME/Desktop (if I am to believe the tests I've just made).

Unfortunately this would not be enough as the script is failing on the following call:

set dst to POSIX File "Whatever" as alias


Just in case you don't want to spend your time trying to figure out how to make this Applescript work, one solution could be to use the command line tool available at this URL: http://s.sudre.free.fr/ Software/HelperTools/bristow.zip (this is a Xcode project)


usage: bristow [-a][-u] <file or directory> alias
-a -- Install an alias in all users home folder. alias will be read as a relative path.
-u -- Install an alias in the current logged in user home folder. alias will be read as a relative path.



Regarding Docking a file or application, this can be achieved with a plist editor (according to some persons).



Hope it can help.

--
Stephane


_______________________________________________ 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: 
 >Create Alias w Leopard PackageMaker (From: Jim Hoyt <email@hidden>)

  • Prev by Date: PackageMaker problems
  • Next by Date: Re: Create Alias w Leopard PackageMaker
  • Previous by thread: Create Alias w Leopard PackageMaker
  • Next by thread: Re: Create Alias w Leopard PackageMaker
  • Index(es):
    • Date
    • Thread