This is silent installer and deinstaller for GanttProject
GanttProject's installer places the icons in "%UserProfile%". This corrects that.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="ganttproject" name="ganttprojectGanttProject" revision="20601200805221" priority="0"> <!-- This software requires a JRE in order to run. Please, see http://wpkg.org/Java on how to install one --> <depends package-id="java6"/> <check type="uninstall" condition="exists" path="GanttProject" />
<install cmdcheck type='"%SOFTWARE%\ganttproject\ganttproject-2.0.6.exeuninstall" condition="exists" path="GanttProject" /S'/>
<remove cmd!-- This software requires a JRE in order to run. Please, see http://wpkg.org/Java on how to install one --> <depends package-id='"%PROGRAMFILES%\GanttProject\uninstall.exejava6" /S' />
<upgrade install cmd='"%SOFTWARE%\ganttproject\ganttproject-2.0.6.exe" /S' /> <install cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\GanttProject"' /> <install cmd='cmd /c copy "%UserProfile%\Start Menu\Programs\GanttProject\GanttProject.lnk" "%AllUsersProfile%\Start Menu\Programs\GanttProject"' /> <install cmd='cmd /c copy "%UserProfile%\Start Menu\Programs\GanttProject\HouseBuildingSample.lnk" "%AllUsersProfile%\Start Menu\Programs\GanttProject"' /> <install cmd='cmd /c rmdir /q /n "%UserProfile%\Start Menu\Programs\GanttProject"' /> <install cmd='cmd /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"'/>
<upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.6.exe /S' /package> <upgrade cmd='cmd /packagesc rmdir /q /n "%UserProfile%\Start Menu\Programs\GanttProject"' /> <upgrade cmd='cmd /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' /source>
<remove cmd='"%ProgramFiles%\GanttProject\uninstall.exe" /S' />
</package>
</packages>
</source>
[[category:Silent Installers]]