X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47F54AC1.6050103@cygwin.com> Date: Thu, 03 Apr 2008 17:23:13 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Lightning/0.8 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: A small suggestion to setup.exe of cygwin References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 想 李 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. 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. 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/