X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org X-IronPortListener: Outbound_SMTP From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin AT cygwin DOT com" , "'Pan ruochen'" Date: Wed, 3 Jun 2009 18:49:01 -0400 Subject: RE: Can I install cygwin from my own setup.ini? Message-ID: <0105D5C1E0353146B1B222348B0411A201BCE5EB3A@NIHMLBX02.nih.gov> References: In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Pan ruochen wrote on Wednesday, June 03, 2009 9:08 AM: > I only want to install the following modules: > -------------------------- > bash > base-files > sed > gawk > -------------------------- >=20 > But it's an uneasy work to deselect all the unwanted modules from the > default status on the cygwin setup dialog box. (And the selection > work must be done again every time I invoke setup, if setup failed or > I want to add/remove modules).=20=20=20 > I used an extern tool to calculate all the required modules from the > basic module set by parsing the download setup.ini file and generate > another ini file like:=20=20 Editing setup.ini may be more work (and safer) than just using setup without editing setup.ini. Install the first time by using setup (as documented on cygwin.com) to install what you want. When updating, just keep on clicking on "Next" until you arrive at "OK" (then click on "OK"). When updating, you can see what will be updated: in the package chooser screen, click on the "View" button until you get the "Partial" view. Or you can update with setup's unattended mode. Here is what I use. Documentation is in the archives and on cygwin.com. c:\cygwin\usr\local\bin\setup.exe -R c:\cygwin -n -q -l h:\cygwin\arc Good luck, - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/