This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Install packages (-P option) listed in a file?
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Fri, 07 Mar 2014 16:50:24 -0500
- Subject: Re: Install packages (-P option) listed in a file?
- Authentication-results: sourceware.org; auth=none
- References: <0C723FEB5B4E5642B25B451BA57E27307517DA21 at S1P5DAG3C dot EXCHPROD dot USA dot NET>
> 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