Re: Create Alias w Leopard PackageMaker
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com First, thank you for taking your time to help me. Very kind of you. I am assuming I don't need to change anything in the script you sent me. 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: Using Terminal I found that using this command: does exactly what I want. #!/bin/sh exit 0 _______________________________________________ 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... 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. 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. Thanks, but I only got more confused. I am not an XCode developer, just a lowly Filemaker Developer. ln -s /Applications/Compass_4.0.13/Compass.app ~/Desktop/ Start_Compass 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/ln -s $3/Applications/Compass_4.0.13/Compass.app $USER/Desktop/ Start_Compass _______________________________________________ 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/ jimhoyt1%40mac.com This email sent to jimhoyt1@mac.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Jim Hoyt