cabwiz and installation destination - Windows Mobile Development and Hacking General

I'm developing software for the HTC ARTEMIS on WindowsMobile 5.0 OS. The software is finally provided through a CAB file by using cabwiz to create the CAB. That works as intended.
However, when a memory card is used at the device, the CAB installation routine keeps asking whether the software should be installed on the device or on the memory card. Is there any way to force installation on the _device_ without asking the user?

Related

Remote Application Install

Hi Everyone,
I am just starting to explore developing software for mobile devices. I want to be able to develop an application, generate a CAB file, copy them to a selected device and the make the device automatically expand and install the CAB file.
Does anyone know of an easy way of automating the installation of a CAB file on devices - this is basically so that the end user does not have to be involved in the installation of new software.
Thanks
Dan
I'm interested in it too!
Do you mean that you want to remotely update the software installed in the mobile? Do you plan to send the new installation file by GPRS?
You can't push files over GPRS unless you have a VPN or similar tunnel (most people don't.)
While developing I like to run Eiichiro Ito's ftpd for Windows CE (works with any version from 2.0 to 5.0 - http://www.oohito.com/wince/arm_j.htm) and I have a rule in my Makefile which automatically uploads the new binary to the storage card, ready to run.
Of course if you only want your program to check for updates and install them automatically, then it is just a matter of making it check a website and download available updates each time it is run. This requires extra code in your application but it's the only way to do it for released software. Also it will annoy the user by trying to connect to GPRS every time they run the program.
It sounds like to me you want to know how to make a cab file. Is that right?
If so I can offer some code. The part about getting the cab to automatically work is not so easy. Unless you have some process already running that expects the cab, what will execute it?(unless of cource you mean the device is synched)
Give more detail.

CAB file help - "Installation unsuccessful" on HTC

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?
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.
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.
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.

HTC Universal for Sale

Hi Guys,
My office have just provided me with a HTC TYTN, so I am selling my Universal (M5000 branded).
It is unlocked.
See eBay
http://cgi.ebay.co.uk/Orange-M5000-...0096821175QQcategoryZ3312QQrdZ1QQcmdZViewItem
Tested with TomTom version 3 - how did you get that to install on a WM2005 device?? - Mike
TomTom 3 installs fine on the device.
If memory serves, the problem was with the Windows side of the installer. It didn't like the newer ActiveSync that WM5 required.
The solution was to launch the installer. Find the CAB files that the installer extracted and copy them manually to the device. There is alot of guides around the internet on how to do this.
Once I had done this once, I (as I still do) keep a copy of all the software I install on my device on the SD card. So I can reinstall all the software and my certificate from the SD Card, without needing a PC. In fact, I cannot remember the last time i connected to Windows with a WM device!
Forgot to say.
I also think there was a problem with no-sound, but there was an updated DLL floating around the internet that corrected the problem, although I don't think that it was official.

CAB Installation after hardreset fails. Why?

Hello guys,
I have cooked my own ROM for my E-TEN M700 with Windows Mobile 6.1 inside. It can be found here: http://eten-users.eu/index.php?showtopic=14257
The Problem
There is only one issue I can't find any solution for! By default E-TEN comes with an application very simelar to autorun.exe for HTC devices or the great UC tool in order to automatically install OEM packages from ExtROM. It is called CustomInit. Ufortunatelly I had to discover that none of the mensioned tools works. CustomInit returns with XML-parse error, but there is no mistake in the oem.xml. UC2.0 tells me something about failures, too.
Indead I discovered installing cab files manually after hardreset does not work. Even microsofts WrlsMgr.exe does not start. After rebooting the device once, everything is ok. Running UC2.0 again (by resetting registry values,...) works perfect.
The Question
Can anybody explain me, why I can't install any cab files just after hardreset? Why must I reboot once in order to make cab installation work?
Regards.

copy a program running on a PDA running WM 6.1 onto another WM 6.1 device?

Is it possible to copy a program running on a PDA running WM 6.1 onto another WM 6.1 device?
We currently have bespoke software installed on windows mobile devices. Having tried to image the software over to another device, the software throws up an error saying wrong device. I don’t have the actuall code for the software installed. Would it be possible to remove the device dependency protection and create an installable CAB?
Do you know where your software installed to (external or /windows/program files)?
Can you just copy the installer file (cab) from /windows? I used to do that on WinMo, but maybe I don't understand exactly what you're trying to do?
Sent from my PC36100 using xda premium

Categories

Resources