Results 1 to 9 of 9

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


Thread: installer help

  1. #1
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,459
    Thanks
    127
    Thanked 92 Times in 65 Posts

    Default installer help
    since no one answered my last thread, what is the basic install script to put an application in the /Appliction directory? i was using this one:
    HTML Code:
    <key>install</key>
    				<array>
    					<array>
    						<string>CopyPath</string>
    						<string>MyTestApplication.app</string>
    						<string>/Applications</string>
    					</array>
    				</array>
    but it didnt seem to work.
    also, my package is in a .zip file, do i need another script to unzip it?
    if you could help me with this it would help me out a lot

    thanx,
    Chase817
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  2. #2

    <array>
    <string>CopyPath</string>
    <string>MyTestApplication.app</string>
    <string>/Applications/MyTestApplication.app</string>
    </array>
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  3. #3
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,459
    Thanks
    127
    Thanked 92 Times in 65 Posts

    ok, let me test that out... 1 sec
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  4. #4
    Code:
    <array>
    	<string>CopyPath</string>
    	<string>MyTestApplication.app</string>
    	<string>/Applications/MyTestApplication.app</string>
    </array>
    I can't get the < > right in the post... I hope you get the idea!
    Last edited by jakecigar; 2008-03-16 at 05:55 AM. Reason: Automerged Doublepost
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  5. #5
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,459
    Thanks
    127
    Thanked 92 Times in 65 Posts

    ya i get it, but if you want the < >'s to show up, use the HTML code box.
    -------------------------------
    when i try it now it says "package download failed"(same as before) do i need to use an unzip script?
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  6. #6
    Quote Originally Posted by Chase817 View Post
    ya i get it, but if you want the < >'s to show up, use the HTML code box.
    -------------------------------
    when i try it now it says "package download failed"(same as before) do i need to use an unzip script?
    installer does all the unzipping for you.
    that code assumes the name of the zip file is correct and has a directory structure in it!
    HTML Code:
    <h1> AHA! </h1>
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  7. The Following User Says Thank You to jakecigar For This Useful Post:

    Chase817 (2008-03-16)

  8. #7
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,459
    Thanks
    127
    Thanked 92 Times in 65 Posts

    wait, so theres a special structure inside of the app? i just built it like normal
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  9. #8
    normal macintosh archive works! but you have to have chmod command in the repo xml to make the code run.

    get me on IM!

    Here's an old one of mine.
    HTML Code:
    		<dict>
    			<key>bundleIdentifier</key>
    			<string>com.jakecigar.Swapper</string>
    			<key>RestartSpringBoard</key>
    			<true/>
    			<key>name</key>
    			<string>Swapper</string>
    			<key>version</key>
    			<string>0.5</string>
    			<key>size</key>
    			<string>100493</string>
    			<key>date</key>
    			<string>1199044330</string>
    			<key>description</key>
    			<string>Swap For 2 M68AP.plist files</string>
    			<key>location</key>
    			<string>http://xxxx.org/repo/Swapper.app.zip</string>
    			<key>url</key>
    			<string>http://xxxx.org/repo/Swapper</string>
    			<key>scripts</key>
    			<dict>
    				<key>install</key>
    				<array>
    					<array>
    						<string>RemovePath</string>
    						<string>/Applications/Swapper.app</string>
    					</array>
    					<array>
    						<string>CopyPath</string>
    						<string>Swapper.app</string>
    						<string>/Applications/Swapper.app</string>
    					</array>
    					<array>
    						<string>Exec</string>
    						<string>/bin/chmod 755 /Applications/Swapper.app/Swapper</string>
    					</array>
    				</array>
    				<key>uninstall</key>
    				<array>
    					<array>
    						<string>RemovePath</string>
    						<string>/Applications/Swapper.app</string>
    					</array>
    				</array>
    			</dict>
    			<key>category</key>
    			<string>Shell Apps</string>
    		</dict>
    Last edited by jakecigar; 2008-03-16 at 06:16 AM. Reason: Automerged Doublepost
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  10. The Following User Says Thank You to jakecigar For This Useful Post:

    Chase817 (2008-03-16)

  11. #9
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,459
    Thanks
    127
    Thanked 92 Times in 65 Posts

    i did everything i could and it still gave me the package download error
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •