none
How to cleanly exclude explorer shell in WEC 7? RRS feed

  • Question

  • We want our custom application to launch at boot-up instead of the explorer shell.

    Also I have one doubt, will we still be able to browse the mounted volumes (i.e. Flash partitions, SD card, and USB drive) programatically if explorer shell is not loaded?

    Wednesday, January 7, 2015 7:27 AM

Answers

  • You can use the HKLM\Init key for that.

    you can replace the init key for the explorer.exe (which is the shell assuming you talk about CE version < wince8).

    here's a nice tut:

    http://geekswithblogs.net/BruceEitman/archive/2008/06/30/windows-ce-starting-an-application-when-the-system-boots.aspx


    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.

    • Proposed as answer by Keshava GN Wednesday, January 7, 2015 1:46 PM
    • Marked as answer by MJ Masbad Monday, January 12, 2015 10:12 AM
    Wednesday, January 7, 2015 8:07 AM

All replies

  • You can use the HKLM\Init key for that.

    you can replace the init key for the explorer.exe (which is the shell assuming you talk about CE version < wince8).

    here's a nice tut:

    http://geekswithblogs.net/BruceEitman/archive/2008/06/30/windows-ce-starting-an-application-when-the-system-boots.aspx


    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.

    • Proposed as answer by Keshava GN Wednesday, January 7, 2015 1:46 PM
    • Marked as answer by MJ Masbad Monday, January 12, 2015 10:12 AM
    Wednesday, January 7, 2015 8:07 AM
  • I like Erwin's answer, but I am not sure that is completely clear so this just extends it.

    If you want to use the features of the Explorer shell, you will either need to run explorer.exe or implement the features in your application.   These features would include application dialogs for browsing mounted volumes.

    Erwin's response basically leaves the explorer shell in the OS, but keeps it from running.   We have customers who do this so that their service team has access to the functionality that the explorer shell provides.  That is the custom application provides a way to start and use explorer.


    Bruce Eitman (eMVP) Senior Engineer Bruce.Eitman AT Eurotech DOT com My BLOG http://geekswithblogs.net/bruceeitman Eurotech Inc. www.Eurotech.com

    Wednesday, January 7, 2015 4:30 PM
    Moderator