Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 1.60 / 5
  You rated: 3 / 5 (5 votes cast)
 
[5,393 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 whoever posted them. This site is not responsible for what they say.
Run other apps from the installer
Authored by: megagram on Nov 19, '07 10:22:10AM
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 Nov 19, '07 03:04:37PM

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 Nov 19, '07 03:50:49PM

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 | # ]