delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/10/12:52:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_00,BOTNET
X-Spam-Check-By: sourceware.org
Message-id: <4B97DC43.7090206@cygwin.com>
Date: Wed, 10 Mar 2010 12:52:03 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Installing a "copy" of an installation on a new computer
References: <c5341f401003080045n2fbf9f68g288693774337d553 AT mail DOT gmail DOT com> <c5341f401003092338s721e798blb774b3c9a8c70de8 AT mail DOT gmail DOT com> <4B97B33B DOT 2060209 AT cygwin DOT com> <4B97D343 DOT 8040302 AT towo DOT net>
In-reply-to: <4B97D343.8040302@towo.net>
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

On 3/10/2010 12:13 PM, Thomas Wolff wrote:
> On 10.03.2010 15:56, Larry Hall (Cygwin) wrote:
>> On 3/10/2010 2:38 AM, Olle Olsson wrote:
>>> Hi,
>>>
>>> I found the following
>>> http://www.cygwin.com/ml/cygwin/2006-05/msg00753.html
>>> which might provide one practical solution. Will try this.
>>
>> Thanks for the vote of confidence but since that was a fairly
>> labor intensive way of doing it and came at a time when 'setup.exe'
>> wasn't as equipped as it is today to handle this more directly, I
>> would no longer advocate going that route. Using 'setup.exe' at
>> the command line and specifying the packages you want is a better
>> way to go.
> As I understand the sparse description setup --help gives for -P, you
> would have to list all packages separately.
> I don't feel that's easier than to use a slightly modified copy of
> installed.db.
> An option to use a package list from a file (ignoring version
> information) would be helpful,
> and a hint how to get that information from an existing installation.

<http://www.cygwin.com/ml/cygwin/2009-08/msg00247.html>.
<http://www.cygwin.com/ml/cygwin/2009-08/msg00250.html>

I was stating the supported and recommended method of doing what the
OP was asking for.  Using 'installed.db' is certainly another way.
It, however, relies on knowing information about the internal workings
of 'setup.exe' which is neither obvious nor guaranteed to be very
stable.  That was the basis for recommending against using the
'installed.db' technique.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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