X-Spam-Check-By: sourceware.org Message-ID: <45172105.2090505@cygwin.com> Date: Sun, 24 Sep 2006 20:21:25 -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.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Speeding up Cygwin deployment References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Vinod K Gupta wrote: > I need to deploy cygwin and some addon software on about 100 Windows XP Pro machines in my department. It is taking about an hour to setup one machine. I thought of speeding up deployment by setting up one reference machine with all the packages customized to our needs, make a zip archive of C:\cygwin along with a couple of registry entries in cygwin.reg script and take it on a USB key to the target machine. It seems to be working except that I have not gained the anticipated speed, and thus this posting. > > It took me only a minute to create a 180 MB archive from a 450 MB source using Windows builtin zipper (WinExplorer's Send to...zip) but unzipping on target is painfully slow (about 45 minutes). Yes, my anti-virus is temporarily turned off. I see that it is spending 90% of the time in those folders which have symlinks. In addition, there are some other interesting observations. To make the point clear I take example of two files: > > C:\cygwin\usr\share\man\man1\allec.1 > C:\cygwin\usr\X11R6\lib\X11\doc\html\atobm.1.html > > Cygwin's ls lists both files as symlinks > WinExplorer lists allec.1 as shortcut and atobm.1.html as a normal file > DOS' dir does not list atobm.1.html at all. > > I tried using stand-alone zip/unzip utilities from popular http://www.info-zip.org > "zip.exe -rq0! cygwin.zip cygwin" is blazingly fast to create archive (1 minute, great it allows no-compression option) > > Unzipping by info-zip's unzip.exe was very fast (5 mins), preserved allec.1 as symlink but atobm.1.html was missing. > > Unzipping by WinExplorer was slightly faster (still 30 mins!), preserved allec.1 as symlink but atobm.1.html was missing. > > So, the only thing that works is to use WinExplorer to zip and unzip but it does not serve the primary goal - deploy cygwin on 100 machines within 5-10 minutes per machine. > > Any ideas? Yes. You're better off setting up a package server. See: From this you can control the packages installed but can use 'setup.exe' to install, which understands how to unpack packages, symlinks, and run postinstall scripts. Also, you'll have a server from which to roll out any updates conveniently. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/