CAB file upgrade issue - Windows Mobile Software Development

Hi All,
I am using WM 6.1 and 6.5 devices. I have a software that is already installed on the phone that needs to be upgraded to a new version.
The old software and the new one have same names but the version number of the new one is 1 higher than the old one (This is in _setup.xml of the CAB file).
I have a need that when i upgrade, the old one must be uninstalled. Hence, in Install_Init(), i am using the Uninstall CSP to uninstall the old one.
DMProcessConfigXML() returns SUCCESS and all the traces of the software are removed. But when the control reaches Install_Exit(), one of the params cFailedDirs returns 2. This confirms tht installation failed somewhere and i do get a message saying "Installation was unsuccessful". No files get copied to the respective folders.
Any suggestions or ideas on why this happens and on what scenario?
Thanks in advance
ACS

Now I have the same problem. Did you manage to find the reason?

Related

"Un-brick" Imate JasJar After Failed ROM Update

First time post ...
I recently downloaded the 1.13.53 WWE ROM update from the Imate site and attempted to install it on my JasJar. The update failed leaving my JasJar in boot loader mode. No reset method seemed to work to bring it back up. Subsequent attempts to load the ROM update gave me the dreaded "Country Code" error. Here are the steps I followed to get the ROM update to succeed:
1. Uninstalled ActiveSync 4.0 and installed ActiveSync 4.1 as downloaded from XDA FTP site. Disabled firewall and Anti-virus. Rebooted machine. I am not sure whether this step was neccessary or not but noted that others had some success with this. At this point I was still getting the country code error when trying to install ther update.
2. Run the update but once you get to the first screen that asks you if you want to proceed, switch to the Windows file system using Explorer and set the current directory to your TEMP directory. If you are not sure where this is, open a command prompt (Start - Run - CMD - OK) and type SET. This will display environment variables. Look for the one called TEMP - that is where you want to go.
3. Search for a file called ROMUpgradeUT.exe or RUU.conf anywhere in the TEMP directory or its subdirectories. When you find the correct directory, copy the files to a new location.
4. In the new location, edit the RUU.conf file and add the following text at the end of the file:
[CHECKCEID_TYPE]=1
5. Save the file and then run ROMUpgradeUT.exe
At this point I was able to get past the country code error and the update began. The radio upgrade was the first component and it took the most time (about 10-15 minutes). The other 2 components upgraded the extended ROM and the OS but only took about 5 minutes each.
After getting the completion message on my PC I also noted a "100% complete" message on the JasJar screen. After a hard reset (soft keys and reset) the JasJar came up with the upgraded ROM in place and I was REALLY HAPPY!
I don't know if this will work for anyone else - use at your own risk but I wanted to share what has worked for me.
BTW - many thanks to all the previous posters who left "breadcrumbs" for me to follow in getting my JasJar back. This community is SUPERB!
Thanks again.
Rick
Did like u said.
Still country id error
works now
thanks
my device t-mobile mda pro jasjar bootloader nope
rsteel1 said:
First time post ...
I recently downloaded the 1.13.53 WWE ROM update from the Imate site and attempted to install it on my JasJar. The update failed leaving my JasJar in boot loader mode. No reset method seemed to work to bring it back up. Subsequent attempts to load the ROM update gave me the dreaded "Country Code" error. Here are the steps I followed to get the ROM update to succeed:
1. Uninstalled ActiveSync 4.0 and installed ActiveSync 4.1 as downloaded from XDA FTP site. Disabled firewall and Anti-virus. Rebooted machine. I am not sure whether this step was neccessary or not but noted that others had some success with this. At this point I was still getting the country code error when trying to install ther update.
2. Run the update but once you get to the first screen that asks you if you want to proceed, switch to the Windows file system using Explorer and set the current directory to your TEMP directory. If you are not sure where this is, open a command prompt (Start - Run - CMD - OK) and type SET. This will display environment variables. Look for the one called TEMP - that is where you want to go.
3. Search for a file called ROMUpgradeUT.exe or RUU.conf anywhere in the TEMP directory or its subdirectories. When you find the correct directory, copy the files to a new location.
4. In the new location, edit the RUU.conf file and add the following text at the end of the file:
[CHECKCEID_TYPE]=1
5. Save the file and then run ROMUpgradeUT.exe
At this point I was able to get past the country code error and the update began. The radio upgrade was the first component and it took the most time (about 10-15 minutes). The other 2 components upgraded the extended ROM and the OS but only took about 5 minutes each.
After getting the completion message on my PC I also noted a "100% complete" message on the JasJar screen. After a hard reset (soft keys and reset) the JasJar came up with the upgraded ROM in place and I was REALLY HAPPY!
I don't know if this will work for anyone else - use at your own risk but I wanted to share what has worked for me.
BTW - many thanks to all the previous posters who left "breadcrumbs" for me to follow in getting my JasJar back. This community is SUPERB!
Thanks again.
Rick
Click to expand...
Click to collapse
this method how?my jasjar can open normal ?
help me
error 101 problem
error 150 problem
MaUpgradeUt_noID trying in my jasjar error problem 150 .whats saying ? problm where? usb dont recognize xp .what must ı do?
please help me im using Vista and cant get connection with my imate to my pc... and what is a radio update if you can help me add my msn!
i dont want to update anymore i just want to get my wm5!
Have a look here:
http://wiki.xda-developers.com/index.php?pagename=FlashVista
Hope it helps,

