Quote:
Originally Posted by John
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.