• 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: phildobbin <email@hidden>
  • Date: Sun, 01 Sep 2002 14:16:35 +0100

On 1/9/02 10:48, "JJ" <email@hidden> wrote:

>> 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

Thanks for the tips. I'd been trying way three but had been running into
problems. I'll try the other two.

Regards,

Phil.
_______________________________________________
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.

References: 
 >Re: Installer script (From: JJ <email@hidden>)

  • Prev by Date: Re: Opening System Preference Panes...
  • Next by Date: Re: Installer script
  • Previous by thread: Re: Installer script
  • Next by thread: Re: Installer script
  • Index(es):
    • Date
    • Thread