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: Setup's "Choose a download source" screen...


Thomas Chadwick <j_tetazoo@hotmail.com> 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@cygwin.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/


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