none
Creating CAB file for WEC7 WIFI driver and loading the driver using an application RRS feed

  • General discussion

  • Hi All,

    We have our WEC7 Wi-Fi driver on IMX6 platform. 

    Now our driver will get loaded while the OS is booting. I know how to create a CAB file in visual studio. But don't know how to link that with loading our driver.

    I want to load my driver after OS boots up. Please let me know if anyone has similar kind of set up where i can click on an application and it will make my wifi driver to get install.

    I know WiFicpl.exe we can use as NETUI for WIFI . But i  don't have any idea that how i can use this application to load my driver.

    If anyone is using such applications, please let me know.

    Any suggestion is appreciated.

    Thanks & Regards

    Dha

    Saturday, February 8, 2014 4:26 AM

All replies

  • CAB file is nothing more then a 'zipped' package containing registry entries and binaries.

    So include your driver en the necessary registry keys for loading your driver: check

    http://msdn.microsoft.com/en-us/library/jj584874(v=winembedded.70).aspx and then for the registry keys: 

    http://msdn.microsoft.com/en-us/library/jj659831(v=winembedded.70).aspx

    You'll need persistend registry to survive a reboot..

    You event can create post and pre installation steps with a setup dll (if needed)

    http://www.codeproject.com/Articles/169459/CAB-Installations-for-WinCE-Thin-Clients

    I don't know how WiFiclp.exe works but you capture the registry before and after the 'installation/activation' and capture the difference....if there are any ;-)



    -- Good luck, Erwin Zwart--- Check out my blog: http://GuruCE.com/blog https://twitter.com/GuruCE_Embedded GuruCE Microsoft Embedded Partner http://GuruCE.com Consultancy, training and development services.

    Tuesday, February 11, 2014 9:25 AM
  • My tool on Codeplex, CEComponentWiz is able to package up existing files for inclusion in an OS build, whether binary, text etc. There is also an option to generate a cab file for installation of those components on an existing OS, assuming the cab file installation Catalog components are included in the OS. When you build the OS subproject created by CEDriverWiz, the cab file is generated in the Release Directory, but is not part of nk.bin.

    https://CEComponentsWiz.codeplex.com


    DJaus Snr SW Dev (Embedded Systems and .NET)

    Monday, February 17, 2014 4:07 AM
  • As Erwin noted the CAB file is just like a ZIP file. It sounds like what you really want is to trigger the installer to install the CAB. Usually when you include the installer in your OS CAB files are associated with it. If not, you can launch the installer; it's called WCELOAD.exe. I suppose that you could do what you generally describe by just running "wceload.exe "<path>\<cabfilename>.cab"" using whatever programming language your "application" uses.

    Paul T.

    Tuesday, February 18, 2014 5:06 PM