X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Mike Subject: cygwin installation batch file? Date: Tue, 12 Sep 2006 00:55:55 +0000 (UTC) Lines: 33 Message-ID: User-Agent: slrn/0.9.8.1 (Linux) X-IsSubscribed: yes 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 I have used cygwin for many years and now am in a situation where I need/want to install it on 30 or so windows xp boxes. Does someone have a batch file I can adapt to my situation? I've started on one at work (no access to it at the moment) that attempts to copy setup.exe from a local mirror I've created, c:, mkdir \cygwin, cd \cygwin, copy \\host\cygwin\setup.exe, and then I get into a problem trying to get setup.exe to run. The command (at work, so I'm going from memory) I'm trying to use is 'setup.exe --download --site http://host/cygwin --no-shortcuts --no-desktop perl rsync cvs ssh cygserv'. I am following up the installation with cd bin, bash.exe --login -i -c '/usr/bin/mkpasswd --local > /etc/passwd', bash --login -i -c '/usr/bin/mkgroup --local > /etc/group', bash ... wait, this is confusing... ---------------------------------- c: mkdir \cygwin cd \cygwin copy \\host\cygwin\setup.exe setup --download --site http://host/cygwin --no-shortcuts \ --no-desktop perl rsync cvs ssh cygserv bash.exe --login -i -c '/usr/bin/mkpasswd --local > /etc/passwd bash.exe --login -i -c '/usr/bin/mkgroup --local > /etc/group bash.exe --login -i -c '/usr/bin/ssh-keygen' bash.exe --login -i -c '/usr/bin/ssh-host-config --yes' net start sshd ---------------------------------- That's what I've tried so far (from memory). Does someone have a script that does the above and works? :) Mike -- 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/