Difference between revisions of "HOWTO Sign the Epilog Mini Driver"
Jump to navigation
Jump to search
(that was actually from the output) |
(inf file fun) |
||
Line 1: | Line 1: | ||
* Download and install the Windows 8.1 SDK http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx | * Download and install the Windows 8.1 SDK http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== creating and installing a driver signing cert == | == creating and installing a driver signing cert == | ||
Line 13: | Line 8: | ||
"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\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 | "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 == | ||
Line 38: | Line 18: | ||
C:\Program Files (x86)\Windows Kits\8.1\bin\inf2cat.exe /driver:EpilogWinX64_8.08 /os:8_X64 | 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(TEST) /t http://timestamp.verisign.com/scripts/timstamp.dll EpilogWinX64.cat | ||
+ | |||
+ | == installing == | ||
+ | |||
+ | Right click the .inf file >> install. |
Revision as of 13:31, 10 June 2014
- Download and install the Windows 8.1 SDK http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
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(TEST) /t http://timestamp.verisign.com/scripts/timstamp.dll EpilogWinX64.cat
installing
Right click the .inf file >> install.