delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/01/09:57:28

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=lfty09KgcaZcjG13
5At651XbUUcZte9E7gFBe69q2+s+41SrBZcs3ejaH/8/XVn+nntRNubkmZncu2gW
8DnIhQjTge2XqtaAl0zYi4siM3aZCFxboErI32E/oMVKaw4UTsZbpraJGdKRbufG
Td3WjdDywJPsumR4XIjIUxpn5fQ=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=mervXOJSpx9aceeXMd2TH0
VnV8g=; b=MjqLUUoNJ70rGKgRMsDeCtDxfA920pnr/EmvyMBfB/vCVmgrWDsGy4
qxsaRHw82XVDPHR+6+8FG8SZpOiH0Vc7ItvuxXIpySOjCERqxzKvgwThW3jfp0kE
p0xXnTSzj6D8Fy/esbyzOckRtf9nPnZkF20a2S+x6ZOzD8c8Or7KI=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f173.google.com
X-Received: by 10.180.108.175 with SMTP id hl15mr3693820wib.1.1441115827606; Tue, 01 Sep 2015 06:57:07 -0700 (PDT)
Subject: Re: Running Cygwin's "setup.exe" on a new computer
To: cygwin AT cygwin DOT com, Rainer DOT Woitok AT Gmail DOT Com
References: <21989 DOT 40723 DOT 827300 DOT 907850 AT woitok DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT Gmail DOT Com>
Message-ID: <55E5AEAF.1080103@gmail.com>
Date: Tue, 1 Sep 2015 15:57:03 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <21989.40723.827300.907850@woitok.gmail.com>
X-IsSubscribed: yes

On 01/09/2015 14:50, Dr Rainer Woitok wrote:
> Greetings,
>
> having installed Cygwin on my old computer  it's now time to move to new
> hardware.   Are there any  Cygwin configuration  or status files I could
> copy from the old box  to the new one  which would cause  "setup.exe" on
> the new machine to automatically install the same packages as on the old
> computer (except for version changes or new dependencies)?
>
> One minor additional problem perhaps:  the old box is 32 bit,  while the
> new one is 64 bit.
>
> Any help welcome.
>
> Sincerely,
>    Rainer
>
> PS:  Please also reply  by personal mail  as I am not  subscribed to the
> Cygwin mailing list.
>

something like this should work

$ cygcheck -cd |  awk 'BEGIN{printf("setup-x86_64.exe ")} {if (NR>2) { 
printf ("-P " $1 " ") }} END { printf ("\r\n pause ")}' > 
cyg-install-x86_64.bat

$ chmod +x cyg-install-x86_64.bat

Of course copy the "cyg-install-x86_64.bat" where the
"setup-x86_64.exe" is on the new computer.

Regards
Marco


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