Changes

Dia

1,050 bytes added, 13:56, 12 April 2013
Added 0.97.2-2 with rmdir
The Dia site is at [http://live.gnome.org/Dia http://live.gnome.org/Dia]. Dia for Windows is available from [http://dia-installer.de/ http://dia-installer.de/].
 
==DIA 0.97.2-2==
 
This package definition is based on the old version, but added the rmdir at the end and made it a little bit more parametrizable.
 
<source lang="xml">
<package
id="dia"
name="Dia Diagram Editor"
revision="%version%.0"
reboot="false"
priority="1">
 
<variable name="version" value="0.97.2" />
<variable name="PKG_INSTALL" value="%SOFTWARE%\dia\dia-setup-%version%-2-unsigned.exe" />
<variable name="PKG_INSTDIR" value="%PROGRAMFILES%\dia" />
<variable name="PKG_INSTDIR" value="%PROGRAMFILES(x86)%\dia" architecture="x64" />
<variable name="PKG_UNINSTALL" value="%PKG_INSTDIR%\dia-%version%-uninstall.exe" />
 
<check type="file" condition="exists" path="%PKG_UNINSTALL%" />
 
<install cmd='"%PKG_INSTALL%" /S /D="%PKG_INSTDIR%"' />
 
<upgrade include='install' />
 
<downgrade include='upgrade' />
 
<remove cmd='%PKG_UNINSTALL% /S' />
<remove cmd='%COMSPEC% /C rmdir /S /Q "%PKG_INSTDIR%"' />
 
</package>
</source>
 
==DIA 0.97.1-2==
10
edits