• 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: system.files.fileExistsAtPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system.files.fileExistsAtPath


  • Subject: Re: system.files.fileExistsAtPath
  • From: "Sean P. Kane" <email@hidden>
  • Date: Tue, 19 Sep 2006 15:52:20 -0700
  • Thread-topic: system.files.fileExistsAtPath

Thank you. I will give that a try.

Sean

--
Sean P. Kane
Macintosh Client Engineering Support | Nike, Inc.
Affiliated Computer Services | Beaverton, Oregon


> From: Christopher Ryan <email@hidden>
> Date: Tue, 19 Sep 2006 12:19:01 -0700
> To: "Sean P. Kane" <email@hidden>
> Cc: <email@hidden>
> Subject: Re: system.files.fileExistsAtPath
>
> If you know the identifier of the security update (I don't know it off
> hand) you can use:
>
> my.target.receiptForIdentifier()
>
> This will return an object representing the receipt (with the
> properties identifier and version).
>
> Chris
>
>
>> Question:
>>
>> If I am running the following code in a distribution package
>> choice¹s scripts:
>>
>> (system.sysctl('hw.machine') == 'i386' &&
>> system.files.fileExistsAtPath('/Library/Receipts/
>> SecUpd2006-004Intel.pkg') == false) && my.choice.selected
>>
>> Which is intended to determine if the machine is an intel based
>> system and already has SecUpd2006-004Intel.pkg installed, will
>> system.files.fileExistsAtPath check for that file on the system I am
>> booted to or on the target? If it is on the System Disk, is there a
>> way to check the target instead?
>>
>> Thanks,
>> Sean
>>
>> --
>> Sean P. Kane
>> Macintosh Client Engineering Support | Nike, Inc.
>> Affiliated Computer Services | Beaverton, Oregon
>>  _______________________________________________
>> 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
>
>


 _______________________________________________
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:
    • Infinite loop between <choice> start_* attributes and mixed state aborted.
      • From: "Kane, Sean (ACS-ETW)" <email@hidden>
References: 
 >Re: system.files.fileExistsAtPath (From: Christopher Ryan <email@hidden>)

  • Prev by Date: How do I prohibit installation based on current software version?
  • Next by Date: Installer Plugin sample code available on ADC site
  • Previous by thread: Re: system.files.fileExistsAtPath
  • Next by thread: Infinite loop between <choice> start_* attributes and mixed state aborted.
  • Index(es):
    • Date
    • Thread