• 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: Steve Christensen <email@hidden>
  • Date: Fri, 17 Nov 2006 18:17:05 -0800

On Nov 17, 2006, at 1:28 PM, Laurence Harris wrote:

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?

Agreeing with Larry, if you have a list of all your in-house apps, those are the only ones you need to look for, right? If they must be installed in /Applications you can just search there, otherwise a catalog search should be able to locate an app wherever it's hiding. And unless you have many (hundreds? thousands?) in-house apps, the search time will be negligible. For that matter, so should the update unless the user's machine is -really- out of date.


steve

_______________________________________________
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


References: 
 >Determining what apps are installed on Tiger (From: "Jim Brown" <email@hidden>)
 >Re: Determining what apps are installed on Tiger (From: Laurence Harris <email@hidden>)

  • Prev by Date: Re: Various XCode 2.4.1 bugs (before I go ahead and file them)
  • Next by Date: Re: Various XCode 2.4.1 bugs (before I go ahead and file them)
  • 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