• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: vinay washimkar <email@hidden>
  • Date: Sun, 12 Sep 2010 15:56:03 +0530
  • Importance: Normal


Hi All,

Need help i have created package. It is specific to package that i have to install it manual so .dmg will not work.
Package is been created successful when i am putting script in the package as i want an alias or symbolic link to the desktop of all users or the future users it is giving me error 
without script it is working fine i mean it is installing the original file on the desired location i wanted

I want the symbolic like of that app to the all user desktop or future users.

here is the script.
but it giving me error when i am executing it through .pkg.
Please help me with this script.

#!/bin/sh
# postflight

# Lock the file at the UNIX level
/usr/bin/chflags uchg /Users/Shared/FileMaker_Shortcut/ON-AIR\ Pro\ 4.5\ Opener.fp7

# Link to User Template
/bin/ln /Users/Shared/FileMaker_Shortcut/ON-AIR\ Pro\ 4.5\ Opener.fp7 /System/Library/User\ Template/English.lproj/Desktop/

# Link to existing Users' Desktops
/bin/ln /Users/Shared/FileMaker_Shortcut/ON-AIR\ Pro\ 4.5\ Opener.fp7 /Users/*/Desktop/

exit 0

Regards,

Vinay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Need help in created package using post flight script
      • From: vinay washimkar <email@hidden>
  • Prev by Date: Re: iChat script has stopped working
  • Next by Date: Need help in created package using post flight script
  • Previous by thread: Re: Finder crash on duplicate file statement
  • Next by thread: Need help in created package using post flight script
  • Index(es):
    • Date
    • Thread