Cygwin

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/cyg-apt.py update"' />
 <install cmd='c:\cygwin\bin\bash -c "PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/cyg-apt.py 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" />
</package>