View Single Post
Old 02-18-2008, 11:15 AM   #5 (permalink)
x666x
 
x666x's Avatar
 
Join Date: Jan 2008
Posts: 468
Thanks: 0
Thanked 1 Time in 1 Post
Exclamation

Originally Posted by John View Post
X, if I may ask, how did you go about getting your source on Installer? I'd like to do the same, but gophering around on how to do hasn't shown any results.

- John
Before I started sleuthing around I thought I'd have a go at looking at the source of the modmyifone and polarbearfarm sources. After examining both for a while I started to see a pattern forming, and realized this is just a Plist renamed to XML.

If you're familiar with Plists, then you should be right at home here, all you're really doing is setting up keys and their strings.

Some important things to note is that Installer has a bit of a fail-safe, this took me about an hour to figure out, lol. This fail-safe is basically the byte size of your zip file, if the one you define in the Plist under <size> does not actually match the byte count of the zip file it downloads you'll receive an error in Installer, either a Download Failed! or a Main Script Execution Error! (or something along those lines). I recommend uploading your zip files, then using CyberDuck to "get info" on them, followed by copy and pasting the byte count from that popup window into your plist. Also, do not use a comma in your byte size value, it should just read a number like "118345".

Click the link on the Source thats listed above in Safari, then view the source code on the page it brings you to. You'll see my plist and the keys I set to get everything to work.
__________________
I'm saving my 999th post for something "in the air" so until then I won't be posting on x999x
x666x is offline   Reply With Quote