Giter VIP home page Giter VIP logo

wincompile's Introduction

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.

wincompile's People

Contributors

walkman100 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.