Page 1 of 4 123 ... LastLast
Results 1 to 20 of 70

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: How to create Installer 4.0 repository

  1. #1
    Former MMi Staff Writer sayam's Avatar
    Join Date
    Jul 2008
    Location
    Ludhiana, Punjab, India
    Posts
    804
    Thanks
    34
    Thanked 464 Times in 104 Posts

    Default How to create Installer 4.0 repository
    With the introduction of Installer 4.0, RipDev have also introduced a new repo style consisting of mostly php files which has made it a bit complex for previous repo owners to continue their repo. So, here's a simple way of creating it.

    1. Download the Installer 4.0 repository code from including demo package from here.



    2. Extract the contents of the above downloaded file.



    3. Open the Package folder, there will be three files inside it.

    • Info.plist: Contains all the description of package
    • Install.png: Image shown in Installer for the package
    • Fallout.png: The package (can be replaced by application or anything else)



    4. Open Info.plist, edit the file in following way and save it.

    • Identifier: These are unique for every package, change it to something like com.demo.mmi
    • Description: Change it to description of your package
    • Name: Change it to name of your package
    • Copy Path and Remove Path: Change the path to the destination folder of package file like /Applications/Package.app
    • Version: Change it to version number of the package



    5. Change the Install.png to whatever you want to be shown in it's place on Installer (only png file). Change Fallout3.png with your package (non-zipped).

    4. Compress all the three files and change the name of zip file to the name of package i.e. packagename.zip

    5. Copy the package, create a folder with the name of category in which you want your package to be in inside Packages folder in Repository and paste the in the newly created folder.



    6. Go to the repository folder, edit Info.plist in the following way and save it.

    • Name: Change it to name of the repository
    • Mantainer: Change it to mantainer's name
    • Contact: Change it to your e-mail address
    • URL: Change it with the url of your site
    • Category: Change it to the category for your repository
    • Description: Change it to your repo's description



    7. Copy this Info.plist in Info folder.

    8. Edit the config.inc.php as in image below.

    • Packages_Path_Url: Change it to the location in which the packages folder will be located at your server.
    • Info_Path_Url: Change it to the location in which the Info folder will be located at your server.
    • Regenerate_Secret: Change it to a secret word.



    9. Now rename the folder repository to whatever you like to be displayed in your URL. For instance, if you rename the repository to abc, link to it will be http://yoursitename.com/abc

    10. Upload it to the public directory of your server.

    11. Now, to check if everything is right, go to the following url

    http://yoursitename.com/abc/

    It should look similar to the image below.



    12. Then, go to

    http://yoursitename.com/abc/regenerate.php?secret=xyz

    It should look similar to the image below.


    13. Finally, go to http://yoursitename.com/abc/?debug=1

    It should look similar to the image below.



    14. If you get the correct response, then your repository is successfully created.
    Attached Thumbnails Attached Thumbnails -picture-1.png   -picture-2.png   -picture-3.png   -picture-4.png   -picture-7.png   -picture-9.png   -picture-13.png   -picture-12.png  

    -picture-14.png   -picture-15.png  
    Last edited by sayam; 08-23-2008 at 10:15 AM.


  2. #2
    iPhone? More like MyPhone Renblade's Avatar
    Join Date
    Aug 2008
    Location
    Gibraltar
    Posts
    128
    Thanks
    5
    Thanked 12 Times in 12 Posts

    Wow! I am most impressed! Great tut by the way. Really easy to understand, even though I'm not making a repo!

  3. #3
    Former MMi Staff Writer sayam's Avatar
    Join Date
    Jul 2008
    Location
    Ludhiana, Punjab, India
    Posts
    804
    Thanks
    34
    Thanked 464 Times in 104 Posts

    Quote Originally Posted by Renblade View Post
    Wow! I am most impressed! Great tut by the way. Really easy to understand, even though I'm not making a repo!
    Thanks, it took me an hour or two to make this one

  4. #4
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Location
    Buena Park, California, United States
    Posts
    144
    Thanks
    6
    Thanked 10 Times in 6 Posts

    15. Use Cydia instead.

  5. #5
    I agree...Just use Cydia!

  6. #6
    Former MMi Staff Writer sayam's Avatar
    Join Date
    Jul 2008
    Location
    Ludhiana, Punjab, India
    Posts
    804
    Thanks
    34
    Thanked 464 Times in 104 Posts

    Quote Originally Posted by bscott1504 View Post
    I agree...Just use Cydia!
    I don't think cydia is the best. Everyone have different choices so let them make their own choices!!


  7. #7
    iPhone? More like MyPhone
    Join Date
    Apr 2008
    Location
    Georgia
    Posts
    196
    Thanks
    11
    Thanked 18 Times in 15 Posts

    Cydia functions much better as of late. Until installer gets out of beta I am not willing to add installer to my iphone

  8. #8
    cydia is easy!
    WHY NOT USE IT
    and for 2.0 users is faster

  9. #9
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Location
    Buena Park, California, United States
    Posts
    144
    Thanks
    6
    Thanked 10 Times in 6 Posts

    Damn, didn't mean to start that old war again. But, I too was a Cydia naysayer in the old days. It is in fact much better than installer these days, both feature wise and dare I say ease of use. And open source if I'm correct? When in doubt, open software is always better.

  10. #10

  11. #11
    I have put installer4 repo in my host and get to the part where i run the regenerate and then i'm prompted with: Secret phrase is invalid. Sorry.

    here is what my password looks like in the config.inc.php:

    // Cache regeneration control. Calling regenerate.php will now regeneritory index files, so make sure you provide a good password and don't forget to update the firmware versions array when new firmware comes out.
    define('password', ''); // THis is a secret key for your access to regenerate.php. Please define it to something non-obvious - you will be calling regenerate.php?secret=[yoursecretword]

    global $POSSIBLE_FIRMWARE_VERSIONS;

    // Update this array whenever new firmware comes out. The repository will serve empty list of packages for all other versions.
    $POSSIBLE_FIRMWARE_VERSIONS = array( '2.0', '2.0.1' );

    ?>

    I've tried all sorts of alternatives also and i've tried matching the pass to the yoursecretword NOTHING WORKS!! HELP!!!!
    Last edited by hiphonepro; 08-23-2008 at 12:40 PM.

  12. #12
    Quote Originally Posted by hiphonepro View Post
    I have put installer4 repo in my host and get to the part where i run the regenerate and then i'm prompted with: Secret phrase is invalid. Sorry.

    here is what my password looks like in the config.inc.php:
    // Cache regeneration control. Calling regenerate.php will now regeneritory index files, so make sure you provide a good password and don't forget to update the firmware versions array when new firmware comes out.
    define('password', ''); // THis is a secret key for your access to regenerate.php. Please define it to something non-obvious - you will be calling regenerate.php?secret=[yoursecretword]

    global ;

    // Update this array whenever new firmware comes out. The repository will serve empty list of packages for all other versions.
    = array( '2.0', '2.0.1' );

    ?>

    I've tried all sorts of alternatives also and i've tried matching the pass to the yoursecretword NOTHING WORKS!! HELP!!!!
    In your config file you should have something like this

    define('REGENERATE_SECRET', 'demo');

    demo would be your regenerate password
    Last edited by bklynjava; 08-23-2008 at 12:38 PM.

  13. #13
    I just did what you suggest (I now notice in between the marks now thanks) but still same response?

    "Secret phrase is invalid. Sorry."

    Man! This is frustrating!!
    Last edited by hiphonepro; 08-23-2008 at 01:13 PM.

  14. #14
    Quote Originally Posted by hiphonepro View Post
    I just did what you suggest (I now notice in between the marks now thanks) but still same response?

    "Secret phrase is invalid. Sorry."

    Man! This is frustrating!!
    You should have
    http://yoursitename.com/repository/r...hp?secret=demo

    with your site and repo folder name.

  15. The Following User Says Thank You to bklynjava For This Useful Post:

    hiphonepro (08-25-2008)

  16. #15
    Quote Originally Posted by bklynjava View Post
    You should have
    http://yoursitename.com/repository/r...hp?secret=demo

    with your site and repo folder name.
    THANKS!! That worked and I can veiw the sample packages now but im geting the unable to decode error any ideas on this??Also how or where do I add the .png icon for my source?
    Last edited by hiphonepro; 08-23-2008 at 04:09 PM.

  17. #16
    Quote Originally Posted by hiphonepro View Post
    THANKS!! That worked and I can veiw the sample packages now but im geting the unable to decode error any ideas on this??
    Your Welcome.

    It may be the package itself I'm not sure I tried zip zip for compression but I get the same error.
    Last edited by bklynjava; 08-23-2008 at 03:28 PM.

  18. #17
    Quote Originally Posted by bklynjava View Post
    Your Welcome.

    It may be the package itself I'm not sure I tried zip zip for compression but I get the same error.
    Does zipzip make it unix? I saw this but I don't know if it makes any difference [ame=http://www.youtube.com/watch?v=-JLzLqQLZl8]YouTube - How to Make A Unix Zip, for the Iphone, in PC[/ame] i'll write to BigBoss and see if he can help us

  19. #18
    k im going to say this one more time...

    Installer needs new repos just like cydia did,

    Now theres no point going back to installer because installer has very slow updates, isnt open source, dosent listen to the community real well, and sauriks cydia

    Is far more intelligent, uses advanced packaging service,and constantly gets updated unlike installer.

    I have seen installer and it has some nice eyecandy, but since cydia was out FIRST on 2.0 we might as well just use that more, just like installer came out first for 1.0

  20. #19
    Quote Originally Posted by ultimatexpka View Post
    k im going to say this one more time...

    Installer needs new repos just like cydia did,

    Now theres no point going back to installer because installer has very slow updates, isnt open source, dosent listen to the community real well, and sauriks cydia

    Is far more intelligent, uses advanced packaging service,and constantly gets updated unlike installer.

    I have seen installer and it has some nice eyecandy, but since cydia was out FIRST on 2.0 we might as well just use that more, just like installer came out first for 1.0
    HEY! BUDDY! THE NAME OF THE THREAD IS: How to create Installer 4.0 repository. WHERE DOES IT SAY CYDIA? If you can't help here go find a cydia thread!

    Ok I think from the looks of it theres an issue with the install.plist..... Anyone?
    Last edited by hiphonepro; 08-23-2008 at 09:04 PM. Reason: Automerged Doublepost

  21. #20

Page 1 of 4 123 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •