Git Product home page Git Product logo

windows-driver's Introduction

The all-in-one USB driver for Windows

To build and sign the driver, check that you have the specified requirements installed and follow the steps below.

Requirements

Steps

Generate the .cat files from the two .inf files:

  • Bump version number in .inf file
  • inf2cat /driver:. /os:7_X64,7_X86,8_X64,8_X86,6_3_X86,6_3_X64,Vista_X86,Vista_X64,XP_X86,XP_X64

Install certificates:

  • Get the Tidepool certificate.
  • Double-click to install.
  • Also install the DigiCert High Assurance EV Root CA certificate downloaded above, as it's needed to cross-sign the Tidepool certificate.
  • You can verify the certificates are installed by running certmgr.

Sign both the .cat files using signtool:

  • signtool sign /v /ac "DigiCertHighAssuranceEVRootCA.crt" /s my /n "Tidepool Project" /t http://timestamp.digicert.com tidepoolvcp.cat
  • signtool sign /v /ac "DigiCertHighAssuranceEVRootCA.crt" /s my /n "Tidepool Project" /t http://timestamp.digicert.com tidepoolhid.cat

Verify that drivers are correctly signed:

signtool verify /kp /v /c tidepoolvcp.cat amd64\ftser2k.sys
signtool verify /kp /v /c tidepoolvcp.cat i386\ftser2k.sys
signtool verify /kp /v /c tidepoolvcp.cat amd64\silabser.sys
signtool verify /kp /v /c tidepoolvcp.cat i386\silabser.sys
signtool verify /kp /v /c tidepoolvcp.cat amd64\tiusb.sys
signtool verify /kp /v /c tidepoolvcp.cat i386\tiusb.sys
signtool verify /kp /v /c tidepoolvcp.cat amd64\ser2pl64.sys
signtool verify /kp /v /c tidepoolvcp.cat i386\ser2pl.sys

Run InnoSetup:

  • Double-click innosetup
  • Bump version number
  • Build -> Compile

Sign setup.exe:

  • Rename Output\setup.exe to Output\TidepoolUSBDriverSetup.exe
  • signtool sign /v /s my /n "Tidepool Project" /t http://timestamp.digicert.com Output\TidepoolUSBDriver.exe

Notes

  • The build process has only been tested on Windows 8.1.
  • If the drivers fail to install, make sure all devices are unplugged.
  • You must have administrator privileges to install drivers.
  • The DigiCert certificate can also be downloaded from the DigiCert website.
  • When you publish the new driver on the website, remember to also whitelist the driver with Symantec.

windows-driver's People

Contributors

gniezen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

webstorage119

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.