READ: How To Create A Repository For Installer

Discussion in 'iPod touch' started by ipodtouchpros, Apr 5, 2008.

  1. ipodtouchpros

    ipodtouchpros New Member

    Joined:
    Feb 8, 2008
    Messages:
    37
    Likes Received:
    0
    HI EVERYONE, A LOT OF PEOPLE HAVE BEEN ASKING ABOUT HOW TO MAKE A REPOSITORY FOR INSTALLER SO I AM GOING TO SHOW YOU HOW TO MAKE ONE.

    DOWNLOADING THE .XML CODE

    1: Download the .xml code here: http://ipodtouchpros.googlepages.com/repo.zip

    EXTRACTING:

    2. After it's done downloading, just extract the zip folder to your desktop.

    MAKING A GOOGLEPAGES ACCOUNT

    3. Make a googlepages account or if you already have one then that's ok too. This is what the googlepages account should look like if you've done it right: http://i5.photobucket.com/albums/y199/crazyloof/Step2.jpg

    OPENING YOUR REPOSITORY

    4. Open up the repo page with notepad.exe like this http://i5.photobucket.com/albums/y199/crazyloof/step3.jpg then do this http://i5.photobucket.com/albums/y199/crazyloof/step32.jpg

    NAMING YOUR REPOSITORY AND PUTTING INFO ON IT

    5. Now you have to edit your repository by following this picture: http://i5.photobucket.com/albums/y199/crazyloof/step4.jpg

    SAVING YOUR REPO

    6. Once you follow that picture, and put everything where it needs to be click "save as" and then type in repo.xml and make sure that you save it to ALL FILES! Like this: http://i5.photobucket.com/albums/y199/crazyloof/step42.jpg

    UPLOADING PACKAGE TO YOUR WEBSITE


    7. Before adding a package to your repo, you must upload the .zip of the item you want on your repo to your googlepages account. So lets say you have a 112 weather zip folder. You go to your website and upload the 112 weather. When you upload it should look like this:http://i5.photobucket.com/albums/y199/crazyloof/step4123.jpg

    ADDING PACKAGES TO YOUR REPOSITORY

    8. Once you have saved it, open it back up with notepad and follow these instructions:
    http://i5.photobucket.com/albums/y199/crazyloof/step43.jpg

    ADDING MORE PACKAGES TO YOUR REPOSITORY

    9. To add more packages to your repo, all you do is copy the <dict> above the <key>bundleidentifier<key> and scroll down while copying and then stop at the
    </array>
    </array>
    </dict>
    </dict>

    After you copy those (you will have copied 42 lines), you have to paste all of 42 of those lines right above the
    </array>
    </dict>
    </plist>

    This is what the repo should look like after adding two packages.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>info</key>
    <dict>
    <key>name</key>
    <string></string>
    <key>description</key>
    <string></string>
    <key>maintainer</key>
    <string></string>
    <key>contact</key>
    <string></string>
    <key>url</key>
    <string></string>
    <key>category</key>
    <string></string>
    </dict>
    <key>packages</key>
    <array>
    <dict>
    <key>bundleIdentifier</key>
    <string></string>
    <key>name</key>
    <string></string>
    <key>version</key>
    <string>1.0</string>
    <key>location</key>
    <string></string>
    <key>category</key>
    <string></string>
    <key>size</key>
    <string></string>
    <key>hash</key>
    <string></string>
    <key>url</key>
    <string></string>
    <key>description</key>
    <string></string>
    <key>date</key>
    <string></string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string></string>
    <string></string>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>RemovePath</string>
    <string></string>
    </array>
    </array>
    </dict>
    </dict>
    <dict>
    <key>bundleIdentifier</key>
    <string></string>
    <key>name</key>
    <string></string>
    <key>version</key>
    <string>1.0</string>
    <key>location</key>
    <string></string>
    <key>category</key>
    <string></string>
    <key>size</key>
    <string></string>
    <key>hash</key>
    <string></string>
    <key>url</key>
    <string></string>
    <key>description</key>
    <string></string>
    <key>date</key>
    <string></string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string></string>
    <string></string>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>RemovePath</string>
    <string></string>
    </array>
    </array>
    </dict>
    </dict>
    </array>
    </dict>
    </plist>


    CONNECTING TO YOUR REPO:

    All you do to connect to your repo is upload repo.xml to your googlepages account and then when its done, go to installer and type in the name of the googlepages account like this: http://ipodtouchpros.googlepages.com/repo.xml

    If you see your package and it says "main execution failed" then that means you didn't zip the package correctly. However, if it says "package download failed" that means you didn't copy the size correctly or the hash isn't right.

    You may check your repository next to mine if you would like to use an example. Mine is http://ipodtouchpros.googlepages.com/repo.xml


    I hope this helps you!! Special Thanks to Crazyloof for the pics.
  2. ZombieKiller

    ZombieKiller Banned

    Joined:
    Oct 21, 2007
    Messages:
    3,740
    Likes Received:
    30
    Device:
    iPhone 3G (White)
    ...Are you serious?

    CrazyLoof has a guide already... and its a STICKY!
  3. SHININGSTEEL

    SHININGSTEEL Banned

    Joined:
    Mar 2, 2008
    Messages:
    590
    Likes Received:
    11
    I might make a repo for my friends at school and myself. It would help them out a lot.
  4. ipodtouchpros

    ipodtouchpros New Member

    Joined:
    Feb 8, 2008
    Messages:
    37
    Likes Received:
    0
    I know, it's almost the exact same one as Crazyloof except I added a few different things.....
  5. ipodtouchpros

    ipodtouchpros New Member

    Joined:
    Feb 8, 2008
    Messages:
    37
    Likes Received:
    0

Share This Page