Skip to content

Commit

Permalink
Auto-install driver certificate.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Orderud committed Feb 21, 2024
1 parent 58731a2 commit 31deac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MouseMirror/INSTALL_MouseMirror.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
cd /d "%~dp0"

:: Install certificate for silent driver installation and loading (run from administrative command prompt)
:: certmgr.exe /add MouseMirror.cer /s /r localMachine root
:: certmgr.exe /add MouseMirror.cer /s /r localMachine trustedpublisher
certmgr.exe /add MouseMirror.cer /s /r localMachine root
certmgr.exe /add MouseMirror.cer /s /r localMachine trustedpublisher

:: Use PnpUtil for installation
PNPUTIL /add-driver MouseMirror.inf /install /reboot
Expand Down
4 changes: 2 additions & 2 deletions TailLight/INSTALL_TailLight.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
cd /d "%~dp0"

:: Install certificate for silent driver installation and loading (run from administrative command prompt)
:: certmgr.exe /add TailLight.cer /s /r localMachine root
:: certmgr.exe /add TailLight.cer /s /r localMachine trustedpublisher
certmgr.exe /add TailLight.cer /s /r localMachine root
certmgr.exe /add TailLight.cer /s /r localMachine trustedpublisher

:: Use PnpUtil for installation
PNPUTIL /add-driver TailLight.inf /install /reboot
Expand Down

0 comments on commit 31deac7

Please sign in to comment.