Difference between revisions of "Unison"
From WPKG | Open Source Software Deployment and Distribution
(Created page with "[http://www.cis.upenn.edu/~bcpierce/unison/ Unison] is a file/directory synchronisation tool. There are various windows ports, including some which are available [http://alan.pet...") |
(No difference)
|
Revision as of 18:30, 12 May 2011
Unison is a file/directory synchronisation tool. There are various windows ports, including some which are available here. There is not an active installer, so you will need just copy the relevant files into a suitable directory and create a shortcut in the start menu.
<package id="unison" name="Unison" revision="20110416.10" priority="10" reboot="false" >
<depends package-id="putty" />
<depends package-id="pkgvcruntime2008" />
<depends package-id="gkt-runtime" />
<check type="logical" condition="and">
<check type="file" condition="exists" path='%PROGRAMFILES%\unison\Unison-2.32.52 Gtk+.exe' />
<check type="file" condition="exists" path='%PROGRAMFILES%\unison\Unison-2.32.52 Text.exe' />
<check type="file" condition="exists" path='%PROGRAMFILES%\unison\ssh.exe' />
</check>
<install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\unison"' >
<exit code="0" />
<exit code="1" />
</install>
<install cmd='%COMSPEC% /C xcopy /Y /R "%SOFTWARE%\Utilities\unison\*" "%programfiles%\unison\"' />
<install cmd='"%SOFTWARE%\wpkg\tools\3rd-party\nircmd-x32\nircmdc.exe" shortcut "~$folder.programfiles$\unison\Unison-2.32.52 Gtk+.exe" "~$folder.common_start_menu$\Programs" "Unison"'>
<exit code="4206857" />
</install>
<upgrade cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\unison"' >
<exit code="0" />
<exit code="1" />
</upgrade>
<upgrade cmd='%COMSPEC% /C xcopy /Y /R "%SOFTWARE%\Utilities\unison\*" "%programfiles%\unison\"' />
<upgrade cmd='"%SOFTWARE%\wpkg\tools\3rd-party\nircmd-x32\nircmdc.exe" shortcut "~$folder.programfiles$\unison\Unison-2.32.52 Gtk+.exe" "~$folder.common_start_menu$\Programs" "Unison"'>
<exit code="4206857" />
</upgrade>
<remove cmd='%COMSPEC% /C rmdir /S /Q "%PROGRAMFILES%\unison"' />
</package>