问题
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. ..."
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.
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
My problem is that I don't know the "CertStoreName" and "subject name" for my developer licence. How can I get these names.
回答1:
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.
Desktop apps is a different story however. Building desktop apps on Windows RT (ARM) is not supported.
来源:https://stackoverflow.com/questions/14018337/how-to-sign-manually-an-exe-file-with-developer-licence-for-windows-8-rt