The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion > Installer Support
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-02-2007, 01:16 PM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts
Building an Installer.app Package

So here is my first go at creating my own installer.app package.
I got everything to work, however I'm getting this error while installing the package through installer.app

"Error"
"Main script execution failed"

From what I can tell I wrote the plist file correctly and the install instructions are correct, so I'm not sure why it wouldn't work.

Here is the plist file: http://pastie.caboo.se/113476

If someone can help me figure out whats going on I appreciate the help.

anyone? please help I wanna get this done today pls

tried again creating a package for itoggle, got the same error, heres the plist file
http://pastie.caboo.se/113493

Last edited by shaiss; 11-02-2007 at 01:16 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 11-02-2007, 01:24 PM
chancre_scolex's Avatar
iPhone? More like MyPhone
 
Join Date: Aug 2007
Device + Firmware: 2.0.1 2G iPhone
Operating System: Mac OSX
Location: Coventry, RI
Posts: 173
Thanks: 8
Thanked 19 Times in 19 Posts
Send a message via AIM to chancre_scolex

Contact Ste.

http://blog.psmxy.org/
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 11-02-2007, 01:34 PM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts

ok, I've emailed them, hopefully they can help figure out whats up
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 11-02-2007, 01:39 PM
Developer
 
Join Date: Jul 2007
Posts: 47
Thanks: 1
Thanked 3 Times in 3 Posts

If you follow the first eight debugging steps at the link below, you'll almost certainly find your problem. If not, feel free to email me again.

http://blog.psmxy.org/debugging/

-ste
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 11-02-2007, 02:16 PM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts

ok, SSH'd into my phone ran installer via SSH and I get this as the error for the scipt failure.
"2007-11-02 12:12:28.361 Installer[338:d03] ATUnpacker: Could not create destinat ion folder, aborting operation!"

So my problem is this: why is installer.app not able to create that directory?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 11-02-2007, 02:20 PM
Developer
 
Join Date: Jul 2007
Posts: 47
Thanks: 1
Thanked 3 Times in 3 Posts

1) I do believe I said to *email* me, not post here.
2) Without seeing the entire debugging output, I have no clue.

-ste
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to sterickson For This Useful Post:
Boine (11-03-2007)
  #7  
Old 11-02-2007, 03:34 PM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts

I emailed you ste, just posted here to see if anyone else could catch my error. just really wanting to figure this out
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 11-02-2007, 04:09 PM
Boine's Avatar
What's Jailbreak?
 
Join Date: Oct 2007
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts

I was having the same problem so i'd love to hear the solution and the process etc
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 11-03-2007, 11:58 AM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts

yes, please anyone?
I have my installer source setup and working 100%. My problem seems to be that the installer will not create the directory.

ste advised to try creating the zip file on a mac. I'll do that sunday/monday and post up if that worked.

so far I've been doing it on a pc, but I dont see why that would matter.

Other thing I noticed is the installer.app guide says to "create a zip with permissions", how do you do that?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 11-03-2007, 03:14 PM
Boine's Avatar
What's Jailbreak?
 
Join Date: Oct 2007
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by shaiss View Post
yes, please anyone?
I have my installer source setup and working 100%. My problem seems to be that the installer will not create the directory.

ste advised to try creating the zip file on a mac. I'll do that sunday/monday and post up if that worked.

so far I've been doing it on a pc, but I dont see why that would matter.

Other thing I noticed is the installer.app guide says to "create a zip with permissions", how do you do that?
If you create the zip archive on Linux or Mac OS X it will work. According to ste, there might still be a bug with Installer that prevents installation of stuff when the zip is created in Windows.

Thanks ste for the help!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 11-03-2007, 03:47 PM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts

is there an idiots guide any where to how to properly create the zip file?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 11-03-2007, 04:05 PM
Boine's Avatar
What's Jailbreak?
 
Join Date: Oct 2007
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts

Just create it in Linux or Mac OS X using the standard method of creating a zip file. If you're under linux you can type "zip -r zip.zip directoryhere"
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 11-04-2007, 01:54 AM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Device + Firmware: Jailbroken iPhone FW 3.0
Operating System: Vista Home
Location: Bakersfield
Posts: 276
Thanks: 14
Thanked 16 Times in 16 Posts

Quote:
Originally Posted by Boine View Post
If you create the zip archive on Linux or Mac OS X it will work. According to ste, there might still be a bug with Installer that prevents installation of stuff when the zip is created in Windows.

Thanks ste for the help!

Well thats nice, my whole source got f-ed up and I had to take it down because of this bug, ya thanks ste


Hope they fix it soon because this is crazy.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 11-04-2007, 02:16 AM
Dash-2's Avatar
Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3GS 3.1.2
Operating System: XP/Vista/Snow Leopard
Location: Oregon
Posts: 2,180
Thanks: 74
Thanked 208 Times in 172 Posts

Hey HighTymes,
our fellow member unclear created a php file that zipped up apps on Windows that worked on Installer.
Maybe shoot him a PM to see if he'll give it too ya =D
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 11-04-2007, 11:16 AM
shaiss's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 263
Thanks: 6
Thanked 33 Times in 21 Posts

please post that php file for the rest of us that dont have access to a mac. Please
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion > Installer Support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 04:14 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top