14
edits
Changes
OpenVPN
,sc config needs a space after = ; usage of the variable version
id="openvpn"
name="OpenVPN"
revision="211%version%"
reboot="false"
priority="0">
<variable name="version" value="2.3.2" /> <check type='uninstall' condition='exists' path='OpenVPN 2.1.1%version%' />
<install cmd='"%SOFTWARE%\openvpn\DriverSigning.exe" -OFF' />
<install cmd='"%SOFTWARE%\openvpn\openvpn-2.1.1-install.exeopenvpn_%version%" /S' />
<install cmd='"%SOFTWARE%\openvpn\DriverSigning.exe" -ON' />
<install cmd='%COMSPEC% /c copy "%SOFTWARE%\openvpn\config\*.*" "%PROGRAMFILES%\OpenVPN\config\"' />
<install cmd='sc config openvpnservice start=auto' />
<!--<install cmd='sc start openvpnservice' />-->