PDA

View Full Version : CAB file help - "Installation unsuccessful" on HTC


ZeBoxx
17-02-2006, 09:00 PM
Hello all,

Attached is a simple CAB file that should have set the PIE user-agent stuff to be identifying the thing as IE6. I think there may be others around, I know I've seen it in a larger cab, so don't worry about this specific function. My question is regarding the fact that when I try to run it on my HTC Wizard (running WM5), I get "Installation of PIE_as_IE6.cab was unsuccessful".

I built the CAB off of the "CAB Template.cab" from http://forum.xda-developers.com/viewtopic.php?p=113615#113615 - just in case I'd run into that version issue with WM5.

Any thoughts out there on what's wrong with the CAB? Or is there a different reason it won't install?

phlaz
20-02-2006, 08:20 AM
Hi, what CSP are you using to change those settings and how are you deploying it to the device? Chances are access to that provider is restricted to a higher security role than what the cab file has permissions to do. RAPI still has access to most service providers by default but if you're downloading the cab over the air to the device it'll probably need to be signed with a suitable certificate before it's allowed to make setting changes. Mobile 5.0 security has been beefed up and its now a bit of a mission to do what was reasonable simple to do on 2003. All cpf files need to be signed if not deployed over RAPI as well, for even something trivial like adding a browser favourite.

ZeBoxx
20-02-2006, 01:04 PM
editor is OCP Software's WinCe Cab Manager (version: 1.1)

deploy method is copy over USB cable by ActiveSync through Total Commander+WinCe Device access plugin. Execution of CAB is on the device itself through Total Commander CE or Explorer.

No CSP in use (err.. afaik).

You may be right that the part of the registry in question may simply be unavailable to access without special signing. I'll have to dig for those keywords a bit.

phlaz
20-02-2006, 02:43 PM
Yeah...the more I research Mobile 5.0 security the steeper it gets. It seems security permissions extend all the way to file IO access. Writing certain recognized system files (like theme files) without adequit permissions effectively renders those files as untrusted and they stop behaving in their expected manner. Its a pain.