Difference between revisions of "GanttProject"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Fixed the shortcuts)
Line 2: Line 2:
  
 
This is silent installer and deinstaller for GanttProject
 
This is silent installer and deinstaller for GanttProject
 +
 +
GanttProject's installer places the icons in "%UserProfile%".  This corrects that.
  
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
 
<packages>
  <package
+
<package
    id="ganttproject"
+
id="ganttproject"
    name="ganttproject"
+
name="GanttProject"
    revision="20601"
+
revision="200805221"
    priority="0">
+
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 cmd='"%SOFTWARE%\ganttproject\ganttproject-2.0.6.exe" /S'/>
+
<check type="uninstall" condition="exists" path="GanttProject" />
  
    <remove cmd='"%PROGRAMFILES%\GanttProject\uninstall.exe" /S' />
+
<!-- This software requires a JRE in order to run. Please, see http://wpkg.org/Java on how to install one -->
 +
<depends package-id="java6" />
  
    <upgrade cmd='"%SOFTWARE%\ganttproject\ganttproject-2.0.6.exe" /S'/>
+
<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"' />
  
  </package>
+
<upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.6.exe /S' />
</packages
+
<upgrade cmd='cmd /c rmdir /q /n "%UserProfile%\Start Menu\Programs\GanttProject"' />
</source>
+
<upgrade cmd='cmd /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />
  
 +
<remove cmd='"%ProgramFiles%\GanttProject\uninstall.exe" /S' />
 +
</package>
 +
</packages>
 +
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 01:45, 5 June 2008

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.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' />
	<upgrade cmd='cmd /c rmdir /q /n "%UserProfile%\Start Menu\Programs\GanttProject"' />
	<upgrade cmd='cmd /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />

	<remove cmd='"%ProgramFiles%\GanttProject\uninstall.exe" /S' />
</package>
</packages>