Re: Determining what apps are installed on Tiger
Re: Determining what apps are installed on Tiger
- Subject: Re: Determining what apps are installed on Tiger
- From: Philip Ershler <email@hidden>
- Date: Fri, 17 Nov 2006 14:38:47 -0700
On Nov 17, 2006, at 2: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?
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?
I agree that this has really nothing do with XCode. Just a
suggestion, however, the System Profiler is Apple Scriptable and the
Profiler can easily find all the apps on a machine.
Phil
_______________________________________________
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