Re: automated cygwin install

2011-09-13 Thread Rolf Campbell
On 2011-09-09 09:52, Andrew Schulman wrote: In a new installation, we have to write an (ugh) MSDOS CMD script, since bash isn't available. One way around that would be to install just the base, then run a bash script, but I decided to bite the bullet and write a CMD script that would do it

Re: automated cygwin install

2011-09-12 Thread Csaba Raduly
On Fri, Sep 9, 2011 at 9:26 PM, Warren Young wrote: Step 2: A script that can write out such a script to clone an existing installation.  Just translate the contents of /etc/setup/installed.db to the form --packages wants. Step 3: Modify the script to find the last-used setup.ini

automated cygwin install

2011-09-09 Thread Andrew Schulman
I just had to reinstall Cygwin on a reimaged computer, and decided to finally tackle the automated installation. I didn't find any recent posts on the topic, so here's my solution. In a new installation, we have to write an (ugh) MSDOS CMD script, since bash isn't available. One way around

RE: automated cygwin install

2011-09-09 Thread Fahlgren, Eric
Andrew Schulman wrote: Nirvana. A one-click new Cygwin installation, with all of my favorite packages. I hope it's useful to others. Excellent, thanks for doing the leg work. I had been thinking about this off and on for a couple years but never got around to it. Eric -- Problem

Re: automated cygwin install

2011-09-09 Thread Warren Young
On 9/9/2011 7:52 AM, Andrew Schulman wrote: Here's what mine looks like: setup.exe ^ --no-shortcuts ^ --quiet-mode ^ --disable-buggy-antivirus ^ --packages ^ aria2,^ atool,^ autoconf,^ automake,^ autossh,^ Step 2: A script that can write out such a script to clone an existing installation.

Re: automated cygwin install

2011-09-09 Thread Christopher Faylor
On Fri, Sep 09, 2011 at 01:26:27PM -0600, Warren Young wrote: On 9/9/2011 7:52 AM, Andrew Schulman wrote: Here's what mine looks like: setup.exe ^ --no-shortcuts ^ --quiet-mode ^ --disable-buggy-antivirus ^ --packages ^ aria2,^ atool,^ autoconf,^ automake,^ autossh,^ Step 2: A script

RE: automated cygwin install

2011-09-09 Thread Buchbinder, Barry (NIH/NIAID) [E]
Christopher Faylor sent the following at Friday, September 09, 2011 4:32 PM On Fri, Sep 09, 2011 at 01:26:27PM -0600, Warren Young wrote: On 9/9/2011 7:52 AM, Andrew Schulman wrote: Here's what mine looks like: setup.exe ^ --no-shortcuts ^ --quiet-mode ^ --disable-buggy-antivirus ^

Re: automated cygwin install

2011-09-09 Thread Greg Chicares
On 2011-09-09 13:52Z, Andrew Schulman wrote: [...] setup.exe ^ --no-shortcuts ^ --quiet-mode ^ --disable-buggy-antivirus ^ --packages ^ aria2,^ atool,^ I wanted to make a similar .BAT file write a custom /etc/fstab as well, so I needed it to wait for 'setup' to finish first. This worked

Re: automated cygwin install

2011-09-09 Thread Warren Young
On 9/9/2011 2:34 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: I do not think that you need Step 3. You might, if the installed package set overruns some low command line length limit somewhere. (This is just the pain of past burns speaking here, not current knowledge.) Also, I wasn't

Re: automated cygwin install

2011-09-09 Thread Warren Young
On 9/9/2011 3:02 PM, Greg Chicares wrote: echo some_custom_record fstab This mythical clone-installation script which I am not writingmaybe it should optionally clone fstab, too? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: automated cygwin install

2011-09-09 Thread Andrey Repin
Greetings, Christopher Faylor! I might volunteer. This has come up often enough that it seems like it would be a useful thing to have. How about just pointing setup.exe to the (copy of) installed.db and let it solve it's own problems? Since it's creating it, I assume, it can read it just as

Re: automated cygwin install

2011-09-09 Thread Christopher Faylor
On Fri, Sep 09, 2011 at 04:34:53PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: Christopher Faylor sent the following at Friday, September 09, 2011 4:32 PM On Fri, Sep 09, 2011 at 01:26:27PM -0600, Warren Young wrote: On 9/9/2011 7:52 AM, Andrew Schulman wrote: Here's what mine looks like:

Re: automated cygwin install

2011-09-09 Thread Andrew Schulman
setup.exe ^ --no-shortcuts ^ --quiet-mode ^ --disable-buggy-antivirus ^ --packages ^ aria2,^ atool,^ autoconf,^ automake,^ autossh,^ Step 2: A script that can write out such a script to clone an existing installation. Just translate the contents of /etc/setup/installed.db

Re: Automated Cygwin install.

2006-06-01 Thread Joshua Daniel Franklin
On 5/27/06, Jarl Friis wrote: Would it be an idea to have my question on the cygwin FAQ. I had resisted this since it didn't really come up all that often and setup.exe is really only designed to be interactive, but it's been coming up... frequently:

Re: Automated Cygwin install.

2006-05-27 Thread Jarl Friis
Hi Igor. Igor Peshansky [EMAIL PROTECTED] writes: The file is called /etc/setup/installed.db. Simply copy it to the same location on the other machine, then edit it and change all version numbers to 0.0-0. That will ensure that you install the latest versions of the same set of packages.

Re: Automated Cygwin install.

2006-05-27 Thread Larry Hall (Cygwin)
On 05/27/2006, Jarl Friis wrote: Igor Peshansky pechtcha at cs dot nyu dot edu writes: ^^^ http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. The file is called /etc/setup/installed.db. Simply copy it to the same location on the other machine, then

Automated Cygwin install.

2006-05-25 Thread Jarl Friis
Hi. I have the following issue and according to google it seems like I am not the first one. I would like to tailor a package selection with the setup.exe utility, when that is done, I would like to make unattended installations of these packages on many machines. It seems like many people have

Re: Automated Cygwin install.

2006-05-25 Thread Larry Hall (Cygwin)
Jarl Friis wrote: Hi. I have the following issue and according to google it seems like I am not the first one. I would like to tailor a package selection with the setup.exe utility, when that is done, I would like to make unattended installations of these packages on many machines. It seems

Re: Automated Cygwin install.

2006-05-25 Thread Jarl Friis
Hi Larry, thanks for the reply. Larry Hall (Cygwin) [EMAIL PROTECTED] writes: Jarl Friis wrote: Hi. I have the following issue and according to google it seems like I am not the first one. I would like to tailor a package selection with the setup.exe utility, when that is done, I would

Re: Automated Cygwin install.

2006-05-25 Thread Igor Peshansky
On Thu, 25 May 2006, Jarl Friis wrote: Hi Larry, thanks for the reply. Larry Hall (Cygwin) [EMAIL PROTECTED] writes: Ugh, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Jarl Friis wrote: Hi. I have the following issue and according to google it seems like I am not the first one.