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.exe and mirror list question


Thanks Paul... that's exactly what I needed to know.

A follow-up question, if I may:
Does Cygwin or Linux have such a resource editing tool?

I imagine there is one, and I would need to learn it, but I don't know what it would be called. A shell tool would empower me to automate the resource editing after each new setup.exe is downloaded (yipee!).

Thanks,

Scott

-----Original Message-----
From: Pavel Tsekov [mailto:ptsekov@syntrex.com]
Sent: Wednesday, April 03, 2002 2:36 AM
To: Scott Prive
Cc: Cygwin
Subject: Re: setup.exe and mirror list question

Hello Scott,

Tuesday, April 02, 2002, 6:44:47 PM, you wrote:

SP> Robert (or anyone),
SP> Regarding the setup.exe "Choose a Download Site" page:

SP> What I am doing right now is running an internal Cygwin mirror, updated every 24h via rsync. When a user runs setup.exe from my mirror, I'd like my internal mirror to be the ONLY available mirror
SP> displayed in the install screen.

SP> I checked the FAQ & discussion lists and could not see how this would be done. Is this possible?

The setup program fetches the mirror list from a hardcoded URL which
is found in the resource section of the executable. So you can use a
resource editor to change this URL to something apropriate for you...
Another way to achieve this is to get the setup.exe sources and change
the URL in the resource (.rc) script file and compile your own
version. Still I think both choices will make your version of
setup.exe unsupported by this list ... or maybe I'm wrong :))


--
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]