X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "Michael Kairys" <kairys@comcast.net>
Subject:  Re: A small suggestion to setup.exe of cygwin
Date:  Fri, 4 Apr 2008 08:20:37 -0400
Lines: 61
Message-ID: <ft56du$8g3$1@ger.gmane.org>
References:  <BAY117-W32B0E5FDEF0427A8EACB62A2F70@phx.gbl> <47F54AC1.6050103@cygwin.com>
Mime-Version:  1.0
Content-Type:  text/plain; 	format=flowed; 	charset="utf-8"; 	reply-type=response
Content-Transfer-Encoding:  8bit
In-Reply-To: <47F54AC1.6050103@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


"Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com> wrote in message 
news:47F54AC1.6050103@cygwin.com...
>想 李 wrote:
>> Michael wrote:
>>> I've wondered about this too... So if I have changed my Cygwin setup on 
>>> one machine and
>>> I want to duplicate those changes on another machine, all I have to do 
>>> is copy installed.db
>>> to the other machine and run setup.exe there?
> > Thanks Larry, good to know "cygcheck" command and install.db.
> > Sorry that I should have take a look at FAQ more carefully since
> > all of above have been talked there.
> >
> > But what I suggested on the other hand is the same as Michael's idea.
> > I would like to see if cygwin's setup.exe could somehow "import" an
> > install.db file and perform setup automatically to copy a cygwin
> > environment with all of your preferred packages.
> >
> > This will make life easier without manually choose those packages
> > one by one from such a long list. You know, I always want to save my
> > hard disk but always forget something and have to run setup.exe
> > again and again. This will also give great ease when you transfer your
> > work from different computers, or when telling your colleague to
> > create the same cygwin env as yours.
> >
> > Or, maybe this function also has been implemented by some cygwin
> > commands else? Please let me know if it exists. Thanks.
>
> Putting "/etc/setup/installed.db" in place before running 'setup.exe'
> should make it think all those packages are installed.  Switching to
> "Reinstall" for "All" should make it reinstall the packages at the
> version specified, if those exists.

That makes sense, thanks.

> This does presuppose that you
> have a local package directory with all the packages/versions you
> want and that you've told 'setup.exe' to install from that local
> package directory.

Why is that? If I'm set up to install from the Internet wouldn't reinstall 
all go there? I've never kept a local package directory...

> FYI, I haven't tested this process myself.  Bumps and bruises may
> occur. ;-)
>
> -- 
> 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?
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

