Bring NETCF.cab into a .msi installation

Bring NETCF.cab into a .msi installation

Post by David Meis » Tue, 20 Dec 2005 02:13:46


Hello,

i have developed an application for WM5.0 using compactframework 2.0
Now i'm programming a setup installation with this very good explanation:
http://www.yqcomputer.com/

Everything works fine so far but i wonder if the following would be
possible:
Can the .msi check if CF2.0 is installed on the device, and if not
install it?

What's the common procedure for this, how do other applications handle
this? Do they say "Please download .NET CF 2.0 from
http://www.yqcomputer.com/
before you proceed"? Is there a bestway for solving this?

cheers
David
 
 
 

Bring NETCF.cab into a .msi installation

Post by » Tue, 20 Dec 2005 04:03:54

Sure. You could add in a call to RAPI to read the device registry to see
what's installed, then push down the CAB as necessary.

-Chris

 
 
 

Bring NETCF.cab into a .msi installation

Post by David Meis » Tue, 20 Dec 2005 05:06:26


So i check in the "CustomInstaller_BeforeInstall"-Method if CF2.0 is
installed? Is this the right place to check?

What do you mean with "then push down the CAB as necessary"? Should i
copy it to the device and run it somehow? Or can i give it to the
CEAppMgr.exe?

David