Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to download and install a CAB file on a Pocket PC

22 views
Skip to first unread message

Nitin67

unread,
Jan 5, 2010, 4:28:15 PM1/5/10
to
Hello,

I wanted to update an installed program on a Pocket PC. I am
doing it a simple way; I am calling shellExecute and start a browser
pointing to the CAB file, then exiting the current program. I wanted
to find out if there was a better way, so I do not have to start a
browser to download it. I am not familier with browser controls, but
is that an option ?

Thank You

Nitin

Trevor

unread,
Jan 6, 2010, 10:44:38 AM1/6/10
to
"Nitin67" <niti...@gmail.com> wrote in message
news:9566a2d8-f10e-4d2e...@k19g2000yqc.googlegroups.com...

If you want to do this silently, then use WinInet to download the CAB file
via HTTP or FTP and save it to the local file system. Then you can execute
WCELOAD.EXE to silently install the CAB file. The WCELOAD.EXE program is
documented on MSDN.

r_z_...@pen_fact.com

unread,
Jan 7, 2010, 11:57:53 AM1/7/10
to

If the installation program is running on the Pocket PC, then you can
use CreateProcess to run wceload.exe. If the installation program is
running on a desktop, you can use CeCreateProcess (part of RAPI) to
run wceload on the Pocket PC.

See 23 May 03 contribution from Christion to thread called "CE
Installing Cabinets, WCELoad" in microsoft.public.windowsce.embedded

According to 19 Mar 04 contribution from Mike to thread called "cab
file always adds to Remove Programs?" in
microsoft.public.pocketpc.developer, wceload takes
/nouninstall
switch to keep it from adding prog to list

Also see the 17 Oct 02 contribution by Alexander Shargin to thread
called "installing .CAB-files" in
microsoft.public.win32.programmer.wince and
microsoft.public.windowsce.embedded.vc


-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com

0 new messages