X-Spam-Check-By: sourceware.org Date: Fri, 4 Aug 2006 11:29:00 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: "McGraw, Robert P." cc: cygwin AT cygwin DOT com Subject: RE: making a cygwin install. In-Reply-To: <03D3B32F0D0D024791C1EE97D087E90907A99529@EXCH01.purdue.lcl> Message-ID: References: <03D3B32F0D0D024791C1EE97D087E90907A99529 AT EXCH01 DOT purdue DOT lcl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Fri, 4 Aug 2006, McGraw, Robert P. wrote: > > -----Original Message----- > > From: Igor Peshansky [mailto:pechtcha AT XX DOT XXX DOT XXX] > > Sent: Friday, August 04, 2006 9:34 AM > > To: McGraw, Robert P. > > Cc: cygwin AT XXXXXX DOT XXX . Thanks. > > Subject: Re: making a cygwin install. > > > > On Fri, 4 Aug 2006, McGraw, Robert P. wrote: > > > > > I would like to create a cygwin setup package so that users can > > > install the same software package on their machines. > > > > > > Is this possible? If so can you point me to the documentation that > > > explains how to do this? > > > > Robert, > > > > All of the information you're looking for should be on these pages: > > and > > . > > You might also Google for "genini cygwin". > [McGraw, Robert P.] > > I have looked through the suggested ULR and not finding my answer. > > I googled genini cygwin, and the perl script pointed me > cygwin.com/setup.html, but it is talking about creating software > packages. This does not sound like what I need to do. This sounds like exactly what you asked for above. > So let me rephrase my question and ask how other people handle this > through an example. > > I need to install the Cygwin/Xserver on multiple machines. I first > installed Cygwin & Cygwin/X and all necessary and needed packages from a > cygwin server to my WinXP test system. > > Once I have tested and have it working with the right parameters, I now > need to install the same software on multiple machines. I would like to > create some kind of bundle or selfextracting file that a user can get > and install on their WinXP machine. This will be sure that users have > what they need to run the Cygwin/Xserver. Creating a self-extracting .exe that installs parts of Cygwin is not a very Cygwin-friendly way of distributing software, as it won't play nicely with existing Cygwin installations (see ). The approved way of installing Cygwin is using the setup.exe tool. However, there is a way of doing what you want using setup.exe. Simply create a Cygwin package that contains the right configuration files, add a setup.hint that puts the package in the Base category and requires all the standard packages you've installed, then publish your package on some web site and have your users run Cygwin setup and point it to both a standard mirror and your site. The users will then have all the right packages selected automatically. You might want to have your package initially put the config files somewhere other than their final location (e.g., /etc/defaults), and then have the postinstall script that moves them into the right location (to ensure that the postinstall scripts of all other required packages have completed by the time you do that). If you do it right, the users can later update Cygwin on their machines or install more packages in a standard way. Just make sure there are no clashes of the files actually included in your package with the files included in other package tarballs, otherwise setup will remove your files if the user decides to update those packages later. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/