This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to install customised version of cygwin


At 03:55 AM 4/22/2002, rich-paul@rich-paul.net wrote:

>Well, I quickly wrote up what I do to install cygwin.  The first
>differance is that I use tar, not zip ... zip doesn't grok cygwin
>symlinks and such.  Anyway, the good news is that setup.exe does
>almost nothing except install the files.  creating the
>mountpoints is trivial, just export 'em with regedit and import
>'em with regedit /s.


This only works if your target machines will have Cygwin installed on 
the same drive as your source installation.  A better route is to just make
a script which uses 'mount' to set up the mount points.  It's really very
simple.


>I also included source to a couple of silly little exes I use
>when doing this.  One creates a shortcut, like the old resource
>kit shortcut.exe, but even less friendly.  The other notifies
>top level windows that the environment in the registry has
>changed, so that explorer will reload it and your first bash
>shell will be able to find itself.
>
>Anyway, you can find this trove of information at
>www.rich-paul.net.  Have fun with it.


I would hope that by now this is unnecessary to say but I'll repeat this for 
the sake of completeness.  This list will accept questions about installation
problems only if setup.exe has been used to install.  If you attempt an 
installation using the method described above and have problems, don't post
them here.  This list cannot afford to become the 'catch-all' support group 
for any and all home-grown installation facilities.


>On Mon, Apr 22, 2002 at 02:32:10PM +0800, hugo wrote:
> > Hi Robert
> > 
> > Thanks for your reply. However, I do not want to compile from source -
> > there is no need for that. All I would like to do is include XFree86,
> > Tk800.23.1 and Tk:Filedialog in my cygwin distribution, plus a few perl
> > utilities I wrote myself. 
> > 
> > At present this involves several steps: 
> > 
> > 1. Using setup.exe to install cygwin;
> > 2. Downloading XFree86, unzipping extract.exe and running the
> > Xinstall.sh script;
> > 3. Downloading Tk800.23.1, then running perl Makefile.PL, make, make
> > test and make install; 
> > 4. Copying over the perl utilities I have from my source location to
> > /usr/local/bin.
> > 
> > I would like to reduce the above steps to a single-step installation. So
> > I thought that, if I run through all steps (1 to 4) on my machine, then
> > zip up everything under C:\cygwin into one large cygwin.zip file, I may
> > be able to run a script that installs cygwin.zip on another computer.
> > However, this involves knowing what setup.exe does in terms of making
> > mounts, executing the mkpasswd and mkgroup commands etc. and placing the
> > necessary dlls in the right places. This is really what I am after.
> > 
> > Would you or anyone else be able to help with this? Any help will be
> > greatly appreciated. 
> > 
> > Thanks
> > 
> > Hugo
> > 
> > Robert Collins wrote:
> > > 
> > > > -----Original Message-----
> > > > From: hugo [mailto:hugo@fractalgraphics.com.au]
> > > 
> > > > setup.exe script: I cannot customize it as it is binary code.
> > > 
> > > On this page (http://cygwin.com/lists.html) the location of the source
> > > is documented.
> > > 
> > > Rob
> > > 
> > > --
> > > 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/
> > 
> > -- 
> > Dr Hugo Bouckaert
> > R&D Support Engineer/Systems Administrator 
> > 
> > Fractal Graphics 
> > 57 Havelock St
> > West Perth, WA 6005
> > PO Box 1675, West Perth 6872
> > 
> > Ph:       61 08 9211 6000 
> > Fax:      61 08 9226 1299 
> > 
> > www.fractalgraphics.com.au 
> > 
> > ------------------------------------------------------------------------
> > This email and any attachments may be confidential or legally
> > privileged. If you received this message in error or are not the
> > intended recipient, you should destroy the e-mail message and any
> > attachments or copies, and you are prohibited from retaining,
> > distributing, disclosing or using any information contained herein.
> > Please inform us of the erroneous delivery by return e-mail. Thank you
> > for your cooperation.
> > 
> > --
> > 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/
> > 
>
>-- 
>Got freedom?  Vote Libertarian:  http://www.lp.org
>
>--
>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/


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]