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: <010e01c290d3$64f4a8d0$78d96f83@pomello> From: "Max Bowsher" To: "Thomas Chadwick" , References: Subject: Re: Setup's "Choose a download source" screen... Date: Wed, 20 Nov 2002 20:28:32 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Thomas Chadwick wrote: > When I run the Cygwin setup program, the second screen titled "Choose > a download source" has 3 radio buttons. More often than not I select > the one labeled "Install from Local Directory". Unfortunately, setup > does not "remember" that selection the next time I run it, always > defaulting to "Install from Internet". > > I suppose I could patch the file source.cc like so: > > > --- source.cc.orig 2002-11-20 11:20:08.000000000 -0500 > +++ source.cc 2002-11-20 11:21:13.000000000 -0500 > @@ -79,7 +79,7 @@ > SourcePage::OnActivate () > { > - source = IDC_SOURCE_NETINST; > + source = IDC_SOURCE_CWD; > load_dialog (GetHWND ()); > // Check to see if any radio buttons are selected. If not, select a > default. > > > But it seems a better solution would be to have setup save whatever I > last picked in setup.ini or in the Windows Registry. > > How hard would it be to implement this feature? I suppose given > enough guidance I could implement it myself and offer up a patch. The principal difficulty is that there is no good framework in place for persisting setup's configuration. Its probably time to discuss how to deal with this, as it will undoubtably become neccessary in the short term. For the time being, it may help that current cvs version of setup has command line options which can set the default of this page. Move this thread to cygwin-apps AT cygwin DOT com. All setup.exe discussion happens there. Max. -- 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/