www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <004001c1ddc1$a1a3d5a0$03dad741@2kiisikon> |
From: | "Chris Ellsworth" <cke AT highlandshighspeed DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | createing own setup.exe |
Date: | Sat, 6 Apr 2002 15:20:25 -0800 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
The current made setup.exe file does not do all i need it to do. I have spent some time looking @ this list and what the setup.exe does so far the best help i have found so far is someone post The final script will be setup so it will add a user/group to 2k/xp and also make the additions to the group and passwd file for cygwin and possilby other things that i need it to do. --cut--- mkdir c:\cygwin cd c:\cygwin c:\whereever\tar xjf /cygdrive/c/whereever/cygwin-*.tar.bz2 mount -f -s -b c:/cygwin / mount -f -s -b c:/cygwin/lib /usr/lib mount -f -s -x -b c:/cygwin/bin /usr/bin c:\whereever\tar xjf /cygdrive/c/whereever/bash-*.tar.bz2 bin/bash for f in /cygdrive/c/whereever/*.tar.bz2; do case "$f" in cygwin-*) ;; bash-*) ;; i d *) /cygdrive/c/whereever/tar xjf $f ;; esac done cd /etc/postinstall for f in *.sh; do /bin/sh ./$f; done for f in *.bat; do cmd /c .\\$f; done exit --end cut--- The target OS is Win2k or WinXP at this point i have gotten my script to make the <drive>:\cygwin and then copy the *tar.bz2 nad *tar.gz and extract them to the \cygwin. it should not be too hard for me to script running the mount commands either, but my questions start i guess i could get most my answered if i could see the what all the setup.exe does 1. The postinstall do they need to be run bash (I assume Yes) 2. I see the setup.exe has option for all/1 user and the dos/unix where would i set these? 3. does the \cygdive mounting happen automaticly? or is this run in the setup.exe? 4. dealing with the dos/unix default text type. if set to dos, should all txt file editing be done via windows, whereas if unix all text file editing should be done in unix? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |