I need Someone To Proofread My XML...

Discussion in 'iOS Jailbreak & Cydia' started by Geekgod4, Feb 9, 2008.

  1. Geekgod4

    Geekgod4 New Member

    Joined:
    Oct 23, 2007
    Messages:
    81
    Likes Received:
    1
    Ok, My XML File Is Being Really Dumb. Ive Been Trying For 3 Hours To no Avail To Get It Working...

    When I download My Package It Says "main Script execution Failed"

    I mean, it Downloads, Shows The Notice That I coded In There, Sets The Status To Installing....

    And Then I Get The Error.....

    Here Is The Code :

    Code:
    <?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>category</key>
            <string>Akorn-Studios</string>
            <key>contact</key>
            <string>apoc_32@yahoo.com</string>
            <key>description</key>
            <string>Geekgod4's Official Repository!</string>
            <key>location</key>
            <string>http://akorn-studios.110mb.com/Repo.xml</string>
            <key>maintainer</key>
            <string>Geekgod4</string>
            <key>name</key>
            <string>Akorn-Studios Official</string>
    	</dict>
      <key>packages</key>
       <array>
         <dict>
           <key>bundleIdentifier</key>
           <string>com.Deviantart.embark</string>
           <key>name</key>
           <string>Deviantart</string>
           <key>version</key>
           <string>1.0</string>
           <key>location</key>
           <string>http://akorn-studios.110mb.com/Files/Deviantart.zip</string>
           <key>category</key>
           <string>Akorn-Studios</string>
           <key>size</key>
           <string>142082</string>
           <key>hash</key>
           <string>2383c0630ff6c69face5065f103b1f55</string>
           <key>url</key>
           <string>http://www.akorn-studios.110mb.com</string>
           <key>maintainer</key>
           <string>Geekgod4</string>
           <key>contact</key>
           <string>apoc_32@yahoo.com</string>
           <key>description</key>
           <string>This Application Adds A link To Deviantart On your Desktop!</string>
           <key>date</key>
           <string>1202404964</string>
           <key>scripts</key>
           <dict>
             <key>install</key>
             <array>
               <array>
                 <string>Notice</string>
                 <string>Copyright 2008 Geekgod4</string>
               </array>
    	     <array>
    		 <string>SetStatus</string>
    		 <string>Installing...</string>
    	     </array>
    	      <array>
                   <string>CopyPath</string>
                   <string>Deviantart.app</string>
                   <string>/Applications/Deviantart.app</string>
                  </array>
    	     <array>
    	       <string>Exec</string>
                   <string>/bin/chmod -R 755 /Applications/Deviantart.app</string>
                 </array>
               <array>
                 <string>Exec</string>
                 <string>/bin/chmod -R +s /Applications/Deviantart.app</string>
               </array>
             </array>
              <key>uninstall</key>
             <array>
               <array>
                 <string>RemovePath</string>
                 <string>/Applications/Deviantart.app</string>
               </array>
             </array>
           </dict>
         </dict>
       </array>
     </dict>
    </plist>
    IF YOU CAN PLEASE HELP!!!

    BTW : I am Running SFW 1.1.1 And Installer Ver. 3.0 (NOT BETA)
  2. Geekgod4

    Geekgod4 New Member

    Joined:
    Oct 23, 2007
    Messages:
    81
    Likes Received:
    1
    Come On PEOPLE!!

    I Really Want To Have This Operational By 6:30!!

    Then I Have To Leave!

    PLEASE HELP!!!

    Please Register or Log in to view images



    I Will reward You With Rep Points.

    Please Register or Log in to view images

  3. DeusMachina

    DeusMachina Retired Moderator

    Joined:
    Dec 10, 2007
    Messages:
    1,074
    Likes Received:
    60
    1> Make sure you have the correct hash (MD5 NOTHING ELSE!!!).
    2> <string>Deviantart.app</string>
    add a slash after .app in this string. EX: <string>Deviantart.app/</string>

    Tell me if its still not working after.
  4. Geekgod4

    Geekgod4 New Member

    Joined:
    Oct 23, 2007
    Messages:
    81
    Likes Received:
    1
    yes i have done that before and it still wont work!

    Any other suggestions?
  5. DeusMachina

    DeusMachina Retired Moderator

    Joined:
    Dec 10, 2007
    Messages:
    1,074
    Likes Received:
    60
    Figured out what was wrong with it.

    When you zip your file, put the 4 files in a folder named "Deviantart.app". All you did was put 4 files in a .zip, it has to have a folder to copy. In your string for the copypath you put <string>Deviantart.app</string> but there is no Deviantart.app folder.
    1 person likes this.
  6. Geekgod4

    Geekgod4 New Member

    Joined:
    Oct 23, 2007
    Messages:
    81
    Likes Received:
    1
    oh!!

    I see!

    Too bad I can't do anything right now.

    I'm on my iPod at my friends house.
    thanks though!
  7. DeusMachina

    DeusMachina Retired Moderator

    Joined:
    Dec 10, 2007
    Messages:
    1,074
    Likes Received:
    60
    If you didn't understand how to do it in my first post *after re-reading it, it seemed confusing*.

    To Fix It:

    1] Create a folder named Deviantart.app.

    2] Put your 4 files in this folder.

    3] Zip the Folder.

    4] Get the hash again & update the size. (both will change)
  8. Geekgod4

    Geekgod4 New Member

    Joined:
    Oct 23, 2007
    Messages:
    81
    Likes Received:
    1
    Cool thanks!

Share This Page