• 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: Determining what apps are installed on Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining what apps are installed on Tiger


  • Subject: Re: Determining what apps are installed on Tiger
  • From: Laurence Harris <email@hidden>
  • Date: Fri, 17 Nov 2006 16:28:05 -0500


On Nov 17, 2006, at 3:54 PM, Jim Brown wrote:

I am working on a utility tool that is designed to keep some in-house
developed apps up to date. In order to do that the tool needs to
periodically refresh its inventory of installed apps. Version 1 does
this by brute force parsing the /Applications directory and
sub-directories and creating an array of all the application bundles
it finds. Then it compares the array against a text file that contains
the information about the latest versions of the updateable apps. The
two problems with this approach are that the refreshing can take a
long time depending on the cpu type and the number of apps in
/Applications and, any apps that get installed somewhere else other
than /Applications aren't included.

I've tried using lsregister but it has not proven reliable enough to
be used alone as a source for the current suite of installed apps.

Has anyone come up with any other methods of determining all the
applications that are installed on OS X Tiger?

You could do a couple of catalog searches. One for folders whose names end with .app and another for files whose type is 'APPL'. Do you really need to inventory *all* applications or just your in-house applications?


FWIW, this has nothing to do with Xcode. Seems like it would be more appropriate on carbon-dev or cocoa-dev, or perhaps some other list?

Larry _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Determining what apps are installed on Tiger
      • From: Steve Christensen <email@hidden>
    • Re: Determining what apps are installed on Tiger
      • From: Philip Ershler <email@hidden>
References: 
 >Determining what apps are installed on Tiger (From: "Jim Brown" <email@hidden>)

  • Prev by Date: Debugging browser plugin loading
  • Next by Date: Re: Determining what apps are installed on Tiger
  • Previous by thread: Re: Determining what apps are installed on Tiger
  • Next by thread: Re: Determining what apps are installed on Tiger
  • Index(es):
    • Date
    • Thread