Difference between revisions of "GanttProject"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Fixed the shortcuts)
m (minor fixes... (move instead of mkdir, rmdir etc...))
Line 19: Line 19:
 
<depends package-id="java6" />
 
<depends package-id="java6" />
  
<install cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.6.exe /S' />
+
<install cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.9.exe /S' />
<install cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\GanttProject"' />
+
<install cmd='%COMSPEC% /c move /y "%UserProfile%\Start Menu\Programs\GanttProject" "%AllUsersProfile%\Start Menu\Programs"' />
<install cmd='cmd /c copy "%UserProfile%\Start Menu\Programs\GanttProject\GanttProject.lnk" "%AllUsersProfile%\Start Menu\Programs\GanttProject"' />
+
<install cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />
<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' />
+
<upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.9.exe /S' />
<upgrade cmd='cmd /c rmdir /q /n "%UserProfile%\Start Menu\Programs\GanttProject"' />
+
<upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\GanttProject"' />
<upgrade cmd='cmd /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />
+
<upgrade cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />
  
 
<remove cmd='"%ProgramFiles%\GanttProject\uninstall.exe" /S' />
 
<remove cmd='"%ProgramFiles%\GanttProject\uninstall.exe" /S' />
 +
<remove cmd='%COMSPEC% /c rmdir /s /q "%AllUsersProfile%\Start Menu\Programs\GanttProject"' />
 
</package>
 
</package>
 
</packages>
 
</packages>

Revision as of 18:48, 7 February 2009

GanttProject is an open source alternative to MS Project.

This is silent installer and deinstaller for GanttProject

GanttProject's installer places the icons in "%UserProfile%". This corrects that.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
	id="ganttproject"
	name="GanttProject"
	revision="200805221"
	priority="0">

	<check type="uninstall" condition="exists" path="GanttProject" />

	<!-- This software requires a JRE in order to run. Please, see http://wpkg.org/Java on how to install one -->
	<depends package-id="java6" />

	<install cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.9.exe /S' />
	<install cmd='%COMSPEC% /c move /y "%UserProfile%\Start Menu\Programs\GanttProject" "%AllUsersProfile%\Start Menu\Programs"' />
	<install cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />

	<upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.9.exe /S' />
	<upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\GanttProject"' />
	<upgrade cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />

	<remove cmd='"%ProgramFiles%\GanttProject\uninstall.exe" /S' />
	<remove cmd='%COMSPEC% /c rmdir /s /q "%AllUsersProfile%\Start Menu\Programs\GanttProject"' />
</package>
</packages>