I have downloaded "Install OS X Mavericks.app" from torrent because of slow and unstable internet connection. Now I am trying to run it:
$ open Install\ OS\ X\ Mavericks.app LSOpenURLsWithRole() failed with error -10810 for the file /Users/john/Downloads/Install OS X Mavericks.app.
Trying to run manually:
$ ./Install\ OS\ X\ Mavericks.app/Contents/MacOS/Install\ OS\ X\ Mavericks -bash: ./Install OS X Mavericks.app/Contents/MacOS/Install OS X Mavericks: Malformed Mach-o file
Trying to create installation media:
$ sudo Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia sudo: unable to execute Install OS X Mavericks.app/Contents/Resources/createinstallmedia: Malformed Mach-o file
$ java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-10M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)