X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Making package installation default Date: Fri, 02 Apr 2010 22:34:22 -0700 Lines: 31 Message-ID: References: <4BB681CA DOT 2090208 AT bopp DOT net> <4BB6C3D4 DOT 8000003 AT cygwin DOT com> <4BB6C883 DOT 4020301 AT cygwin DOT com> <4BB6CFED DOT 4030201 AT bopp DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0pre Shredder/3.0.3pre In-Reply-To: <4BB6CFED.4030201@bopp.net> X-Stationery: 0.5.1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 04/02/2010 10:19 PM, Jeremy Bopp wrote: >> If you don't mind fiddling around with the setup.ini file, then the key >> thing is to edit this file and change the category of the desired packages >> to "Base". >> I did look (quickly) into setup.ini to see if there was an obvious thing to do. It was not apparent to me that that thing was to change category to "Base" > There's no need to edit setup.ini. Just use the -P option and name the > packages you want to install in a comma separated list. The packages > you list, those packages' dependencies, and all of the base packages > will be installed. > > It gets even better once you look through the other command line options > listed with --help because you can automate installation selections to > the point that the users don't have to do anything more than run your > batch file. They won't have to interact with any of setup.exe directly. > The only thing they will see is the window showing the package > installation progress which they can cancel if they choose. > A "silent" install might be cool but I can also see that it would be useful to allow to user to browse though some of the optional packages. For example, while maybe not everybody would want gcc and make, some may. Or perhaps they want Perl or Apache. However I want to make sure that ssh is installed (it'd be nice if I could automate the running ssh-host-config, for example) so that I can ssh into their machine to fix things. -- Andrew DeFaria Why is bra singular and panties plural? -- 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