www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/23/10:27:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 23 Jun 2004 10:27:23 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin installer
Message-ID: <20040623142723.GA7289@coe.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <004b01c458e8$495d3a40$0600a8c0 AT hera> <OF86F00D2D DOT D6B9BBD6-ONC1256EBC DOT 0024D48B-C1256EBC DOT 00258DA8 AT dk DOT ibm DOT com>
Mime-Version: 1.0
In-Reply-To: <OF86F00D2D.D6B9BBD6-ONC1256EBC.0024D48B-C1256EBC.00258DA8@dk.ibm.com>
User-Agent: Mutt/1.4.1i

On Wed, Jun 23, 2004 at 08:50:11AM +0200, Franz Wolfhagen wrote:
>Let us move this discussion to the list - I answered directly by a
>mistake...
>
>I understand your concerns very well - in that case I would copy the
>necessary packages to a local download site - create a setup file that
>includes your specific packages only and defaults to install everything
>you have on your site.
>
>This way you will be able to maintain your own site in a controlled
>manner, but still give everybody the possibility to run with cygwin the
>way they prefer....
>
>I also believe that this is MUCH,MUCH easier than developing you own
>installer btw...

Everyone seems to treat setup.exe as if it was a mysterious entity doing
obscure things.  It isn't.

The download part aside, all it does is unpack and install files (tar),
manipulate the mount table (mount), and run post-install scripts (bash).
If you want to just clone the same setup everywhere, all you should need
is tar, cygwin and mount.

0) (Assuming that an 'n:' drive is available on the server)

1) create tar.bz2 file of reference installation.  Put it on a server.

   c:\>tar cjf /cygdrive/n/stuff.tar.bz2 cygwin/bin cygwin/etc cygwin/lib whatever

2) create a "stage" directory on server and copy tar.exe, cygwin1.dll,
   and bzip2 to it.

    c:\>mkdir n:\stage
    c:\>copy bin\tar.exe bin\cygwin1.dll bin\bzip2.exe n:\stage

3) mount -m > n:\stage\mount.bat

4) To clone on another computer:

   c:\>set PATH=n:\stage;%PATH%
   c:\>tar xjf n:\stuff.tar.bz2
   c:\>n:\stage\mount.bat

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019