Doxygen

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Doxygen is a JavaDoc like documentation system for C++, C, Java and many other languages.

You can download the latest version from the homepage or from the Sourceforge project.

!!! 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="Doxygen"
            name="Doxygen"
            revision="%PKG_VERSION%"
            reboot="false"
            priority="10">

        <variable name="PKG_VERSION"        value="1.7.5.1" />
        <variable name="PKG_NAME"           value="doxygen" />
        <variable name="PKG_SOURCE"         value="%SOFTWARE%\Doxygen\doxygen-1.7.5.1-setup.exe"/>
        <variable name="PKG_DESTINATION"    value="%ProgramFiles%\doxygen"      architecture="x86"/>
        <variable name="PKG_DESTINATION"    value="%ProgramFiles(x86)%\doxygen" architecture="x64"/>
        <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="doxygen %PKG_VERSION%"             value="%PKG_VERSION%" />
        <check type="file"      condition="sizeequals"            path="%PKG_DESTINATION%\bin\doxygen.exe" value="6586880" />

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

        <upgrade include="install" />

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