Difference between revisions of "GanttProject"
From WPKG | Open Source Software Deployment and Distribution
(Fix permissions on start menu shortcuts.) |
m (Latest version 2.0.10) |
||
Line 13: | Line 13: | ||
id="ganttproject" | id="ganttproject" | ||
name="GanttProject" | name="GanttProject" | ||
− | revision=" | + | revision="1" |
priority="0"> | priority="0"> | ||
Line 21: | Line 21: | ||
<depends package-id="java6" /> | <depends package-id="java6" /> | ||
− | <install cmd='%SOFTWARE%\ganttproject\ganttproject-2.0. | + | <install cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.10.exe /S' /> |
<install cmd='%COMSPEC% /c move /y "%UserProfile%\Start Menu\Programs\GanttProject" "%AllUsersProfile%\Start Menu\Programs"' /> | <install cmd='%COMSPEC% /c move /y "%UserProfile%\Start Menu\Programs\GanttProject" "%AllUsersProfile%\Start Menu\Programs"' /> | ||
<!-- Permissions on the GanttProject start menu folder will now be such that only administrators can access the shortcuts. | <!-- Permissions on the GanttProject start menu folder will now be such that only administrators can access the shortcuts. | ||
Line 28: | Line 28: | ||
<install cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' /> | <install cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' /> | ||
− | <upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0. | + | <upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.10.exe /S' /> |
<upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\GanttProject"' /> | <upgrade cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\GanttProject"' /> | ||
<upgrade cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' /> | <upgrade cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' /> |
Revision as of 04:37, 26 November 2010
GanttProject GanttProject is an open source cross-platform desktop tool for project scheduling and management. It runs on Windows, Linux and MacOSX and is an alternative to MS Project.
This is silent installer and deinstaller for GanttProject
Version 2.x
GanttProject's installer places the icons in "%UserProfile%". This corrects that.
WPKG Package
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="ganttproject"
name="GanttProject"
revision="1"
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.10.exe /S' />
<install cmd='%COMSPEC% /c move /y "%UserProfile%\Start Menu\Programs\GanttProject" "%AllUsersProfile%\Start Menu\Programs"' />
<!-- Permissions on the GanttProject start menu folder will now be such that only administrators can access the shortcuts.
Here we use xcacls.vbs (http://support.microsoft.com/kb/825751) to adjust permissions. -->
<install cmd='cscript.exe %WPKGROOT%\tools\xcacls.vbs "%ALLUSERSPROFILE%\Start Menu\Programs\GanttProject" /q /f /e /g "YOURDOMAINNAME\DOMAIN USERS":X' />
<install cmd='%COMSPEC% /c del /q /s "%UserProfile%\Desktop\GanttProject.lnk"' />
<upgrade cmd='%SOFTWARE%\ganttproject\ganttproject-2.0.10.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>
Optional Extras
If you want you can also add the following lines to associate Microsoft Project files with GanttProject.
<install cmd='%COMSPEC% /c assoc .mpp=GanttProject.MPP' />
<install cmd='%COMSPEC% /c ftype GanttProject.MPP="%ProgramFiles%\GanttProject\ganttproject.exe" "%1"' />