delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/10/17:59:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sat, 10 Oct 2009 16:59:21 -0500
Message-ID: <4a89b8680910101459x478c0a60odfa3885ca3876378@mail.gmail.com>
Subject: 1.7 unattended install
From: paul DOT hermeneutic AT gmail DOT com
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I am attempting to use the unattended installation capabilities in
1.7.  I have an installed 1.7 to which I would  like to add the curl
package.  The 1.7 documentation still says that setup does not support
unattended installation.  However, there are clearly a number of
switches which can be seen from 'setup-1.7.exe --help' suggesting that
this is happening.

$ uname -a
CYGWIN_NT-6.0-WOW64 pwatson 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin

I am using the following command.  The caret is the CMD line
continuation character.

C:\Master\Cygwin1.7\setup-1.7.exe ^
--site http://mirrors.xmission.com ^
--root C:/cygwin1.7 ^
--local-package-dir C:\Master\Cygwin1.7 ^
--no-shortcuts ^
--no-startmenu ^
--no-desktop ^
--packages curl

It appears that by not using --quite-mode, setup will go through the
interactive process using the other settings specified.  Is that
correct?

When I use the script above, it appears that the --site I specify is
added to the list.  However, using that entry always results in the
failure message:

    Unable to get setup-2.ini from <http://mirrors.xmission.com>

This happens for every --site, not just Xmission.

Where can I find practical information about making this work, perhaps
with example(s).  Any other suggestions?

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019