From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer and deinstaller for Cygwin (unix-like environment). More infos from here

<package id="cygwin" name="Cygwin (unix-like environment)" revision="1" priority="0" reboot="false">
 <check type="file" condition="exists" path="c:\cygwin\cygwin.bat" />
 <install cmd='cmd /c xcopy /y /S %SOFTWARE%\cygwin\Cygwin-Root c:\cygwin\ ' />
 <install cmd='%SOFTWARE%\cygwin\setup.exe -q -R c:\cygwin' />
 <install cmd='c:\cygwin\bin\bash -c "PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/ update"' />
 <install cmd='c:\cygwin\bin\bash -c "PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/ upgrade"' />
 <remove cmd="c:\cygwin\bin\cygrunsrv -R sshd" />
 <remove cmd="c:\cygwin\bin\cygrunsrv -R cron" />
 <remove cmd="cmd /c rmdir /s /q c:\cygwin" />