Re: Get list of installed applications in the Mac
Re: Get list of installed applications in the Mac
- Subject: Re: Get list of installed applications in the Mac
- From: Wade Tregaskis <email@hidden>
- Date: Sun, 17 Jun 2007 00:37:51 -0700
I've seen the System Profiler application , which is
showing all the applications installed in the machine. Any pointers
on how this application is getting the information about
applications , kernel extensions and frameworks .
You can always invoke the "system_profiler" command line utility.
Pass '-h' to it for usage info. You'll probably want to use the
following, based on what you've said:
system_profiler SPApplicationsDataType SPExtensionsDataType
SPFrameworksDataType
You could also pass '-xml' if you want the output in "XML" form.
It's actually just a plist, so you can then deserialise that in your
app, if you're using Cocoa.
Wade
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden