Difference between revisions of "HOWTO Sign the Epilog Mini Driver"
Jump to navigation
Jump to search
(asdf) |
(cleanup, more instructions) |
||
Line 6: | Line 6: | ||
The 2 wdk's may not be required at all. | The 2 wdk's may not be required at all. | ||
+ | |||
+ | == creating and installing a driver signing cert == | ||
run cmd as administrator | run cmd as administrator | ||
− | "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makecert.exe" -r -pe -ss PrivateCertStore -n "CN=PumpingStationOne | + | "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 " | + | "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\certmgr.exe" /add "PumpingStationOne.cer" /s /r localMachine root CertMgr Succeeded |
Line 26: | Line 28: | ||
"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 C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f\EpilogWinX64.dll | "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 C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f\EpilogWinX64.dll | ||
"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 C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f\EpilogWinX64.dll | "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 C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f\EpilogWinX64.dll | ||
+ | |||
+ | == Fixup the inf file == | ||
+ | |||
+ | Add the line <code>CatalogFile = EpilogWinX64W8.cat</code> to the <code>[Version]</code> 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 |
Revision as of 13:10, 10 June 2014
- Download and install the Windows 8.1 SDK http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
- Download and install the Windows Driver kit 8.0 http://go.microsoft.com/fwlink/p/?LinkID=324284
- Download and install the Windows Driver kit 8.1 http://www.microsoft.com/en-us/download/details.aspx?id=42273
The 2 wdk's may not be required at all.
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 CertMgr Succeeded
Locations of EpilogWinX64.dll nad EpilogWinX64UI.DLL
- C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f
- C:\Windows\System32\spool\drivers\x64\3
Only the first command is working.
"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 C:\Windows\System32\spool\drivers\x64\3\EpilogWinX64.DLL "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 C:\Windows\System32\spool\drivers\x64\3\EpilogWinX64UI.DLL "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 C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f\EpilogWinX64.dll "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 C:\Windows\System32\DriverStore\FileRepository\epilogwinx64.inf_amd64_3e79bed7bd5f652f\EpilogWinX64.dll
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