Our Smartphone Network: BlackBerryWindows MobileAndroidPalm Pre
iPhone Forums
EverythingiCafe iPhone cases, accessories iPhone Social iPhone Wallpapers iPhone forums iPhone blog iPhone accessory reviews iPhone news

Go Back   iPhone Forums > Modifications > Third Party Applications




Reply
 
LinkBack Thread Tools Display Modes
Old 04-02-2008, 03:35 PM   #1 (permalink)
 
reebs's Avatar
 
Join Date: Jul 2007
Posts: 132
Thanks: 1
Thanked 0 Times in 0 Posts
Default Help...Cannot uninstall app!

I installed the new version of PYSL (protect your secret life) 0.32 and nothing showed up on the homescreen. When I tried to uninstall in uninstall tab (yes for some reason it's there) it says "main script execution failed." Can anyone help me out? I tried to SSH on phone and PYSL in NOT there, also tried restarting several times so don't know what's going on...
reebs is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 04-02-2008, 04:32 PM   #2 (permalink)
 
Bone's Avatar
 
Join Date: Feb 2008
Posts: 1,278
Thanks: 5
Thanked 0 Times in 0 Posts
Default

if you really wana get rid of it that bad you can put the phone into dfu mode and restart the whole process. But that really not worth it to me. Either way good.
__________________
2 gig iPod
20 gig iPod
80 gig iPod stolen....
160 gig iPod
8 gig iPhone 1st gen 2.2 qwkpwnd
8 gig 3g iPhone 2.2 qwkpwnd
Jailbreakem all!!
Bone is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 04-02-2008, 04:50 PM   #3 (permalink)
 
x999x's Avatar
 
Join Date: Aug 2007
Posts: 1,787
Thanks: 1
Thanked 21 Times in 8 Posts
Default

Originally Posted by reebs View Post
I installed the new version of PYSL (protect your secret life) 0.32 and nothing showed up on the homescreen. When I tried to uninstall in uninstall tab (yes for some reason it's there) it says "main script execution failed." Can anyone help me out? I tried to SSH on phone and PYSL in NOT there, also tried restarting several times so don't know what's going on...
Its stuck in your LocalPackages.plist file as an installed entry. This entry has the script for uinstallation, as well as where it actually istalled to. When it runs the uninstall routine, its erroring out because its not finding the data its supposed to remove.

This is remedied by using Installer's local commands like "RemovePath" rather than using a terminal command like "rm /Applications/yourapp.app". When a terminal command fails because it can't find the file its looking for, it errors out Installer and you recieve a "Mains Script Execution Failed" warning. Using a "RemovePath" in this case ignores the error and moves on to the next phase of the uninstall routine until it completes the script and finally removes it's entry from your Uninstall pane.

If you'd like to browse your LocalPackages.plist file and edit out the entry yourself, look in /var/mobile/Library/Installer/LocalPackages.plist.

You need some basic knowledge of opening and closing tags, because basically you're looking for the bundle identifier, then removing everything related to it including the <dict> tags that wrap around the entry.

<dict>
<bundle identifier>
install scripts
</dict>
__________________
The First Rule of Fight Club...
x999x is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 04-02-2008, 05:01 PM   #4 (permalink)
 
reebs's Avatar
 
Join Date: Jul 2007
Posts: 132
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Originally Posted by x999x View Post
Its stuck in your LocalPackages.plist file as an installed entry. This entry has the script for uinstallation, as well as where it actually istalled to. When it runs the uninstall routine, its erroring out because its not finding the data its supposed to remove.

This is remedied by using Installer's local commands like "RemovePath" rather than using a terminal command like "rm /Applications/yourapp.app". When a terminal command fails because it can't find the file its looking for, it errors out Installer and you recieve a "Mains Script Execution Failed" warning. Using a "RemovePath" in this case ignores the error and moves on to the next phase of the uninstall routine until it completes the script and finally removes it's entry from your Uninstall pane.

If you'd like to browse your LocalPackages.plist file and edit out the entry yourself, look in /var/mobile/Library/Installer/LocalPackages.plist.

You need some basic knowledge of opening and closing tags, because basically you're looking for the bundle identifier, then removing everything related to it including the <dict> tags that wrap around the entry.

<dict>
<bundle identifier>
install scripts
</dict>

wow seems complicated. do i need terminal for this? when I SSH, I see LocalPackages.plist but can't open it
reebs is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Reply


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 06:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Integrated by BBpixel