Repo - Install theme - Error

Discussion in 'iPod touch' started by bddckr, Jan 2, 2008.

  1. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    I have my own repo. So I want to test my package and there's the "Main script execution failed!" error.

    I ran installer in debug mode, it's working fine until it begins to use the zip file:
    Code:
    2008-01-02 11:47:19.465 Installer[303:d03] ATPackageManager: Status: Installing theme...
    2008-01-02 11:47:19.503 Installer[303:d03] Executing script instruction: CopyPath with arguments ("MobileMusicPlayer.app/", "/Applications/MobileMusicPlayer.app/")
    2008-01-02 11:47:19.507 Installer[303:d03] ATUnpacker: Copying compressed path: MobileMusicPlayer.app/ >> /Applications/MobileMusicPlayer.app/
    2008-01-02 11:47:20.097 Installer[303:d03] ATUnpacker: Extracting file: MobileMusicPlayer.app/ >> /Applications/MobileMusicPlayer.app
    2008-01-02 11:47:20.102 Installer[303:d03] ATUnpacker: Could not create/open file: /Applications/MobileMusicPlayer.app
    
    Any ideas?
    The zip contains some folders like "MobileMusicPlayer.app" with files in it.
  2. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    Bump...
    Please help me...
  3. Scythal

    Scythal New Member

    Joined:
    Nov 27, 2007
    Messages:
    413
    Likes Received:
    4
    Device:
    iPod touch
    Could you upload the script of the offending application?

    By the way, I didn't know you could run the Installer in debug mode, how do you do that?


    EDIT: Have you tried to remove the ending slash "/" in the source/destination part of the command? Like this:

    <string>CopyPath</string>
    <string>MobileMusicPlayer.app</string>
    <string>/Applications/MobileMusicPlayer.app</string>

    instead of:

    <string>CopyPath</string>
    <string>MobileMusicPlayer.app/</string>
    <string>/Applications/MobileMusicPlayer.app/</string>

    Or does it only append it in the log?
  4. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    I will try that.

    To go in debug mode:
    Make sure installer isn't open and ur ipod will NOT go off so wifi isn't working.
    SSH in, type that into a terminal:
    Wait for it... installer.app will open
    now just do what u want to do...
    it will post what it does, and exact error messages to the ssh window.
  5. Scythal

    Scythal New Member

    Joined:
    Nov 27, 2007
    Messages:
    413
    Likes Received:
    4
    Device:
    iPod touch
    Could be handy, thanks for the tip and good luck with the script (keep us posted).
  6. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    I tried it with the following:

    Nothing works... It just says "Could not create/open file: /Applications/MobileMusicPlayer.app" I think it's because windows zipped files will create that error, i try it with a mac zipped zip...

    Maybe it's because of its end... .app, maybe i just try it without the ".app" in it...

    Wish me best luck

    Please Register or Log in to view images

  7. skyline_-

    skyline_- New Member

    Joined:
    Dec 11, 2007
    Messages:
    507
    Likes Received:
    8
    Is your ipod jailbroken?
  8. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    Of course! I made my own theme, it will replace 443 files... I made a repo and want it to install the theme.... so everybody can get that through installer...
    Maybe I get it to work soon...
  9. Scythal

    Scythal New Member

    Joined:
    Nov 27, 2007
    Messages:
    413
    Likes Received:
    4
    Device:
    iPod touch
    The .app is necessary (and you can see other applications use the real folder name, with the .app). But maybe it's the zip.


    EDIT: hum, are you sure this path doesn't already exist?

    Please Register or Log in to view images

  10. bddckr

    bddckr Active Member

    Joined:
    Dec 2, 2007
    Messages:
    1,434
    Likes Received:
    18
    Device:
    iPhone 4 (Black)
    Edit:
    This path DOES already exist as u know...
    How do i fix that? Should i remove the path before i copy it? isn't installer able to copy over an existing path?

    Edit 2:
    Maybe update instead of install can do that... but i need to use the install...

    Please Register or Log in to view images

Share This Page