ShrewSoftVPNClient
This is a silent installer for the Shrew Soft VPN Client.
ShrewSoft: A lightweight IPsec VPN Client. The standard edition is free for private and commercial use. The professional version has more features and needs a licence.
Version 2.2.2
The download package is 32/64 bit and automatically installs the right version. Installer command line options are documented in the on-line help function (the /STANDARD switch installs the standard version). Although the /S switch enables silent setup a popup window indicates the installation of the IPsec drivers. Interaction is not possible and the windows disappears quickly.
Once installed, neither registry entries nor files indicate the version of the software. Therefore the install command adds the version to the registry key just the way it should be. This enables WPKG to keep track of the installed version.
Note that the network connection gets disrupted during installation of the IPsec drivers
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="shrewvpn"
name="Shrew Soft VPN Client"
revision="%PKG_VERSION%"
reboot="false"
priority="1">
<variable name="PKG_VERSION" value="2.2.2" />
<check type="uninstall" condition="versiongreaterorequal" path="Shrew Soft VPN Client" value="%PKG_VERSION%" />
<install cmd='taskkill /f /im iked.exe /im ipseca.exe /im ipsecc.exe /im ipsecd.exe /im ipsect.exe'>
<exit code="any" />
</install>
<install cmd='%SOFTWARE%\shrewvpn\vpn-client-%PKG_VERSION%-release.exe /S /STANDARD' />
<install cmd='%COMSPEC% /c REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Shrew Soft VPN Client" /v "DisplayVersion" /d "%PKG_VERSION%" /f' />
<upgrade include="install" />
<remove cmd='taskkill /f /im iked.exe /im ipseca.exe /im ipsecc.exe /im ipsecd.exe /im ipsect.exe'>
<exit code="any" />
</remove>
<remove cmd='"C:\%PROGRAMFILES%\ShrewSoft\VPN Client\uninstall.exe" /S' />
</package>
</packages>