• 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
Scripting Best Practices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Best Practices


  • Subject: Scripting Best Practices
  • From: "John Williams" <email@hidden>
  • Date: Wed, 10 Oct 2007 13:54:36 -0600
  • Thread-topic: Scripting Best Practices

Hi,
 
I have a couple questions regarding scripting in Distributions and regular Packages.
 
I have a lot of the same actions in my postinstall and postupgrade scripts. Is there a recommended way to share a single script file between the two?
 
For distributions, does anyone have any tips on easing the editing of the _javascript_s used in the distributions? Having to click Edit in the PackageMaker interface, then select TextWrangler (or whatever) from the script editor window and then clicking Edit again, make changes, close the temp file, go back to packagemaker and then clicking OK to make any change is getting really tedious. What I'd really like is a single _javascript_ file that defines all my global functions. I could then edit all my functions at once in a text editor.
 
Thanks
 

John Williams

Typefi Systems Pty Ltd

 
 _______________________________________________
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

  • Follow-Ups:
    • RE: Scripting Best Practices
      • From: "John Williams" <email@hidden>
  • Prev by Date: Plugin support: extreme test failed
  • Next by Date: RE: Scripting Best Practices
  • Previous by thread: Plugin support: extreme test failed
  • Next by thread: RE: Scripting Best Practices
  • Index(es):
    • Date
    • Thread