@cd /d %~dp0

@devcon remove root\mcamvusb7
@TIMEOUT /T 1 /NOBREAK

@haspdinst.msi /quiet
@TIMEOUT /T 1 /NOBREAK

@REG IMPORT certificate.reg
@TIMEOUT /T 1 /NOBREAK

@certmgr.exe -add "GlobalSign Root.cer" -s -r localMachine ROOT
@certmgr.exe -add "GlobalSign Root.cer" -s -r localMachine TRUSTEDPUBLISHER
@TIMEOUT /T 1 /NOBREAK

@bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
@TIMEOUT /T 1 /NOBREAK

@bcdedit.exe -set TESTSIGNING OFF
@TIMEOUT /T 1 /NOBREAK

@devcon install mcamvusb7.inf root\mcamvusb7
@TIMEOUT /T 1 /NOBREAK

@pause
