Fixing iPhone Installer.app “Main Script execution failed”
March 22, 2008 (late afternoon)
Finally got around to fixing the iPhone Installer.app “Main Script execution failed” problem. I was running 1.1.4 and it turned out that the Installer.app somehow had acquired wrong security settings.
My fix:
1: SSH’d into the iPhone
2: Corrected permissions to 755 plus the setuid bit (allowing execution as root)
chmod 4755 /Applications/Installer.app/Installer
3: Corrected owner and group:
chown root:wheel /Applications/Installer.app/Installer
4: Restarted the iPhone and tapped Installer.app
5: Now, it’s working great!
posted in: iPhone Unix

You are a superstar!