How to Install Driver with a cat file?

前端 未结 2 2052
暖寄归人
暖寄归人 2021-02-01 17:21

I have kernel driver. When installing on 32 bit systems and Windows XP and below, I had no problem and used SetupCopyOEMInf, but 64 bit drivers are required to be signed. I have

相关标签:
2条回答
  • 2021-02-01 17:37

    You need to get an Authenticode signature, create a catalog file, and sign it with that. Microsoft decided that, for 64-bit systems, it will require the driver to come untampered from the vendor, by checking it signature.

    (Note: This is not the same as WHQL, which tests the quality of the driver. Authenticode merely indicates that the driver hasn't been tampered with by some malicious user or virus; it doesn't say anything about what the driver does, so it's a relatively easy -- although pricey -- signature to obtain.)

    Another solution is test-signing, if you don't plan on redistributing your program. https://technet.microsoft.com/library/dd919230.aspx

    0 讨论(0)
  • 2021-02-01 17:45

    In Windows Vista and Windows 7 there a new utility for handling drivers setup call PnPUtil. It handles exactly this kind of work. Just copy all your driver relevant files(*.inf, *.cat, *.sys) to a directory on the target computer and use PnPUtil -i -a <InfName>.inf

    Note: You will need to be in an administrator context to successfully use this tool.

    0 讨论(0)
提交回复
热议问题