0
edits
Changes
Unison
,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..."
[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.petitepomme.net/unison/index.html 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.
<source lang="xml">
<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>
</source>
[[Category: Silent Installers]]
<source lang="xml">
<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>
</source>
[[Category: Silent Installers]]