Skip to content

Walkman100/WinCompile

Repository files navigation

WinCompile

Compile script for my Windows projects

Gitter

See CompileInstructions.md and LinuxCompatability.md

Certificates & Signing

Importing a certificate

  • First you need to get the certificate file, either by creating your own one below, or downloading the one I use: WalkmanOSS.cer (download)
  • Open the certificate and click the Install Certificate... button, then click Next >. CertificatePage
  • Select Place all certificates in the following store (1), then click Browse...(2).
  • Select Trusted Root Certification Authorities(3) (should be the second one), then click OK(4).
  • Click Next >(5) then Finish.

ImportStore

Generate your Own certificate

See GenerateCert.bat in this repo.

Sign a program

Signing is done by SignTool.

Starting SignTool

Script

See my Compile Script@L75, it uses signtool.exe in this repo.

Context menu

Sign Context menu

Import Sign Application.reg in this repo to get a sign item in the context menu for applications.

Using SignTool

Once you have opened SignTool, follow these steps to sign the application:

  • Click Next >. If you have opened SignTool via the context menu or a script, the file to sign should be already filled in. If not, use Browse... to select it. Click Next >.

SignFileSelect

  • Select Custom, then click Next >.

SignTypeSelect

  • Click Select from File...(1), change the filter to X.509 Certificate (*.cer;*.crt)(2), open your certificate(3) then click Next >(4).

SignCertSelect

  • Click Browse...(1), select your private key (generated above)(2), click Next >(3), and enter your password for your private key(4).

SignPVKSelect

  • Click Next > four times, then click Finish and enter your private key password again.

About

Compile script for my Windows projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published