Difference between revisions of "HOWTO Sign the Epilog Mini Driver"

From Pumping Station One
Jump to navigation Jump to search
(capitalization)
Line 6: Line 6:
 
** unzip driver_808.exe
 
** unzip driver_808.exe
  
== creating and installing a driver signing cert ==
+
== Creating and Installing a Driver Signing Cert ==
  
 
run cmd as administrator
 
run cmd as administrator
Line 13: Line 13:
 
     "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\certmgr.exe" /add "PumpingStationOne.cer" /s /r localMachine root
 
     "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\certmgr.exe" /add "PumpingStationOne.cer" /s /r localMachine root
  
== Fixup the inf file ==
+
== Fixup the inf File ==
  
 
Add the line <code>CatalogFile = EpilogWinX64W8.cat</code> to the <code>[Version]</code> section of the EpilogWinX64.inf file
 
Add the line <code>CatalogFile = EpilogWinX64W8.cat</code> to the <code>[Version]</code> section of the EpilogWinX64.inf file
Line 27: Line 27:
 
     "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\SignTool.exe" sign /v /s PrivateCertStore /n PumpingStationOne /t http://timestamp.verisign.com/scripts/timstamp.dll EpilogWinX64W8.cat
 
     "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\SignTool.exe" sign /v /s PrivateCertStore /n PumpingStationOne /t http://timestamp.verisign.com/scripts/timstamp.dll EpilogWinX64W8.cat
  
== installing ==
+
== Installing ==
  
 
Right click the EpilogWinX64.inf file >> install.
 
Right click the EpilogWinX64.inf file >> install.

Revision as of 13:40, 10 June 2014

Getting the tools

Creating and Installing a Driver Signing Cert

run cmd as administrator

   "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makecert.exe" -r -pe -ss PrivateCertStore -n "CN=PumpingStationOne" PumpingStationOne.cer
   "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\certmgr.exe" /add "PumpingStationOne.cer" /s /r localMachine root

Fixup the inf File

Add the line CatalogFile = EpilogWinX64W8.cat to the [Version] section of the EpilogWinX64.inf file

inf2cat

inf2cat is going to generate a cataloge file (EpilogWinX64W8.cat). Before doing this it will report errors in the inf. Fix the errors. I ran into 2 types: Missing files from the 32bit driver, I just removed the entries, and the date needs to be moved up.

   C:\Program Files (x86)\Windows Kits\8.1\bin\inf2cat.exe /driver:EpilogWinX64_8.08 /os:8_X64

Signing the cat file

   "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\SignTool.exe" sign /v /s PrivateCertStore /n PumpingStationOne /t http://timestamp.verisign.com/scripts/timstamp.dll EpilogWinX64W8.cat

Installing

Right click the EpilogWinX64.inf file >> install.