在WEC7中将文件添加到运行库映像中 [英] Adding a file into the Runtime Image in WEC7

查看:67
本文介绍了在WEC7中将文件添加到运行库映像中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了在WEC7中包含任何文件,我们必须使用bib文件。

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

在我的情况下,我创建了一个子项目,我写了一个应用程序,现在我希望此应用程序包含在运行时映像中。所以我打开了project.bib文件并编写了以下条目。

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.

因为它是一个可执行文件,所以它应该在MODULES部分

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

模块

Subproject2.exe  $(_ FLATRELEASEDIR)\ Subproject2.exe              NK

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

当我在设备上加载图像时,我检查了Windows文件夹中的图像,它不存在。

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

但是当我写的时候这在FILES部分

But when i wrote this in the FILES section

文件

Subproject2.exe  $(_ FLATRELEASEDIR)\ Subproject2.exe              NK

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

它存在于windows文件夹中,我可能知道原因吗?

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?

或者我做错了什么?

推荐答案

嗨穆罕默德,

以下
链接
描述了文件部分和状态:

The following link describes the files section and states:

如果您的设备使用标准shell,并且您希望显示特定的.exe文件和.dll文件在Windows资源管理器中操作系统
,您必须将它们添加到FILES部分。 MODULES部分中的文件被认为是操作系统文件,默认情况下是隐藏的。

因此,将应用程序放在模块部分中,默认情况下将隐藏它们。在菜单浏览器中,您可以显示隐藏文件和系统文件(相信它是视图菜单..)

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

完整参考,您可以找到模块部分
here

for the complete reference you can find the modules section here


这篇关于在WEC7中将文件添加到运行库映像中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