This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

semi-automated installation and/or updates


I have seen various scripts that do semi-automated installation and/or
updates of Cygwin, but none seemed to have all of the features that I
wanted.  So I wrote yet another batch file which can be found at:

  https://github.com/tschutter/AppData/blob/master/bin/cygwin_setup.bat

Features of this batch file:
* Mostly hands-free, except for stopping of running Cygwin
  processes and configuration of newly installed services.
* Stops and starts Cygwin services.
* Lists running Cygwin processes (setup.exe informs you that
  they are running, but does not list them).
* Fetches latest setup.exe from cygwin.com.
* Installs standard set of packages.
* Updates all installed packages.
* Runs rebaseall.
* Installs standard services (syslogd, sshd).
* Installs cyglsa.

Most likely you will want to edit the configuration section at about
line 48 to change the package list, install dir, and mirror site.

Please feel free to use for whatever nefarious purposes you would like.
Suggestions and improvements are welcome.

As a bonus feature, I also wrote an uninstall script:

  https://github.com/tschutter/AppData/blob/master/bin/cygwin_uninstall.bat

The uninstall script attempts to do all of the steps listed at:

  http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all

-- 
Tom Schutter

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]