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
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-25-2007, 01:23 PM
HotStuff2's Avatar
iPhoneaholic
 
Join Date: Nov 2007
Device + Firmware: iPhone 3G[s] + 3.0 firmware
Operating System: Windows Vista Ultimate
Location: Tampa Bay
Posts: 341
Thanks: 5
Thanked 22 Times in 17 Posts
How to create my own installer source?

Not sure if this is the right forum, so apologies all around if it's not.

I have been trying to figure out how to write the XML file to create my own repository, for apps I want to install that either aren't on a repository yet, or as in today's case, when I used Iphone Apper to create an app to put a link to BeeJive on my SpringBoard (yes, I know, I can SSH into the phone and do it that way, and I did, but that's not the point.)

I've looked at and copied other people's XML file (notably Shai's), and I can even get my custom repository to show up, but when I go to install something I've listed, I invariably get a "package download failed!" or "Main script execution failed!".

I've searched and can't find a tutorial (here, HoFo, and Google), so either I'm not searching correctly, using the wrong terms, or...?

Can anyone provide some assistance?

In case anyone wants to look at it, the URL is:

http://hfelsh.tripod.com/hans.xml

Last edited by HotStuff2; 11-25-2007 at 01:42 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 11-25-2007, 01:31 PM
armadillo's Avatar
Theme Creator
 
Join Date: Jul 2007
Posts: 1,118
Thanks: 0
Thanked 503 Times in 309 Posts

That message most likely means that you failed to specify the correct size (in bytes) of your zip file.

Anyone who's reading this: What is the format for the "date" entry?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 11-25-2007, 02:46 PM
HotStuff2's Avatar
iPhoneaholic
 
Join Date: Nov 2007
Device + Firmware: iPhone 3G[s] + 3.0 firmware
Operating System: Windows Vista Ultimate
Location: Tampa Bay
Posts: 341
Thanks: 5
Thanked 22 Times in 17 Posts

I checked that, and even when I've copied someone else, and point to the ZIP file on another server, I get the same type of errors. I have verified the file size in my test XML file (linked above) is correct; it's 28225 in size.

I'm wondering about the date format one as well. I omitted it, since it looks like it (along with a couple other keys, like the hash key) aren't really needed. Or maybe they are, and that's my problem. I can't figure out the date one to save my life! LOL

Well, I apparently made a LITTLE progress. I had to add ".app" (no quotes) to the CopyPath BeeJive.app section; I still get the "Main script execution failed!" error, but it actually copies the files correctly, and manually restarting SpringBoard, the icon shows up. 'Course it doesn't set the permissions or anything....

Last edited by HotStuff2; 11-25-2007 at 02:51 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 11-25-2007, 04:31 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 14
Thanks: 0
Thanked 2 Times in 1 Post

What is the format for the "date" entry?

pleaseeeee can someone reply?
into the modmyi xml file, we can see

date
1196015456


this number 1196015456 is 25/11/2007

how can we create numbers like this from a date?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 11-25-2007, 04:51 PM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,385
Thanks: 298
Thanked 2,626 Times in 856 Posts
Send a message via AIM to Kyle Matthews

http://www.unixtimestamp.com/
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 11-25-2007, 05:16 PM
What's Jailbreak?
 
Join Date: Nov 2007
Posts: 14
Thanks: 0
Thanked 2 Times in 1 Post

thank you sooo much poetic !
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 11-25-2007, 08:24 PM
armadillo's Avatar
Theme Creator
 
Join Date: Jul 2007
Posts: 1,118
Thanks: 0
Thanked 503 Times in 309 Posts

poetic, you are the best!!!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 11-25-2007, 11:40 PM
HotStuff2's Avatar
iPhoneaholic
 
Join Date: Nov 2007
Device + Firmware: iPhone 3G[s] + 3.0 firmware
Operating System: Windows Vista Ultimate
Location: Tampa Bay
Posts: 341
Thanks: 5
Thanked 22 Times in 17 Posts

Thanks, but even with that, I'm still getting the error:

Main script execution failed!

If anyone who understands what that problem might be could look at my XML file and tell me WTH I'm doing wrong, I'd really appreciate it. This is bugging the crap outta me!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 11-26-2007, 12:04 PM
armadillo's Avatar
Theme Creator
 
Join Date: Jul 2007
Posts: 1,118
Thanks: 0
Thanked 503 Times in 309 Posts

Your problem is here:

Exec
/bin/chmod 755 /Applications/iSnake.app/App

You are installing BeeJive.app. There is no iSnake.app/App directory, so the script will fail. Also, if you have set the executable bit on your Mac or PC, there is no need for Exec in your script at all, it should retain executable state after unzipping. So you should do away with the Exec command.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 11-26-2007, 05:09 PM
HotStuff2's Avatar
iPhoneaholic
 
Join Date: Nov 2007
Device + Firmware: iPhone 3G[s] + 3.0 firmware
Operating System: Windows Vista Ultimate
Location: Tampa Bay
Posts: 341
Thanks: 5
Thanked 22 Times in 17 Posts

D'oh! Actually, I added that this morning when I was trying to figure out WTH was happening, and had copied that from ModMyI's installer.app XML file. I left for work this morning and must have hit "save" before editing that out.

It still throws the error without it.

Quote:
Originally Posted by armadillo View Post
Your problem is here:

Exec
/bin/chmod 755 /Applications/iSnake.app/App

You are installing BeeJive.app. There is no iSnake.app/App directory, so the script will fail. Also, if you have set the executable bit on your Mac or PC, there is no need for Exec in your script at all, it should retain executable state after unzipping. So you should do away with the Exec command.
BTW, meant to mention that I'm using Vista, and I'm not sure what you mean by "set the executable bit"? That's why I was trying that code, since right now, Installer apparently copies the files, but doesn't set any permissions on them. And still throws that error, so it never shows up under Uninstall.

Last edited by HotStuff2; 11-26-2007 at 05:17 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 11-26-2007, 07:01 PM
armadillo's Avatar
Theme Creator
 
Join Date: Jul 2007
Posts: 1,118
Thanks: 0
Thanked 503 Times in 309 Posts

I told you what's wrong with your source. Now you tell me that I looked at the wrong source and that you have another source that errors out. How am I supposed to know what's wrong? Just paste the Exec command here and I'll tell you what's wrong.

And it's not possible to throw an error when you leave out the Exec, unless your zip file is named wrong. But I would suggest that you don't make your source available publicly, since you obviously are in the early stages of developing this stuff. You will most likely brick other people's phones.

Last edited by armadillo; 11-26-2007 at 07:03 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 11-26-2007, 07:20 PM
HotStuff2's Avatar
iPhoneaholic
 
Join Date: Nov 2007
Device + Firmware: iPhone 3G[s] + 3.0 firmware
Operating System: Windows Vista Ultimate
Location: Tampa Bay
Posts: 341
Thanks: 5
Thanked 22 Times in 17 Posts

No, you misunderstood me. I don't have another source, I was saying that the entry:

Exec
/bin/chmod 755 /Applications/iSnake.app/App

Was something I was playing around with this morning to see if it would help. I was in a hurry before work and must have saved the file without editing those lines out. The same error is still happening WITHOUT that code in the XML. I've edited it out and removed it, and the link is the same one you were looking at.

I'm not looking to make it publicly available; this is more for me to learn how to do an installer repository, as well as create an uninstall entry for the BeeJive icon I created.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 11-27-2007, 07:37 AM
CyberGreg's Avatar
Retired Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3G/Touch 2.0
Operating System: OS 10.6
Posts: 1,096
Thanks: 58
Thanked 206 Times in 137 Posts

The date field has never been required, it's an optional field. I don't use it in any of my packages. The MD5 hash key will become mandatory in some future Installer app update so you should get in the habit of adding it.

I looked at the download and the "Embark" app is already set to exec so you don't need to put the extra line in the install script. If you are still having a problem it is most likely related to the actual zip file. What software are you using to create the zip file on your Vista PC?

Update....
Actually... if nothing has changed and the files I'm looking at are current then your problem is the size key. You have 40897 in your plist file. The file I downloaded from the link in your plist file is 28225

Last edited by CyberGreg; 11-27-2007 at 09:08 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 11-27-2007, 11:38 AM
Green Apple
 
Join Date: Sep 2007
Posts: 84
Thanks: 1
Thanked 5 Times in 5 Posts

How can I view the i.unlock.no xml. I want to create a custom source with only some of their applications.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 11-27-2007, 11:51 AM
bkabner's Avatar
Green Apple
 
Join Date: Nov 2007
Location: Richmond, KY
Posts: 45
Thanks: 4
Thanked 3 Times in 3 Posts
Send a message via AIM to bkabner Send a message via MSN to bkabner Send a message via Yahoo to bkabner

I was just thinking today about building my own source list...looks like I might be biting off more than I can chew! lol
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

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 03:17 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