问题描述
我为Windows 8 RT制作了一个exe文件。但是当我要运行时,显示一条错误消息:
I make an exe file for Windows 8 RT. But when I want to run, show an error message:
"Windows cannot verify the digital signature for this file. ..."
我获得了Windows 8 RT的开发者许可。使用此许可 visual studio 2012 可以在我的表面远程部署和运行metro应用程序。
I get a developer licence for windows 8 RT. With this license visual studio 2012 can remotely deploy and run metro application in my surface.
但我想手动签署我的exe文件证书使用 signtool.exe :
But I want to sign manually my exe file with this certificate using signtool.exe:
signtool.exe sign -s CertStoreName -n "subject name" C:\mytest.exe
我的问题是我不知道 CertStoreName和主题名称。
如何获取这些名称。
My problem is that I don't know the "CertStoreName" and "subject name" for my developer licence.How can I get these names.
推荐答案
开发人员许可证只允许您部署和运行Windows应用商店Windows RT,而这些应用程序仍在开发中。如果您正在构建商店应用程序,则不必担心自己签名二进制文件。在将应用程序包分发给最终用户之前,商店会对应用程序包中的所有内容进行签名。
The developer license just allows you to deploy and run Windows Store apps on Windows RT, while such apps are still being developed. If you are building a Store app, you should not worry about signing your binaries yourself. The Store signs all the contents of your app package before it is distributed to the end-users.
桌面应用程序是一个不同的故事。不支持在Windows RT(ARM)上构建桌面应用程序。
Desktop apps is a different story however. Building desktop apps on Windows RT (ARM) is not supported.
这篇关于如何手动使用Windows 8 RT的开发人员许可证签署一个exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!