Important setup.exe bug : -P switch is inefficient ?

Vincent Deffontaines
Fri Jul 22 12:08:00 GMT 2011


I am running Cygwin 1.7.9(0.237/5/3) on top of Windows NT 6.1 (2008 R2).

I have tried "extending" my cygwin package installation from the command
line, in order to install the vim package. As I have a package mirror in
the "%SystemDrive%\cygwin\release" directory, I ran :

"%SystemDrive%\cygwin\setup.exe -q -R %SystemDrive%\cygwin -l
%SystemDrive%\cygwin\release -L -P vim"

I was expecting that this would install the package named "vim" on my
cygwin installation.

What actually happened is that the installer selected *all* available
packages and started installing them. I had to interrupt it, and deselect
those numerous packages by hand. This looks like an important problem to

Currently, I have not found a way to add a package to my Cygwin
installation over the command line. This leaves me somehow stuck, as I
have multiple installations where I need to install vim. Installing them
through the GUI is an option that I would rather avoid, if I can.

Please correct me if I have made mistakes or misunderstood setup.exe options.

Please keep me in Cc: of any answer, as I am no member of the mailing list.

Vincent Deffontaines

Nul chemin n'est sans issue

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list