Bring NETCF.cab into a .msi installation

  • Thread starter Thread starter David Meisenstock
  • Start date Start date
D

David Meisenstock

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://blog.opennetcf.org/ctacke/binary/DeployingApps.htm

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.microsoft.com/downloads/...6b-356b-4a2c-857c-e62f50ae9a55&DisplayLang=en
before you proceed"? Is there a bestway for solving this?

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

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
 
Back
Top