* Install packages (-P option) listed in a file?
@ 2014-03-07 18:21 Jim Garrison
2014-03-08 10:31 ` Andrew Schulman
0 siblings, 1 reply; 2+ messages in thread
From: Jim Garrison @ 2014-03-07 18:21 UTC (permalink / raw)
To: cygwin
My Google-fu seems to be weak this morning.
Does the -P option to the installer support reading packages to be installed from a file instead of directly from the command line argument? If so, what's the syntax (I tried -P@filename). Remember this has to run in a Windows cmd shell, so solutions like
setup-x86.exe -P$(paste -d, -s filename)
are not allowed :-)
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Install packages (-P option) listed in a file?
2014-03-07 18:21 Install packages (-P option) listed in a file? Jim Garrison
@ 2014-03-08 10:31 ` Andrew Schulman
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Schulman @ 2014-03-08 10:31 UTC (permalink / raw)
To: cygwin
> My Google-fu seems to be weak this morning.
>
> Does the -P option to the installer support reading packages to be installed from a file instead of directly from the command line argument? If so, what's the syntax (I tried -P@filename). Remember this has to run in a Windows cmd shell, so solutions like
>
> setup-x86.exe -P$(paste -d, -s filename)
>
> are not allowed :-)
This may not be exactly what you want, but my standard solution for years
now has been to maintain a cmd script like this:
setup-x86.exe ^
--quiet-mode ^
--packages ^
aria2,^
atool,^
autoconf,^
automake,^
autossh,^
and so on. The caret (^) character at the end of every line is the line
continuation character in cmd scripts. The list of package names is
comma-delimited, which is what the --packages option expects, although
that's not documented.
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-07 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 18:21 Install packages (-P option) listed in a file? Jim Garrison
2014-03-08 10:31 ` Andrew Schulman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).