+ Reply
Page 1 of 2 12 LastLast
Results 1 to 20 of 36
  1. #1
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Default Intaller source help

    I hope this is where this go's i am need
    Of someone who can help me as i am having issues
    with my source i hope someone can help
    thanks
    JayJaythemac

  2. #2
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Posts
    296
    Thanks
    5
    Thanked 20 Times in 19 Posts

    sure there are a lot of people who can help. Maybe if youll post what the problem is, more people will reply.

  3. #3
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Default here is what the error says

    the error i get on my source is Main script execution failed

    so can someone help me fix this
    JayJaythemac

  4. #4
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,207
    Thanks
    508
    Thanked 4,484 Times in 1,114 Posts

    Please post the script that is having the error.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  5. #5
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Quote Originally Posted by poetic_folly View Post
    Please post the script that is having the error.
    how do do that still learning what format should it be in
    JayJaythemac

  6. #6
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,207
    Thanks
    508
    Thanked 4,484 Times in 1,114 Posts

    You said its having a main script error when you try to install. Attach a .txt file with the xml you are using that is throwing the error...
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  7. #7
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Default there is the info u needed

    <?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>iPhoneSurge ~ Swell</string>
    <key>contact</key>
    <string>[email protected]</string>
    <key>maintainer</key>
    <string>Jay N Brizie</string>
    <key>name</key>
    <string>iphonesurge</string>
    <key>url</key>
    <string>http://www.iphonesurge.com/</string>
    </dict>
    <key>packages</key>
    <array>
    <dict>
    <key>author</key>
    <string>Admin</string>
    <key>bundleIdentifier</key>
    <string>com.iphonesurge.Xmas1</string>
    <key>category</key>
    <string>iPhoneSurge (SummerBoard)</string>
    <key>description</key>
    <string>Xmas1 Theme by Brie N JayJay</string>
    <key>location</key>
    <string>http://iphonesurge.com/installer/Xmas1.zip</string>
    <key>name</key>
    <string>Xmas1</string>
    <key>scripts</key>
    <dict>
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string>Xmas1/</string>
    <string>/var/root/Library/SummerBoard/Themes</string>
    </array>
    </array>
    <key>uninstall</key>
    <array>
    <array>
    <string>RemovePath</string>
    <string>/var/root/Library/SummerBoard/Themes/Xmas1</string>
    </array>
    </array>
    </dict>
    <key>size</key>
    <string>561119</string>
    <key>version</key>
    <string>1.0</string>
    </dict>
    </array>
    </dict>
    </plist>
    JayJaythemac

  8. #8
    Owner / Founder - ModMyi
    aka cash7c3
    Cody Overcash's Avatar
    Join Date
    May 2007
    Location
    Denver, CO
    Posts
    11,873
    Thanks
    340
    Thanked 15,253 Times in 649 Posts

    attach a .xml file please

  9. #9
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Default xml file

    Quote Originally Posted by cash7c3 View Post
    attach a .xml file please
    here it is my man hope u can help
    Attached Files Attached Files
    JayJaythemac

  10. #10
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,207
    Thanks
    508
    Thanked 4,484 Times in 1,114 Posts

    You had incorrect syntax in there. The adjusted one attached should work. Let me know.
    Attached Files Attached Files
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  11. #11
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Quote Originally Posted by poetic_folly View Post
    You had incorrect syntax in there. The adjusted one attached should work. Let me know.
    pf still getting the same error dont get it
    JayJaythemac

  12. #12
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,207
    Thanks
    508
    Thanked 4,484 Times in 1,114 Posts

    SSH in to your iPhone (open up Terminal in OS X or cmd line in Windows) by typing

    ssh -l root [youriphoneIPaddress]

    then entering your password when it asks. Then type:

    cd /Applications/Installer.app/

    and hit Return/Enter. Then type

    ./Installer

    And hit Return/Enter.

    Installer will open on your iPhone. Go to install the thing you are having issues with, wait for it to kick you out of installer or give you the error, then paste the contents of your Terminal/cmd line screen here.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  13. #13
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    1. the zip file is foobar... yours was 548k, I made a new zip and it's 180k. What did you use / how did you make the zip file?

    2. I could not get your zip to work, mine works fine... web.mac.com/gregmeach/jay.xml

    In the future, create a zip folder, create a subfolder called themes. Put your SummerBoard theme folder inside themes. Then you can use the same plist entry, just revise the uninstall script, size, etc. You also need to start using a hash entry.
    Quote Originally Posted by Installer app
    2007-12-11 18:44:09.569 Installer[2415:d03] ATDownloader: Warning: This package has no hash defined! Packages without hashes will soon be deprecated!
    2
    White 3G

  14. #14
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    186
    Thanks
    8
    Thanked 10 Times in 7 Posts

    can you explain a little more.. not sure what hash is... i dont understand what im doing wrong, and what program should i use to zip my themes.
    JayJaythemac

  15. #15
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Quote Originally Posted by CyberGreg View Post
    ... What did you use / how did you make the zip file?
    Well????

    In the future, create a zip folder, create a subfolder called themes. Put your SummerBoard theme folder inside themes. Then you can use the same plist entry, just revise the uninstall script, size, etc. You also need to start using a hash entry.
    Did you even look at the example I provided?
    White 3G

  16. #16
    Green Apple
    Join Date
    Sep 2007
    Posts
    93
    Thanks
    1
    Thanked 6 Times in 6 Posts

    greg can you help with permissions? I have a .app that I set the permissions to 0755 in winscp, transfer it to the computer, zip it and add it to my source, but when installer installs it, the permissions are not saved. How can I save the permissions and transfer the file with permissions to my computer? Or is there a command for my installer script to set permissions to the app?

  17. #17
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Quote Originally Posted by LimitedEditioniPhone_com View Post
    greg can you help with permissions? I have a .app that I set the permissions to 0755 in winscp, transfer it to the computer, zip it and add it to my source, but when installer installs it, the permissions are not saved. How can I save the permissions and transfer the file with permissions to my computer? Or is there a command for my installer script to set permissions to the app?

    Here's what's been done on the MMi source:
    Quote Originally Posted by sample code
    <key>install</key>
    <array>
    <array>
    <string>CopyPath</string>
    <string>iToggle.app</string>
    <string>/Applications/iToggle.app</string>
    </array>
    <array>
    <string>Exec</string>
    <string>/bin/chmod 755 /Applications/iToggle.app/Toggle</string>
    </array>
    </array>
    The problem there is it's making a huge assumption that chmod is present. Personally if I needed to do that, I would include chmod in my package but I guess that's like a Dilbert statement.... if you can't keep the permissions set in your app, how can you keep them set for the chmod app.... sorry.... you pretty much have three choices for an OS; Mac, Linux or Windows and you're stuck with the least helpful in this matter.

    Can you get some sort of VM software set up for your Windows PC? If you did you could at least run Ubuntu...
    White 3G

  18. #18
    Green Apple
    Join Date
    Sep 2007
    Posts
    93
    Thanks
    1
    Thanked 6 Times in 6 Posts

    I am getting a macbook pro after macworld and have been using my girlfriends every now and then. I have an ubuntu live cd that I could use but have no idea how to do anything on that and what programs work for logging into the iPhone. So there is no way to get the permissions to retain on windows? I guess I will continue to use my girlfriends comp.

  19. #19
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,207
    Thanks
    508
    Thanked 4,484 Times in 1,114 Posts

    I still haven't seen an app that retains permissions in Windows.

    All the newer stuff added to the MMi source avoids the chmod afterwards, since I did have a few people email in and say they weren't getting Main Script errors (from not having BSD Subsystems installed). The chmod trick works, but not if they don't have chmod installed, as Greg noted.
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  20. #20
    Developer NetMage's Avatar
    Join Date
    Aug 2007
    Location
    Virginia
    Posts
    1,292
    Thanks
    71
    Thanked 210 Times in 168 Posts

    I believe it is possible to use the Cygwin Info-Zip inside Cygwin bash shell to zip a file with permissions set.

    I have manually set permissions and created a zip file, then unzipping re-created permissions.

    I haven't tested a PXL file or installer file yet.

+ Reply
Page 1 of 2 12 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