Thread: Intaller source help
-
12-07-2007, 12:48 AM #1
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
thanksJayJaythemac
-
12-07-2007, 01:30 AM #2
sure there are a lot of people who can help. Maybe if youll post what the problem is, more people will reply.
-
12-08-2007, 06:57 PM #3
here is what the error says
the error i get on my source is Main script execution failed
so can someone help me fix thisJayJaythemac
-
12-09-2007, 05:07 PM #4Owner / Founder - ModMyi
aka poetic_folly
- 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.
-
12-09-2007, 08:28 PM #5
-
12-09-2007, 08:34 PM #6Owner / Founder - ModMyi
aka poetic_folly
- 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...
-
12-09-2007, 09:06 PM #7
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
-
12-09-2007, 10:37 PM #8Owner / Founder - ModMyi
aka cash7c3
- Join Date
- May 2007
- Location
- Denver, CO
- Posts
- 11,873
- Thanks
- 340
- Thanked 15,253 Times in 649 Posts
attach a .xml file please

-
12-10-2007, 09:23 AM #9
-
12-10-2007, 11:39 AM #10Owner / Founder - ModMyi
aka poetic_folly
- 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.
-
12-10-2007, 04:27 PM #11
-
12-10-2007, 05:06 PM #12Owner / Founder - ModMyi
aka poetic_folly
- 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.
-
12-11-2007, 08:41 PM #13
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.
Originally Posted by Installer app
White 3G
-
12-11-2007, 11:24 PM #14
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
-
12-12-2007, 08:06 AM #15
Well????
Did you even look at the example I provided?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.White 3G
-
12-12-2007, 03:49 PM #16
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?
-
12-12-2007, 04:42 PM #17
Here's what's been done on the MMi source:
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.
Originally Posted by sample code
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
-
12-12-2007, 05:16 PM #18
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.
-
12-12-2007, 05:30 PM #19Owner / Founder - ModMyi
aka poetic_folly
- 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.
-
12-12-2007, 07:43 PM #20
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.



LinkBack URL
About LinkBacks
Reply With Quote




