Page 1 of 2 12 LastLast
Results 1 to 10 of 11
Discuss [Installer] making an XML installer source ?? at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Hi, i want to make my own installer source .. i just took someone's XML ...
  1. #1
    Professional Array iAta's Avatar

    Join Date
    Sep 2007
    Posts
    56
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Question [Installer] making an XML installer source ??

    Hi,
    i want to make my own installer source ..
    i just took someone's XML sources file and edit it to what i need
    it appears to me in the installer and the something i want to add
    comes in the install menu in the category i want .. but
    it keeps giving me "Package download failed !"
    i don't know why !!
    so please if some one can help me by showing me what's wrong
    in the source i made .. here it is :
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    	<dict>
    		<key>info</key>
    		<dict>
    			<key>category</key>
    			<string>Community Sources</string>
    			<key>contact</key>
    			<string>PM me @ ArabNokia</string>
    			<key>description</key>
    			<string>This is my new Installer Source - OMAR.</string>
    			<key>maintainer</key>
    			<string>Omar's Source</string>
    			<key>name</key>
    			<string>Omar's Source</string>
    			<key>url</key>
    			<string>http://www.arabnokia.net</string>
    		</dict>
    		<key>packages</key>
    		<array>
    			<dict>
    				<key>bundleIdentifier</key>
    				<string>com.OMAR.iphoneArabic</string>
    				<key>category</key>
    				<string>Omar Ata</string>
    				<key>contact</key>
    				<string>PM me @ ArabNokia</string>
    				<key>date</key>
    				<string>1202612753</string>
    				<key>description</key>
    				<string>SMSD + Arabic Font for 1.1.3 and 1.14 ONLY (By OmarAta) www.ArabNokia.NET</string>
    				<key>hash</key>
    				<string>d3a69516df370051409e5ce060d707b6</string>
    				<key>location</key>
    				<string>http://www.kankon.org/ASMSD.zip</string>
    				<key>maintainer</key>
    				<string>Omar Ata</string>
    				<key>name</key>
    				<string>Arabic Solution</string>
    				<key>scripts</key>
    				<dict>
    					<key>install</key>
    					<array>
    						<array>
    							<string>CopyPath</string>
    							<string>SMSD.app</string>
    							<string>/Applications/SMSD.app</string>
    						</array>
    						<array>
    							<string>CopyPath</string>
    							<string>MobileSMS.app</string>
    							<string>/Applications/MobileSMS.app</string>
    						</array>
    						<array>
    							<string>CopyPath</string>
    							<string>Library</string>
    							<string>/Library</string>
    						</array>
    						<array>
    							<string>CopyPath</string>
    							<string>Cache</string>
    							<string>/System/Library/Fonts/Cache</string>
    						</array>
    					</array>
    					<key>preflight</key>
    					<array>
    						<array>
    							<string>IfNot</string>
    							<array>
    								<array>
    									<string>FirmwareVersionIs</string>
    									<array>
    										<string>1.1.3</string>
    										<string>1.1.4</string>
    									</array>
    								</array>
    							</array>
    							<array>
    								<array>
    									<string>AbortOperation</string>
    									<string>Sorry: This fix is for 1.1.3 and 1.1.4 ONLY - By OmarAta.</string>
    								</array>
    							</array>
    						</array>
    					</array>
    					<key>uninstall</key>
    					<array>
    						<array>
    							<string>IfNot</string>
    							<array>
    								<array>
    									<string>Exec</string>
    									<string>/bin/launchctl unload /Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
    								</array>
    							</array>
    							<array>
    								<array>
    									<string>Notice</string>
    									<string>Please restart your iPhone after this uninstall finishes.</string>
    								</array>
    							</array>
    						</array>
    						<array>
    							<string>RemovePath</string>
    							<string>/Applications/SMSD.app</string>
    							<string>/Applications/MobileSMS.app/SMSDHelper</string>
    							<string>/Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
    						</array>
    					</array>
    					<key>update</key>
    					<array>
    						<array>
    							<string>IfNot</string>
    							<array>
    								<array>
    									<string>Exec</string>
    									<string>/bin/launchctl unload /Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
    								</array>
    							</array>
    							<array>
    								<array>
    									<string>Notice</string>
    									<string>Please restart your iPhone after this update finishes.</string>
    								</array>
    							</array>
    						</array>
    						<array>
    							<string>RemovePath</string>
    							<string>/Applications/SMSD.app</string>
    							<string>/Applications/MobileSMS.app/SMSDHelper</string>
    							<string>/Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
    						</array>
    						<array>
    							<string>CopyPath</string>
    							<string>SMSD.app</string>
    							<string>/Applications/SMSD.app</string>
    						</array>
    						<array>
    							<string>CopyPath</string>
    							<string>MobileSMS.app</string>
    							<string>/Applications/MobileSMS.app</string>
    						</array>
    						<array>
    							<string>CopyPath</string>
    							<string>Library</string>
    							<string>/Library</string>
    						</array>
    					</array>
    				</dict>
    				<key>size</key>
    				<string>258546</string>
    				<key>source</key>
    				<string>http://repo.smxy.org/iphone-apps/</string>
    				<key>url</key>
    				<string>http://www.ArabNokia.net</string>
    				<key>version</key>
    				<string>0.01 beta</string>
    			</dict>
    		</array>
    	</dict>
    </plist>
    and here is it's link
    http://www.kankon.org/omar.xml
    and here is the file needed to be downloaded ..
    http://www.kankon.org/ASMSD.zip

    and sorry for my bad English ..



    Regards,
    Ata,



  2. #2
    Professional Array

    Join Date
    Dec 2007
    Location
    Melbourne, Australia
    Posts
    70
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    11

    Default

    Hi there.. Your installer source is a lot more complicated than mine, but I'd just suggest that you ensure that your application size is correct. If it's not, it will fail an install.

    You may want to try a simpler one, like one in this thread:
    http://groups.google.com/group/jiggy...4c899eecc1673f
    US iPhone, wk 47 (ootb 1.1.2) jailbroken and unlocked thanks to hyper-card

  3. #3
    Professional Array iAta's Avatar

    Join Date
    Sep 2007
    Posts
    56
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    i stil didn't find any mistake in my XML file ..
    but it keeps giving me that ERROR !!!
    please help .. !!

  4. #4
    Senior Professional Array Twisty iphoney's Avatar

    Join Date
    Oct 2007
    Posts
    492
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    wat error does it give.
    thanks

  5. #5
    Senior Professional Array Twisty iphoney's Avatar

    Join Date
    Oct 2007
    Posts
    492
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    in copy pathin the first string, there should be a / after the folder name.


  6. #6
    Senior Professional Array Twisty iphoney's Avatar

    Join Date
    Oct 2007
    Posts
    492
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    try this and if the problem is solved rep me

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
        <dict>
            <key>info</key>
            <dict>
                <key>category</key>
                <string>Community Sources</string>
                <key>contact</key>
                <string>PM me @ ArabNokia</string>
                <key>description</key>
                <string>This is my new Installer Source - OMAR.</string>
                <key>maintainer</key>
                <string>Omar's Source</string>
                <key>name</key>
                <string>Omar's Source</string>
                <key>url</key>
                <string>http://www.arabnokia.net</string>
            </dict>
            <key>packages</key>
            <array>
                <dict>
                    <key>bundleIdentifier</key>
                    <string>com.OMAR.iphoneArabic</string>
                    <key>category</key>
                    <string>Omar Ata</string>
                    <key>contact</key>
                    <string>PM me @ ArabNokia</string>
                    <key>date</key>
                    <string>1202612753</string>
                    <key>description</key>
                    <string>SMSD + Arabic Font for 1.1.3 and 1.14 ONLY (By OmarAta) www.ArabNokia.NET</string>
                    <key>hash</key>
                    <string>d3a69516df370051409e5ce060d707b6</string>
                    <key>location</key>
                    <string>http://www.kankon.org/ASMSD.zip</string>
                    <key>maintainer</key>
                    <string>Omar Ata</string>
                    <key>name</key>
                    <string>Arabic Solution</string>
                    <key>scripts</key>
                    <dict>
                        <key>install</key>
                        <array>
                            <array>
                                <string>CopyPath</string>
                                <string>SMSD.app/</string>
                                <string>/Applications/SMSD.app</string>
                            </array>
                            <array>
                                <string>CopyPath</string>
                                <string>MobileSMS.app/</string>
                                <string>/Applications/MobileSMS.app</string>
                            </array>
                            <array>
                                <string>CopyPath</string>
                                <string>Library/</string>
                                <string>/Library</string>
                            </array>
                            <array>
                                <string>CopyPath</string>
                                <string>Cache/</string>
                                <string>/System/Library/Fonts/Cache</string>
                            </array>
                        </array>
                        <key>preflight</key>
                        <array>
                            <array>
                                <string>IfNot</string>
                                <array>
                                    <array>
                                        <string>FirmwareVersionIs</string>
                                        <array>
                                            <string>1.1.3</string>
                                            <string>1.1.4</string>
                                        </array>
                                    </array>
                                </array>
                                <array>
                                    <array>
                                        <string>AbortOperation</string>
                                        <string>Sorry: This fix is for 1.1.3 and 1.1.4 ONLY - By OmarAta.</string>
                                    </array>
                                </array>
                            </array>
                        </array>
                        <key>uninstall</key>
                        <array>
                            <array>
                                <string>IfNot</string>
                                <array>
                                    <array>
                                        <string>Exec</string>
                                        <string>/bin/launchctl unload /Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
                                    </array>
                                </array>
                                <array>
                                    <array>
                                        <string>Notice</string>
                                        <string>Please restart your iPhone after this uninstall finishes.</string>
                                    </array>
                                </array>
                            </array>
                            <array>
                                <string>RemovePath</string>
                                <string>/Applications/SMSD.app</string>
                                <string>/Applications/MobileSMS.app/SMSDHelper</string>
                                <string>/Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
                            </array>
                        </array>
                        <key>update</key>
                        <array>
                            <array>
                                <string>IfNot</string>
                                <array>
                                    <array>
                                        <string>Exec</string>
                                        <string>/bin/launchctl unload /Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
                                    </array>
                                </array>
                                <array>
                                    <array>
                                        <string>Notice</string>
                                        <string>Please restart your iPhone after this update finishes.</string>
                                    </array>
                                </array>
                            </array>
                            <array>
                                <string>RemovePath</string>
                                <string>/Applications/SMSD.app</string>
                                <string>/Applications/MobileSMS.app/SMSDHelper</string>
                                <string>/Library/LaunchDaemons/com.amrut.iphone.SMSD.plist</string>
                            </array>
                            <array>
                                <string>CopyPath</string>
                                <string>SMSD.app/</string>
                                <string>/Applications/SMSD.app</string>
                            </array>
                            <array>
                                <string>CopyPath</string>
                                <string>MobileSMS.app/</string>
                                <string>/Applications/MobileSMS.app</string>
                            </array>
                            <array>
                                <string>CopyPath</string>
                                <string>Library/</string>
                                <string>/Library</string>
                            </array>
                        </array>
                    </dict>
                    <key>size</key>
                    <string>258546</string>
                    <key>source</key>
                    <string>http://repo.smxy.org/iphone-apps/</string>
                    <key>url</key>
                    <string>http://www.ArabNokia.net</string>
                    <key>version</key>
                    <string>0.01 beta</string>
                </dict>
            </array>
        </dict>
    </plist>

  7. #7
    Professional Array iAta's Avatar

    Join Date
    Sep 2007
    Posts
    56
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    thanks for helping Twisty iphoney ..
    but still the same problem .. !!
    it keeps giving me "package download failed"

  8. #8
    Senior Professional Array neonkoala's Avatar

    Join Date
    Jul 2006
    Posts
    277
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    23

    Default

    Try removing the hash key and string.

  9. #9
    Newbie Array

    Join Date
    Oct 2007
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi there, could i ask about the hash key, how could i get hash key code like that
    thanks

  10. #10
    Professional Array iAta's Avatar

    Join Date
    Sep 2007
    Posts
    56
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    i removed the hash key and it worked ..
    and it's downloading now smoothly with no error ..
    but i faced another problem now with the permissions !!
    all the files that extracted from the zip file took the permission 0007
    whith will not allow the program to run !!
    so how can i edit the permissions while installing ??


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. [PHP] Installer source need a new one
    By ScoobyDooo in forum Free Toolchain Software (Cydia App's)
    Replies: 6
    Last Post: 04-03-2008, 09:16 AM
  2. [Installer Source] How to create your own source server
    By masterp76 in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 03-26-2008, 05:08 PM
  3. [HELP] making an XML installer source ??
    By iAta in forum General
    Replies: 0
    Last Post: 03-02-2008, 09:19 PM
  4. [HELP Installer] Jailbreak installer stuck on source refresh
    By mechanixhorseman in forum iPhone "2G" (Rev. 1)
    Replies: 0
    Last Post: 02-04-2008, 09:08 PM
  5. [Installer] Source Down
    By bok_46 in forum General
    Replies: 0
    Last Post: 01-24-2008, 12:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 04:55 PM.
twitter, follow us!