This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe: feature request with patch


> > > > On Mon, 6 Mar 2006, Dr. F. Lee wrote:
> > > >> I deploy cygwin using unattended (http://unattended.sf.net/) and
> > > >> wpkg (http://www.wpkg.org/). It's useful for me to be able to
> > > >> specify additional packages to be installed on the command line.
> > > >> The attached file is a patch to provide this: call "setup -p
> > > >> package1,package2,package3,...,packageN" to have packages1-N
> > > >> artificially included in the 'Base' part of the distribution and
> > > >> hence automatically included.

I tried this out and it works great; I even have custom setup.inis around but
much prefer this command-line option. It's a simple solution that doesn't
require any knowledge of how setup works (hint files, custom mirrors, etc.).
If anyone else wants to try it, I put the binary up at
http://staff.washington.edu/joshuadf/cygwin/cygwin-setup-p.exe
Use it like this:
cygwin-setup-p.exe -R c:\cygwin -p
curl,lynx,openssh,pinfo,rxvt,vim,wget -s MIRROR -n -q
Where MIRROR is one listed at http://cygwin.com/mirrors.html
(e.g. ftp://cygwin.osuosl.org/pub/cygwin ).

I'll write up a FAQ to post as soon as an official setup.exe with this patch
is around.


On 3/10/06, Igor Peshansky wrote:
> On Thu, 9 Mar 2006, Joshua Daniel Franklin wrote:
> > It also would work for people without access to a web server, and
>
> FWIW, another way of doing this is creating a full setup.ini entry for
> that empty package, and then appending it to setup.ini whenever a new one
> is downloaded.  This would also work without a web server.

PTC. :)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]