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