Adding a file into the Runtime Image in WEC7 RRS feed

  • Question

  • In order to include any file in the WEC7 we have to use the bib files.

    In my case i created a subproject in which i wrote a application, now i want this application to be included in the run time image. So I opened the project.bib file and wrote the following entries.

    As it is an executable file, it should be in the MODULES Section

    Subproject2.exe  $(_FLATRELEASEDIR)\Subproject2.exe               NK

    When i loaded the image on the device, i checked the Windows folder for the image, it was not present.

    But when i wrote this in the FILES section

    Subproject2.exe  $(_FLATRELEASEDIR)\Subproject2.exe               NK

    It is present in the windows folder, may i know the reason?

    Is it that for executables we have to keep it in the FILES section?

    Or whether Iam doing anything wrong?

    Wednesday, August 5, 2015 5:40 AM

All replies

  • Hi Mohammad,

    The following link describes the files section and states:

    If your device uses the standard shell, and you want to display specific .exe files and .dll files that are part of the operating system in Windows Explorer, you must add them to the FILES section. Files in the MODULES section are considered to be operating-system files and are hidden by default.

    So placing your application in the modules section your will be hidden by default. In the menu explorer you can show hidden and system files (believe it is the view menu..)

    for the complete reference you can find the modules section here

    Good Luck,

    Erwin Zwart, eMVP
    Check out my blog:
    Microsoft Embedded Partner
    Consultancy, training and development services.

    • Proposed as answer by Keshava GN Wednesday, August 5, 2015 10:14 AM
    Wednesday, August 5, 2015 6:55 AM