微软驱动程序验证器

发布于 2024-09-02 11:22:15 字数 707 浏览 5 评论 0原文

在验证程序对话框中,有一个窗口可以选择要验证的驱动程序。

列表控件有 4 列。
1. 验证?
2. 驱动程序名称。
3. 提供者
4. 版本

我的驱动程序提供商和版本显示为“未知”。
我不知道如何设置这些值。

我可以在哪里设置这个值?通过签名工具?或者资源文件?
是的,这不是一个大问题。但我想纠正这一点。

请告诉我。 谢谢。

编辑: 我们的驱动程序有一个 rc 文件。 该文件定义了以下值。

VER_FILETYPE
VER_FILESUBTYPE
VER_FILEDESCRIPTION_STR
VER_INTERNALNAME_STR
VER_INTERNALNAME_STR
VER_LEGALCOPYRIGHT_YEARS
VER_LEGALCOPYRIGHT_STR
VER_ORIGINALFILENAME_STR
VER_COMPANYNAME_STR
VER_产品版本
VER_PRODUCTVERSION_STR
VER_FILEVERSION
VER_FILEVERSION_STR
VER_PRODUCTNAME_STR
VER_LEGALCOPYRIGHT_STR

Windows资源管理器很好地代表了我们的驱动程序版本和数字签名信息。 但驱动程序验证器却没有!

In Verifier Dialog, there is a window to select drivers to verify.

The list control has 4 column.
1. Verify?
2. Driver name.
3. Provider
4. Version

My driver's provider and version are represented as "unknown".
I don't know how can I set these values.

Where can I set this value? By SignTool? Or Resource file?
Yes, this is not a big problem. But I would like to correct that.

Let me know please.
Thanks.

Edit:
Our driver has a rc file.
The file defines following values.

VER_FILETYPE
VER_FILESUBTYPE
VER_FILEDESCRIPTION_STR
VER_INTERNALNAME_STR
VER_INTERNALNAME_STR
VER_LEGALCOPYRIGHT_YEARS
VER_LEGALCOPYRIGHT_STR
VER_ORIGINALFILENAME_STR
VER_COMPANYNAME_STR
VER_PRODUCTVERSION
VER_PRODUCTVERSION_STR
VER_FILEVERSION
VER_FILEVERSION_STR
VER_PRODUCTNAME_STR
VER_LEGALCOPYRIGHT_STR

Windows explorer represents our driver's version and digital sign information well.
But Driver Verifier doesn't!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

治碍 2024-09-09 11:22:15

您的源应包含一个 .rc 文件,该文件应包含 VERSIONINFO 资源。如果还没有,请添加。

INX 文件还包含一个 [Version] 部分,该部分最终将出现在生成的 .inf 文件中。根据需要更新它以匹配您的 VERSIONINFO。

Your SOURCES should include a .rc file that should contain a VERSIONINFO resource. If it already doesn't, please add it.

The INX file also contains a [Version] section that will end up in the generated .inf file. Update it to match your VERSIONINFO as needed.

执笏见 2024-09-09 11:22:15

正如 http://www.osronline.com/showthread.cfm?link=182912 中提到的 :

驱动程序验证程序显示 FileVersion 字符串:它是从
inc/api/common.ver 中的 VER_FILEVERSION_STR:

VALUE "FileVersion", VER_FILEVERSION_STR BUILD_MACHINE_TAG_PADDED

在 Vista 和 Windows 7 中,FileVersion 字符串似乎不是
显示在 Windows 资源管理器属性窗口中。您还可以看到
通过运行 Sysinternals 的 sigcheck 来获取所有版本字符串
http://technet.microsoft.com/en-us/sysinternals/bb897441。 aspx

有一个很棒的模板,用于在 http://www.techtalkz.com/microsoft-device-drivers/262446-how-do-i-set-driver-version-description .html

As mentioned on http://www.osronline.com/showthread.cfm?link=182912 :

Driver Verifier displays the FileVersion string: it's set from
VER_FILEVERSION_STR in inc/api/common.ver:

VALUE "FileVersion", VER_FILEVERSION_STR BUILD_MACHINE_TAG_PADDED

In Vista and Windows 7 the FileVersion string doesn't seem to be
displayed in the Windows Explorer properties window. You can also see
all the version strings by running Sysinternals' sigcheck from
http://technet.microsoft.com/en-us/sysinternals/bb897441.aspx .

There's a great template for setting the version information in the thread at http://www.techtalkz.com/microsoft-device-drivers/262446-how-do-i-set-driver-version-description.html .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文