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