| | 126 | == Installing a certificate into the Trusted Publisher repository == |
| | 127 | If you want your signed drivers to be installed without security prompts, but can't go through WHQL, you will need to install your signed driver certificate in the Trusted Publisher repository. The following code does just that, through the use of the Crypt32.dll, which is available on Windows 2000 and later.[[BR]] |
| | 128 | The code will also detect whether the certificate is about to be effectively written to the store, so as to let end-users with the possibility to refuse the certificate installation if they so choose.[[BR]] |
| | 129 | The code must be executed from a process running in elevated mode. |
| | 130 | |
| | 131 | ||=File(s): =||[http://git.libusb.org/?p=libwdi.git;a=blob;f=libwdi/libwdi.c /libwdi/libwdi.c] -> wdi_install_trusted_certificate() || |