TortoiseCVS

Silent install for TortoiseCVS.

Tortoise CVS is a CVS client for Windows which integrates quite well into the shell. More information on the TortoiseCVS homepage.

The installer includes the packages for 32-bit and 64-bit Windows.

!!! This package requires wpkg.js 1.2.1-RC20 or higher !!!

<?xml version="1.0" encoding="UTF-8"?>

<packages
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >

    <package id="TortoiseCVS"
            name="Tortoise CVS Client"
            revision="%PKG_VERSION%"
            reboot="false"
            priority="10">

        <variable name="PKG_VERSION"        value="1.12.5" />
        <variable name="PKG_NAME"           value="TortoiseCVS" />
        <variable name="PKG_SOURCE"         value="%SOFTWARE%\TortoiseCVS\TortoiseCVS-1.12.5.exe"/>
        <variable name="PKG_DESTINATION"    value="%ProgramFiles%\TortoiseCVS"/>
        <variable name="PKG_INSTALL_SWITCH" value="/SP- /VERYSILENT /SUPPRESSMSGBOXES /LOG /NORESTART"/>
        <variable name="PKG_REMOVE_SWITCH"  value="/VERYSILENT /SUPPRESSMSGBOXES /LOG /NORESTART"/>

        <check type="uninstall" condition="versiongreaterorequal" path="TortoiseCVS %PKG_VERSION%"         value="%PKG_VERSION%" />
        <check type="file"      condition="versiongreaterorequal" path="%PKG_DESTINATION%\TortoiseAct.exe" value="%PKG_VERSION%.6" />

        <install cmd='"%PKG_SOURCE%" %PKG_INSTALL_SWITCH% ' />

        <upgrade include="install" />

        <remove cmd='"%PKG_DESTINATION%\unins000.exe" %PKG_REMOVE_SWITCH% ' />
    </package>
</packages>