• 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: Installer script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer script


  • Subject: Re: Installer script
  • From: JJ <email@hidden>
  • Date: Sun, 01 Sep 2002 11:48:14 +0200

> I'm trying to create an installer script to be run from a CD where an applet
> checks for which system is the start-up disk. Below is an example I've
> managed to get to work to check OS X volumes (apres 10.2) but I'm stuck for
> a OS 8.6 -> 9.2.x version of the same.

Hi, Phil, all...

Three possible ways:


version of application "Finder"
--> i. e., "E2-9.2"


(alias (path to system folder) as text) & "System"
short version of (info for result)
--> i. e., "E1-9.2.2"


tell application "Finder"
set sysv to computer "sysv" -- or system attribute "sysv"
end tell
set majorversion to sysv div 256
--> i.e., 9
set minorversion to (sysv mod 256) div 16
--> i.e., 2

JJ
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Installer script
      • From: Harald E Brandt <email@hidden>
    • Re: Installer script
      • From: phildobbin <email@hidden>
  • Prev by Date: Re: a "repeat" before a "on idle"
  • Next by Date: Re: Address Book
  • Previous by thread: Re: Installer script
  • Next by thread: Re: Installer script
  • Index(es):
    • Date
    • Thread