74
edits
Changes
OpenVPN
,→Alternative installation by Vince: Add some variables, update version, and some little changes
<source lang="xml">
<variable name="PKG_VERSION" value="2.4.9" />
<variable name="PKG_FULL_VERSION" value="%PKG_VERSION%-I601" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\OpenVPN"/>
<variable name="PKG_NAME" value="openvpn-install-%PKG_FULL_VERSION%.exe" />
<variable name="PKG_INSTALL_SWITCH" value="/S" />
<variable name="PKG_REMOVE_SWITCH" value="/S" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES%\OpenVPN" />
<upgrade include="remove" /> <upgrade include="install" /> <remove cmd='%COMSPEC% /c del /q "%PROGRAMFILES%\OpenVPN\config\*.*"' /> <remove cmd='certutil -delstore "TrustedPublisher" "OpenVPN Technologies, Inc."' /> <remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%' /> <remove cmd='ping 127.0.0.1 -n 3>NUL' /package>
</package>
</source>