Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 12 Jun 2002 10:54:15 -0400 From: Jason Tishler Subject: Re: How to simplify cygwin+perl application deployment In-reply-to: <275654F2AE237D438ACC1FE2697CD8C91C8542 AT nj7460exch008u DOT ho DOT lucent DOT com> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20020612145415.GD1472@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <275654F2AE237D438ACC1FE2697CD8C91C8542 AT nj7460exch008u DOT ho DOT lucent DOT com> Yung-Kao, On Tue, Jun 11, 2002 at 08:32:33PM -0400, Hsu, Yung-Kao (Yung) wrote: > My question is whether it is possible to archive one such installation > and unpack it in another machine? Yes. In fact, I have a "minicygwin" which is a self-extracting zip archive that I use to "clone" a minimal Cygwin installation including sshd on tens of (non-development) machines at work. > If so, what are the issues that we need to be aware of? 1. Use an archiver that preserves enough file attributes (i.e., system) so that symlinks are not broken. I use Win32 info-zip to accomplish this step: $ zip-win32 -r -S C:/cygwin.zip C:/Cygwin Note that I renamed "zip" to "zip-win32" above, to be explicit that I'm using the Win32 zip and not the Cygwin one. 2. Use mount to generate a script to clone the mount points from your template installation: $ mount --mount-commands >mount.bat Another approach (and possibly the better one) is to create a Cygwin setup.exe installable set of packages to supplement the standard ones. I use this approach to install about 30 extra Cygwin packages on development machines. See the following for details: http://www.cygwin.com/setup.html You can generate the setup.ini file by hand or use upset to do so automatically. You can find information on how to retrieve upset from CVS here: http://cygwin.com/ml/cygwin-apps/2002-02/msg00028.html > Thank for any input. You are welcome. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/