Installer for .net Application

I have some questions regarding the handling of .net CF installation

I have a cab file and a working MSI installer for my app.
(based on http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnanchor/html/CompactfxTechArt.asp)

How can I check if the .net cf 2.0 is installed on the device
and is there a way to somehow merge my installer with the .net cf redistributable
(from here: http://www.microsoft.com/downloads/details.aspx familyid=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en)

Or is there another way to bundle the different .net cf version (for ppc2003, windows ce 5.0 ....) with my application

regards
norbert



Answer this question

Installer for .net Application

  • Deadly Trev

    Sorry my error, I already know this articel (only posted the wrong link in my text)

    But this articel don't handle the problem of deploying the Compact Framework


    You said:
    Owners of VS 2005 can redistribute NETCF CAB(s) with application, so you can pick CABs you need and include them into your MSI and deploy them via CeAppMgr.exe and INI file.

    But how do I pick the right one




  • Azeem Khan

    It shows how to deploy an application. You can repeat same procedure for all applications you need to deploy including NETCF.

    You don't need to pick anything. List all relevant NETCF CABs in separate INI file and AS would choose the correct one for device. If you don't know which CAB is for which device, please see this:

    http://blogs.msdn.com/netcfteam/archive/2005/10/11/479793.aspx



  • Hana

        I also do have the same question and issue here. Based on your last reply about including all relevant CF 2.0 framework CAB file in seperate ini file, Can I include all the CAB files in the same ini file as comma delimited like the onw below

    [CEAppManager]
    Version = 1.0
    Component = OpenNETCF WiFiDiscovery
    [OpenNETCF WiFiDiscovery]
    Description = Sample WiFi Network Discovery Application using the 
    CabFiles = WiFiDiscovery.cab,CFWM5.cab,CF2003.cab
      Wouild this be possible to have single ini file  If that is possible,
    is the CEAppManager
    is smart enough to know which CAB to be installed in the device

    Thanks,
    Vijay


  • matthewfoster

    You can use RAPI, but it might be disabled on WM 5.0 devices. It's a good idea to use AS deployment (CeAppMgr.exe) to install your application, NETCF and whatever dependencies you have on to device.

    That is described here:

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/deploy_cf2_apps_cab_msi.asp

    Owners of VS 2005 can redistribute NETCF CAB(s) with application, so you can pick CABs you need and include them into your MSI and deploy them via CeAppMgr.exe and INI file.



  • Andy D

    No, it's not possible. CAB files listed in INI are the same application, but for different platforms/CPUs. Only one CAB from this list would be chosen by CeAppMgr and deployed to the device. You need one INI per application. You can register multiple INIs and invoke them all at once. Please see this for more info:



  • IP

    That is possible and fairly easy to do. Just implement custom installer functionality in VB script and invoke it as custom action from MSI.



  • Brian Mathis

    Thanks for your previous answer. Now I am able to deploy both my Application and CF2.0 to the device at one install. I have another specific question I am hopping you can point me to the right article or code sample.

    I have built my Deployment with custom installer dll in C#. When my user downloads my setup and run, It is automatically downloading Framework 2.0 and installs on desktop before running my Custon Installer action to Deploy to Device. How do I remove this framework dependancy
    IS there any other platform on which I can write the Custom Installer which just runs out of the box in the windows desktop How can I check for return code from custom installer What platform can I choose to bypass the Framework Dependancy. Please mention choices..

    Thanks,
    Vijay


  • Installer for .net Application