Installation was unsuccessful. The program or setting cannot

I've got a problem. Trying to update my new rom's Cyberon Voice Speed Dial v1.1 to Version 1.2 and get the following error: "Installation was unsuccessful. The program or setting cannot be installed because it does not have sufficient system permissions". I already did research on the net about changing registry and using unlocker, scpb.cab, but non of that seems to work!!!
Anybody else had this problem?
I too have just had this problem trying to install the bluetooth keyboard drivers on my Qtek 8500 Smartphone.
Anyone know what to do.
i've got same message
after hardreset and reinstalling all my software i've got the same problem.
after going to settings->system->Remove Programs i found nothing in the list of available software for uninstall . i supose the database was corrupted .
I got this error when I was trying to install a program that was already running in the background.
I had to close it with taskmanager first.

certificate error when running any unsigned apps...

Help!
I was messing around with the Ubuntu on Rhodium stuff that's posted in the Android sub-forum and I think something got corrupted/overwritten on my phone...
I extracted all the files on to a freshly formatted card and ran haret and everything worked file and I eventually got to the Ubuntu desktop. Then I did a soft reset to get back to WM and then the problems started.
I cannot run any unsigned apps whether they are installed on the storage card or internal memory. Whenever I try and run an app I get an error saying "The file blah cannot be opened either it is not signed with a trusted certificate...".
I cannot get back into Android or Ubuntu coz haret is unsigned too.
I cannot even install new apps! When I run the cab file, I get the usual "This program is from an unknown publisher..." and when I select yes for continue it immediately comes up with "Installation of blah was unsuccessful."
Time for a hard reset? I'd really prefer not to if anyone can suggest a better way of getting my phone back to how it was.
R.
Tried installing this?
As I said in my original post, I cannot install any CABs that come from "Unknown Publishers" too and it seems that TP2-AppUnlock is one of those.
Thanks for trying,
R.
there is a setting somewhere for this. i saw it the other day while setting up a new rom.pretty sure
same problem
I have encountered the exact same issue...except that for me it occurred after booting back into WM after trying out the latest android build. Anyone have a solution?
dicko99 said:
Help!
I was messing around with the Ubuntu on Rhodium stuff that's posted in the Android sub-forum and I think something got corrupted/overwritten on my phone...
I extracted all the files on to a freshly formatted card and ran haret and everything worked file and I eventually got to the Ubuntu desktop. Then I did a soft reset to get back to WM and then the problems started.
I cannot run any unsigned apps whether they are installed on the storage card or internal memory. Whenever I try and run an app I get an error saying "The file blah cannot be opened either it is not signed with a trusted certificate...".
I cannot get back into Android or Ubuntu coz haret is unsigned too.
I cannot even install new apps! When I run the cab file, I get the usual "This program is from an unknown publisher..." and when I select yes for continue it immediately comes up with "Installation of blah was unsuccessful."
Time for a hard reset? I'd really prefer not to if anyone can suggest a better way of getting my phone back to how it was.
R.
Click to expand...
Click to collapse
Just found this thread that is supposed to fix the problem: http://forum.xda-developers.com/showthread.php?t=404170
I've already hard-reset my phone so I can't test it...
I too had the same problem but with the HTC hd2. I was trying out a 2.2 rom n the camera wasn't working so I turned off the phone, when I tried going to back android haret wouldn't run .if anybody has a fix to this please let me know.
Hi there,
Have you tried the "Security configuration Manager" mentioned in the thread linked to above?
I can't test it coz I haven't broken my phone again since the initial issue but for future reference I'd like to know if it cures the problem.
Hope this helps,
Richard
Yes i've tried security configuration manager but it still wouldn't work. Does doing the hard rest work? Thanks for the help
Yes, hard reset works.
I've used it on two occasions to fix this problem.
Regards,
Richard
after using config manager i cannot sync with outlook
i am still having the issue with certificates after runnig android and rebooting HD2
any help?
i am in mexico HTC HD2 unlocked if i make a hard reset i am going to loose unlocked feature right?

Installation of cab files throws errors

