Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to sign manually an exe file with developer licence for Windows 8 RT

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.

like image 820
A.Danesh Avatar asked Dec 24 '12 07:12

A.Danesh


People also ask

How do I sign an EXE file in Visual Studio?

How to sign an assembly in Visual Studio. You sign an application or component by using the Signing tab of the project properties window (right-click the project node in Solution Explorer and select Properties). Select the Signing tab, then select the Sign the assembly check box.


1 Answers

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.

like image 54
Raman Sharma Avatar answered Sep 19 '22 22:09

Raman Sharma