Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Run other apps from the installer System
I have found that having an installer DVD with me at all times can be very useful. I don't like to actually carry the DVD with me, so I made a 10GB partition on my boot disk (MacBook Pro). I restored the Leopard DVD to this partition. Now all I have to do to boot from the 'Install DVD' is to use the Option key when I boot.

That's not the tip, however; this is. I may want to launch an application other than the ones found in the Utilities menu. Since Terminal is there, I tried to use Terminal to launch (using the open command) other applications. open, however, is not on the Install DVD, but it will still work if used from another partition. For example (assuming system is my regular boot volume):
/Volumes/system/usr/bin/open /Applications/TextEdit.app
But what if the regular boot partition is shot? The answer is to copy the open command from the regular boot partition to the installer partition:
cp /usr/bin/open /Volumes/installer/usr/bin/.
Now I can use the open command from Terminal when booted from the installer partition. When DiskWarrior comes out, and the other commercial disk repair tools, I will copy them into /Volumes/installer/Applications, and be able to launch them when booted from the installer partition. Note that this may work in Tiger, but I haven't tried.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,722 views]  

Run other apps from the installer | 3 comments | Create New Account
Click here to return to the 'Run other apps from the installer' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Run other apps from the installer
Authored by: megagram on Mon, Nov 19 2007 at 10:22AM PST
You can do this without the open command. Just enter the full path to the Mach-O executable file and it will launch the given application.

For instance, to launch TextEdit:

/Applications/TextEdit.app/Contents/MacOS/TextEdit

The generic command would be:

/Applications/AppName.app/Contents/MacOS/AppName

[ Reply to This | # ]

Run other apps from the installer
Authored by: Shiver758 on Mon, Nov 19 2007 at 3:04PM PST
Hear hear! You beat me to the punch.

I'm a command line/keyboard junkie, and, other than Spotlight since Leopard, this is my favorite way to launch programs. :)

[ Reply to This | # ]
Not For Finder
Authored by: cycomachead on Mon, Nov 19 2007 at 3:50PM PST
I should note that running /Volumes/Macintosh\ HD/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder doesn't work due to the fact that the Quicktime framework is missing. ( I dunno why Finder 10.5 requires QT?!?!?)


Also this should work for 10.4 and more. It's interesting to note that on the 10.5 install DVD the man command isn't installed (which sucks!!!!!) and it was there in 10.4 :-(.

[ Reply to This | # ]