Hi. I just recently purchased an HTC Touch Pro2 from T-Mobile running WinMo 6.5. That being said, I have not been able to open any cab files on the device to install some software. Basically I'll transfer the cab to the device and attempt to open it. I get one of three messages depending on the app I guess. the most basic is "Installation was unsuccessful" to "Installation was unsuccessful. The program or setting...not digitally signed...trusted certificate" (this was from MobileFTPClient). Installing Opera Mini 5 gives a simple: "Installation of mini5wm.cab was unsuccessful".
Ok, so being a software developer for 10 years I've been looking into some registry values and can't seem to find what I need to get anything to install. If I download from the Windows Marketplace that's all good, but nothing else.
What do I need to do to be able to install cab flils directly? Honestly if I can't get this to work this phone is going back. I moved from an iPhone to this phone specifically so I can install apps and monkey around with the device, but so far I'm done before I started.
Thanks for any info you can give me.
its in one of your phone/device settings to let u download and install apps or cabs not digitally signed. thats all, i believe. just find it and check it off. or look for advanced config cab if u can find it and install that. it has an option in there also to let u download/install whatever..
mullethunter said:
Hi. I just recently purchased an HTC Touch Pro2 from T-Mobile running WinMo 6.5. That being said, I have not been able to open any cab files on the device to install some software. Basically I'll transfer the cab to the device and attempt to open it. I get one of three messages depending on the app I guess. the most basic is "Installation was unsuccessful" to "Installation was unsuccessful. The program or setting...not digitally signed...trusted certificate" (this was from MobileFTPClient). Installing Opera Mini 5 gives a simple: "Installation of mini5wm.cab was unsuccessful".
Ok, so being a software developer for 10 years I've been looking into some registry values and can't seem to find what I need to get anything to install. If I download from the Windows Marketplace that's all good, but nothing else.
What do I need to do to be able to install cab flils directly? Honestly if I can't get this to work this phone is going back. I moved from an iPhone to this phone specifically so I can install apps and monkey around with the device, but so far I'm done before I started.
Thanks for any info you can give me.
Click to expand...
Click to collapse
The cab I have attached may help you...it's some SDK certificates that will allow installation of certain unsigned apps, but I don't know if this is what the ones you're running are requiring and missing. It won't harm anything to try this one, and you can easily uninstall it if it doesn't do the trick
Thanks guys. Sirphunkee - that cab actually installed, but I'm having the same problem. Another forum has suggested that I take the device back to T-Mobile, but it just seems like there's a setting that's not right in the OS. Demandarin - I've looked for various security permissions in the UI with no luck. I've mucked around with some Policy values in the registry per some threads on this forum, but still nothing.
I'll keep trying, and thanks.
So...weird; Opera Mini and Weather Bug (well known apps) wouldn't install, but an SMS notification disable cab installed (from the xda site) as did Evernote (evernote.com). I have no clue what the deal is, but it's getting beyond stupid that I can't install just any cab file.
mullethunter said:
So...weird; Opera Mini and Weather Bug (well known apps) wouldn't install, but an SMS notification disable cab installed (from the xda site) as did Evernote (evernote.com). I have no clue what the deal is, but it's getting beyond stupid that I can't install just any cab file.
Click to expand...
Click to collapse
Have you already installed .Net 3.5? It's a framework that many other programs use (and need) to install, and it's not on the TP2 by default...it's the only other think I could think of that would keep you from installing stuff. Cab is attached, if you don't have it already.
Got it. I installed the Device Security Manager PowerToy and was able to change the configuration there. Opera Mini 5 just installed.
Never would have thought the phone would come that locked down, but so far so good. Thanks for all of the ideas.
mullethunter said:
Got it. I installed the Device Security Manager PowerToy and was able to change the configuration there. Opera Mini 5 just installed.
Never would have thought the phone would come that locked down, but so far so good. Thanks for all of the ideas.
Click to expand...
Click to collapse
Well yeah what's weird is that I never had to use that to get any of those apps installed

[Q] i need help with emulators

hi i have a htc touch pro2 from us cellular and im having a problem running emulators on my phone. Ive tried running now both the pocketgba and the pocketgnuboy and i keep getting the same error for both. The error is "The file 'Pocketgnuboy' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the Proble persists, try reinstaling or restoring the file." Ive saved both of them to my SD card and im not sure if thats the problem.
So if anyone can help and show me what to do to fix this problem and how to do install etc. then it would be greatly appreciated thankxx..
Thread moved to correct section.
I'm pretty sure others will help out soon with advice re. app unlocking (or whatever it is called on modern devices), or sdkcerts or similar, however that error message rings a bell for a different reason... On my previous phone I was using a util to alter shortcut's properties (sorry, it was a while ago now, but the specifics won't matter.) Upon seeing the error msg, I was initially convinced I had somehow restored the phone to it's original status of not trusting unsigned CABs, or not allowing certain software. HOWEVER, I eventually noticed that running the EXEs directly (File Explorer/Resco Explorer/Total Commander) meant the apps would work fine, it was just the start menu's shortcuts that gave that error, but not even on all shortcuts.
Short version, while you wait for a more knowledgeable person to come along and guide you through the more likely/common issues, is try navigating to \program files\YOUR APP NAME\your_app_name.exe , run it. If the program works fine, all you'll need to do is navigate to \windows\start menu\ and delete the non-functioning shortcut, and create a new one.
HIH

Categories

Resources