How to run .app applications on Mac OS X
asked 13 Sep '11, 06:03
Sometimes, as part of a Mac OS X install, it is necessary to run a .app application. A .app application is indeed a directory, with a well defined structure. Mac OS X recognizes and interprets it as an application when invoked through the graphical interface (i.e., from Finder). InstallBuilder
Option 1: Run it through the OS X shell command "open":
This has the drawback that the OS will return control immediately after invocation, so the installer will continue its work at the same time than the .app is running, which may or may not work for your particular situation.
Option 2: Explore the .app structure, looking for the executable file. It is usually stored under "ApplicationName.app/Contents/MacOS/". The exact name can be found in another file inside the bundle: Contents/Info.plist. This is a text file that should contain something similar to:
Where myExecutable is the name of your particular application. In that case, you could use a runProgram action as shown below:
answered 13 Sep '11, 06:08