Would anyone happen to have extension attribute templates for iTunes, iPhoto, and iMovie? Any help is appreciated.
Extension Attributes: iTunes, iPhoto, iMovie
Best answer by mm2270
So if I'm understanding you correctly, you want a way to show the versions of these apps in a regular inventory report, not just in the details of a specific system. Is that right?
If so, then yes, you could write an EA for this. Should be pretty simple actually. And I'd agree. There is no way to do what you want other than an Extension Attribute. Regular inventory reports don't allow you to display a column for the version of a specific application.
The below is untested as I just threw this together in a few minutes, but give it a try. It should report all the apps version in one EA. You could of course write a separate one for each app if you want, which may give you better reporting capabilities.
#!/bin/sh
iTunesVers=`defaults read /Applications/iTunes.app/Contents/Info CFBundleShortVersionString`
iPhotoVers=`defaults read /Applications/iPhoto.app/Contents/Info CFBundleShortVersionString`
iMovieVers=`defaults read /Applications/iMovie.app/Contents/Info CFBundleShortVersionString`
echo "<result>iTunes = $iTunesVers
iPhoto = $iPhotoVers
iMovie = $iMovieVers</result>"Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
