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 Message-ID: <416DE78A.30908@research.canon.com.au> Date: Thu, 14 Oct 2004 12:42:18 +1000 From: luke User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Spurious "You have multiple copies of cygwin1.dll on your syste m." References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dave Korn wrote: >>-----Original Message----- >>From: cygwin-owner On Behalf Of luke.kendall >>Sent: 08 October 2004 06:48 > > >>>>I freely confess I'm doing something unusual. Maybe I'm the first >>>>person on the planet to attempt to automate Cygwin >> >>installation via a >> >>>>shell script from an already existing and stable copy of Cygwin >>>>installed elsewhere on the network? >> >>Dave: >> >> >>>It's possible. Is there a reason you aren't using setup.exe? It's >>>automatable and easily customisable and it has the benefit >> >>in this situation >> >>>of being a plain non-cygwin win32 exe. >> >>I should clarify that I *am* using Cygwin's setup.exe - the >>scripts just do all the other automation around that: > > > [...ker-snippo!...] > > >>And possibly other things I've forgotten. > > > Ah, ok... well how about this: instead of a monolithic shell script, you > divide it up into two: one that runs before setup.exe, using the network > dir's installation, and one that runs after, using the newly-installed local > cygwin? > > Write a .bat file that first calls the network bash to run the pre-setup > script, then calls setup.exe, then the local bash for the post-install. > > As long as the pre-install script exits everything properly, the cygwin > dll should be unloaded when bash exits back to the .bat file, then setup can > replace > /install the local cygwin, and finally you'll start up the local bash with > the local cygwin dll and do everything after setup.exe on the local system. Agreed, that's my plan. luke -- 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/