none
DRIVER INSTALLATION VIA CAB GENERATED FILE FOR WEC7 RRS feed

  • Question

  • Hi, 

    I am having WEC 7 setup on XP SP3 pc. I have tried to install my SDIO WiFi driver on to my Embedded Device using CAB file , which i have generated it using cabwizard tool. I got my WiFi driver installed successfully. But I had issues with my driver, like it loads up and unloads itself automatically and continues to halt the driver. 

    I have also checked the SDIO WiFi driver by including it in to OS image through Platform.reg and Platform bib files. It worked fine. 

    What differs from CAB installation and manual inclusion of driver files to OS image through Platform .reg and Platform .bib files? 

    Is there any options to resolve this issue?

    Best Regards,

    Dinesh

    Thursday, August 21, 2014 1:24 PM

All replies

  • including it in the OS means that it will be always there (its in the NK.bin). If you install it via a CAB file this doesn't necessary have to be so;

    If you don't have hive based registry then your registry settings are lost over a reboot and therefore it will never load again, so make sure you use something like HIVE-based registry.

    The same goes for your binaries (dll). Make sure you store you install/store it on non-volatile memory like NAND or so.


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

    Thursday, August 21, 2014 2:18 PM
  • Hi Erwin Zwart,

    Thanks for your prompt reply.

    I am having hive- based registry selected in my catalog. Still the driver Halts.

    I have also checked this CAB installation on WINCE 6.0. It worked fine there. But i guess that some other process might have blocked my driver from running, whenever i use this cab installation in WEC7. I am unable to find where the issue could be. 

    Or what may be the other conditions that can halt the driver? 

    Best Regards,

    Dinesh 

    Friday, August 22, 2014 5:59 AM
  • Is your driver running at all after WEC7 installation or does it fails to load? Or does your driver crashes?

    What you can do is create a debug build without the the driver. Then install the driver and check the logging what goes wrong. If it loads but its getting exception the debugger will break and you are probably can determine what goes wrong.

    Or perhaps you can provide us the logging when things goes wrong?


    Good luck,

    Erwin Zwart, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner http://guruce.com
    Consultancy, training and development services.


    • Edited by Erwin Zwart Friday, August 22, 2014 9:51 AM
    Friday, August 22, 2014 9:38 AM
  • Hi,

    "I got my WiFi driver installed successfully. But I had issues with my driver, like it loads up and unloads itself automatically and continues to halt the driver. " means drives is aborting or ?

    When you install using CAB file, manually you need to give registry entries and .dll. As i experienced, with CAB file only loading the driver differs. If it is loaded successfully, it should not give much difference than loading it in boot time with platform.reg.

    Also AFAIKit needs few more registry entries than the .reg file normally required to load in boot time. 

    Shan_k.

    Monday, August 25, 2014 6:24 AM