delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/18/12:34:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Sat, 18 Aug 2012 10:34:05 -0600
From: Tom Schutter <t DOT schutter AT comcast DOT net>
To: cygwin AT cygwin DOT com
Subject: semi-automated installation and/or updates
Message-ID: <20120818163404.GA8853@shadow.schutter.home>
MIME-Version: 1.0
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019