If you do not want (or can't) get the app out of a backup you can extract it from the installer.
Download the Airport Utility 5.6 for Lion and move the file AirPortUtility56.pkg contained within the dmg to your ~/Downloads folder. Then in a Terminal window do :
$ cd ~/Downloads
$ pkgutil --expand ./AirPortUtility56.pkg ~/Downloads/AirPortUtility56
$ gunzip -c < ./AirPortUtility56/AirPortUtility56Lion.pkg/Payload | sudo tar -C / -xvf - "./Applications/Utilities/AirPort Utility 5.6.app"
The app works without issue on Mountain Lion in my limited testing so far.
If you wanted to mod the package to skip the check, if you want to easily install the package on multiple macs for instance, here's what you need :
A tool called "Flat Package Editor" to modify the file called Distribution in AirPortUtility56.pkg. To get that tool download the "Auxiliary tools for Xcode" from the Apple Dev site. It's hidden in PackageMaker.app/Contents/resources/Flat Package Editor.app. With it you can open the pkg directly :
Just drag out the Distribution file and remove these lines :
// Less than 10.8
if(-1 != system.compareVersions(my.target.systemVersion.ProductVersion, '10.8')) {
my.result.type = 'Fatal';
my.result.message = system.localizedString('ERR_OSHIGH');
return (false);
}
Drag the new version back in, delete the old Distribution and save.
Like you, I had set iCal's week view to 14 days using the Debug menu in iCal under Lion before upgrading to Mountain Lion. However, at least for me, changing the value via Calendar
>Preferences...
did not permanently change the setting. When I restarted Calendar, it always reverted to the previous value (in my case, 14 days) if the value was not one of those available from the menu (i.e., 5 or 7).
There is another way to set the number of days shown in week view, and that's to use the following shell command:
defaults write com.apple.iCal CalUIDebugDefaultDaysInWeekView 7
This works where Calendar
>Preferences...
does not, for reasons I don't understand.
The "7" in the command above can be another number, including ones not previously available from Lion iCal's Debug menu, e.g., 10. However, I find that Mountain Lion's Calendar has a peculiar bug when the value is not 5 or 7: in week view, if you have moved the viewed range of dates such that today is not visible, then using View
>Go To Today
(or Command+T) does not move the days in the grid to show today. The title changes to the correct dates, but the days in the grid don't change to the correct range of dates.
(Hat tip to this posting for pointing out that the numerical value could be anything, not just a value shown in iCal's Debug
menu.)
Best Answer
There is a program you can run in terminal.
Update for 2021: This command still works (as written) in OS 11 Big Sur.