Thread: installer help
-
03-15-2008, 09:13 PM #1Livin the iPhone Life
- Join Date
- Mar 2008
- Location
- Orange County, CA
- Posts
- 1,463
- Thanks
- 127
- Thanked 89 Times in 64 Posts
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:
but it didnt seem to work.HTML Code:<key>install</key> <array> <array> <string>CopyPath</string> <string>MyTestApplication.app</string> <string>/Applications</string> </array> </array>
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
-
03-15-2008, 09:50 PM #2iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
<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
-
03-15-2008, 09:52 PM #3Livin the iPhone Life
- Join Date
- Mar 2008
- Location
- Orange County, CA
- Posts
- 1,463
- Thanks
- 127
- Thanked 89 Times in 64 Posts
ok, let me test that out... 1 sec

-
03-15-2008, 09:55 PM #4iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
I can't get the < > right in the post... I hope you get the idea!Code:<array> <string>CopyPath</string> <string>MyTestApplication.app</string> <string>/Applications/MyTestApplication.app</string> </array>
Last edited by jakecigar; 03-15-2008 at 09:55 PM. 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
-
03-15-2008, 10:00 PM #5Livin the iPhone Life
- Join Date
- Mar 2008
- Location
- Orange County, CA
- Posts
- 1,463
- Thanks
- 127
- Thanked 89 Times in 64 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?
-
03-15-2008, 10:06 PM #6iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
http://jpassoc.com/x -- with free itunes under the puppy!
If I help you out, please press ★THANKS!
3g QuickPWN'ed with 2.1
-
The Following User Says Thank You to jakecigar For This Useful Post:
Chase817 (03-15-2008)
-
03-15-2008, 10:09 PM #7Livin the iPhone Life
- Join Date
- Mar 2008
- Location
- Orange County, CA
- Posts
- 1,463
- Thanks
- 127
- Thanked 89 Times in 64 Posts
wait, so theres a special structure inside of the app? i just built it like normal

-
03-15-2008, 10:16 PM #8iPhoneaholic
- Join Date
- Aug 2007
- Location
- San Francisco, CA
- Posts
- 476
- Thanks
- 24
- Thanked 112 Times in 94 Posts
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; 03-15-2008 at 10:16 PM. 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
-
The Following User Says Thank You to jakecigar For This Useful Post:
Chase817 (03-15-2008)
-
03-15-2008, 11:06 PM #9Livin the iPhone Life
- Join Date
- Mar 2008
- Location
- Orange County, CA
- Posts
- 1,463
- Thanks
- 127
- Thanked 89 Times in 64 Posts
i did everything i could and it still gave me the package download error




LinkBack URL
About LinkBacks
Reply With Quote

