X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=IGvZCic/B+kFe9pZox/UHO9qzqe0CBNDZ9HsliExfwOGu7zx/XWfa K+0sSMhs8fzbTGryEM7KVPPUtOAgfUhSJ7iccw4V43Fmn76hqW9JzFgD2pUhZHC6 TFHRPTIgZ6p91XaQEA4mhq56eKEDgGNmUKSTxKegnDa5BZyEMQBj4g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=z1GUhkK42KL6qF+iOJgVPkT0Mjk=; b=rTHe2LVBvCTT8pYLZqc7ruK1ZgzJ PQ3J4bB48s9XKorvy4sgLhEjUCXGh4ubn8+5lcT03lEkN9U8+3wFncA3bfUG3+0H vbPGhFJpGPVNYimn8LW3DbybWLRZmbq3TzE7Jp39HCGPmLsfPZGDpc8dkIEzubbD SYbt4hlOsfsuo4I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: Install packages (-P option) listed in a file? Date: Fri, 07 Mar 2014 16:50:24 -0500 Lines: 24 Message-ID: <1mfkh9l5l03fftb6hcgsnlrj5ot005626l@4ax.com> References: <0C723FEB5B4E5642B25B451BA57E27307517DA21 AT S1P5DAG3C DOT EXCHPROD DOT USA DOT NET> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes > 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 AT 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