Import the OpenVPN Cert as trusted cert this will silence the driver install
This commit is contained in:
parent
e5d26ebd93
commit
b7c32e22f9
BIN
CLIENT_DATA/OpenVPN Certificate.cer
Normal file
BIN
CLIENT_DATA/OpenVPN Certificate.cer
Normal file
Binary file not shown.
@ -67,6 +67,10 @@ else
|
||||
Sub "%ScriptPath%\delsub3264.ins"
|
||||
endif
|
||||
|
||||
comment "installing OpenVPN Cert"
|
||||
Winbatch_install_cert
|
||||
Sub_check_exitcode
|
||||
|
||||
comment "installing"
|
||||
|
||||
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
|
||||
@ -99,6 +103,9 @@ else
|
||||
|
||||
endif
|
||||
|
||||
[Winbatch_install_cert]
|
||||
certutil -addstore "TrustedPublisher" "%ScriptPath%\OpenVPN Certificate.cer"
|
||||
|
||||
[Winbatch_install_32]
|
||||
"$Install32Exe$" /S
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user