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

"Avogadro is an advanced molecule editor and visualizer designed for cross-platform use in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas." [[1]]

<package id="avogadro" name="Avogadro" revision="%version%.1" priority="0" reboot="false">
<variable name="version" value="1.1.0" />

<check type="uninstall" condition="versiongreaterorequal" path="Avogadro" value="%version%" />
<install cmd='%software%\avogadro\avogadro-%version%-win32.exe /S' />

<remove cmd='cmd /c "%software%\wpkg\tools\waitforprocess.cmd uninstall.exe"' />
<remove cmd='cmd /c "%programfileswpkg%\avogadro\uninstall.exe" /S' />
<remove cmd='cmd /c "%software%\wpkg\tools\waitforprocess.cmd uninstall.exe"' />

<upgrade include="remove" />
<upgrade include="install" />