• 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: Jim Hoyt <email@hidden>
  • Date: Sat, 23 Feb 2008 08:52:22 -0500

First, thank you for taking your time to help me. Very kind of you.

I put the code you sent (below) in a file named MakeLink.rtf and put a reference to that file in the PostFlight Script field in the Package screen.

PackageMaker builds the installer successfully, so it is reading the script file, but Installer fails when it tries to run the script.

I am assuming I don't need to change anything in the script you sent me.

The folder and file names are correct in this script. I am guessing that the $3 gets the hard drive name (or root), and the $user is the current user.

I must still be leaving something out.

Any more thoughts?

On Feb 23, 2008, at 3:25 AM, Stéphane Sudre wrote:
.

On Feb 22, 2008, at 9:18 PM, Jim Hoyt wrote:

Thanks, but I only got more confused. I am not an XCode developer, just a lowly Filemaker Developer.

Using Terminal I found that using this command:

ln -s /Applications/Compass_4.0.13/Compass.app ~/Desktop/ Start_Compass

does exactly what I want.

Problem is, I don't know how to make that happen as a script called by the installer.

Any thoughts?

. It's not an alias but a symbolic link. Symbolic links are cheap aliases.


. If you want to go this way, you would need to add a postflight script that would look like this:

#!/bin/sh

/bin/ln -s $3/Applications/Compass_4.0.13/Compass.app $USER/Desktop/ Start_Compass

exit 0



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


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: 
 >Create Alias w Leopard PackageMaker (From: Jim Hoyt <email@hidden>)
 >Re: Create Alias w Leopard PackageMaker (From: Stéphane Sudre <email@hidden>)
 >Re: Create Alias w Leopard PackageMaker (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Create Alias w Leopard PackageMaker
  • Next by Date: PackageMaker plug-in for a "Show ReadMe" panel?
  • Previous by thread: Re: Create Alias w Leopard PackageMaker
  • Next by thread: Create Alias w Leopard PackageMaker
  • Index(es):
    • Date
    • Thread