From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26383 invoked by alias); 18 Aug 2012 16:34:24 -0000 Received: (qmail 25822 invoked by uid 22791); 18 Aug 2012 16:34:23 -0000 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 Received: from qmta10.emeryville.ca.mail.comcast.net (HELO qmta10.emeryville.ca.mail.comcast.net) (76.96.30.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Aug 2012 16:34:08 +0000 Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta10.emeryville.ca.mail.comcast.net with comcast id oGUm1j0020vp7WLAAGa80H; Sat, 18 Aug 2012 16:34:08 +0000 Received: from deadeye.schutter.home ([24.8.168.103]) by omta05.emeryville.ca.mail.comcast.net with comcast id oGa61j00y2EBDio8RGa7TM; Sat, 18 Aug 2012 16:34:08 +0000 Received: from shadow.schutter.home (shadow.schutter.home [192.168.2.11]) by deadeye.schutter.home (8.14.5/8.14.5) with SMTP id q7IGY5DY027771 for ; Sat, 18 Aug 2012 10:34:05 -0600 (MDT) Received: by shadow.schutter.home (sSMTP sendmail emulation); Sat, 18 Aug 2012 10:34:05 -0600 Date: Sat, 18 Aug 2012 17:05:00 -0000 From: Tom Schutter To: cygwin@cygwin.com Subject: semi-automated installation and/or updates Message-ID: <20120818163404.GA8853@shadow.schutter.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00446.txt.bz2 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