The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats



Personal tools

Creating A Source For Installer.App

From ModMyi - Wiki

Contents

Getting Started

Hi there! This is a quick guide on setting up your very own source for Installer.app. To start, we're going to need a few things:

-A webserver with FTP access

-An FTP client (winSCP)

-An iPhone with Installer.app

-An interface to connect to your iPhone (iBrickr, iPhoneBrowser, SSH, etc.)


I won't get into details about connecting to your webserver via FTP as you should already know how. If you don't, check your hosting service's support.


We're going to set up a demo repository on your website.

You will need to download this package to begin: Demo Repository.

In the long run, you probably won't want to host the packages included in the demo, but they should give you an example structure off which you can base your own packages.

Step One - Configure Your Repository

Extract the recently downloaded 'demo.zip' to a directory of your choice.

In your file manager, browse to the directory you extracted the files to.

Image:Repository1.jpg


Open the file 'repository.plist' in a plain-text editor.

Image:Repository2.jpg


Edit the text as follows, replacing the highlighted portions with your own information.

<dict>
 <key>name</key>
 <string>[name of source]</string>
 <key>maintainer</key>
 <string>[your name]</string>
 <key>contact</key>
 <string>[your email]</string>
 <key>url</key>
 <string>[URL of your homepage]</string>
 <key>category</key>
 <string>[category of source]</string>
</dict>

When you're finished, save the file.

Step Two - Upload Your Repository

In your preferred FTP client, connect to your webserver.

Create a remote directory in the publicly accessible directory of your server (often '/public_html' or '/httpdocs'). Upload the files you extracted and edited locally to this remote directory.

Image:Repository3.jpg

Step Three - Add Your Source in Installer.App

Next, using any iPhone interface such as iBrickr, iPhoneBrowser, or even SSH, download your 'PackageSources.plist' file located in the remote /private/var/root/Library/Installer directory on your iPhone.

Image:Repository5.jpg


Open the recently downloaded 'PackageSources.plist' in a plain-text editor.

Image:Repository4.jpg


After the <array> tag, insert the following text, replacing the highlighted portions with your own information. If you're confused, use the other sources as a guideline.

<dict>
 <key>category</key>
 <string>[category of source]</string>
 <key>contact</key>
 <string>[your email]</string>
 <key>description</key>
 <string>[description of source]</string>
 <key>location</key>
 <string>[URL of directory created in Step Two]</string>
 <key>maintainer</key>
 <string>[your name]</string>
 <key>name</key>
 <string>[name of source]</string>
 <key>url</key>
 <string>[URL of your homepage]</string>
</dict>

When you're finished, save the file. In your preferred iPhone interface, upload the recently edited 'PackageSources.plist' file to the remote /private/var/root/Library/Installer directory on your iPhone. If you are prompted to replace the file, say yes.

Congratulations!

That's it! Assuming you've done everything correctly, you should now be able to open Installer.app and see your source listed in the Sources tab. Of course, your source doesn't actually have any packages (except any included in the demo) so you'll need to learn how to create them. Detailed instructions on creating your own packages soon!


Go to Top
ModMyI

All times are GMT -6. The time now is 12:56 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Powered by vbWiki Pro 1.3 RC4. Copyright ©2006-2007, NuHit, LLC
| Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top