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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Re[2]: setup.exe and mirror list question Date: Fri, 5 Apr 2002 10:13:43 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <7BFCE5F1EF28D64198522688F5449D5A0974B3@xchangeserver2.storigen.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Scott Prive" To: "Pavel Tsekov" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g35FDx603719 OK, thanks. I didn't know if there was a way to do a safe search and replace within the binary file. I'll recompile then. It's a little more work because the mirror is on Linux, and I've never investigated cross-compiling from Linux (and someone said you can't run Cygwin under WINE anymore). Anyhow, Thanks, you've been a big help! -Scott -----Original Message----- From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] Sent: Friday, April 05, 2002 3:11 AM To: Scott Prive Cc: cygwin AT cygwin DOT com Subject: Re[2]: setup.exe and mirror list question Hello Scott, Thursday, April 04, 2002, 6:18:45 PM, you wrote: SP> Thanks Paul... that's exactly what I needed to know. SP> A follow-up question, if I may: SP> Does Cygwin or Linux have such a resource editing tool? Nope - it doesn't have a tool to edit the ready to use compiled resource script. Still as I mentioned in my previous mail you can get the source code for setup.exe and edit the resource script (a text file) manually than recompile. This soulution seems more scriptable to me. SP> 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 SP> downloaded (yipee!). SP> Thanks, SP> Scott SP> -----Original Message----- SP> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] SP> Sent: Wednesday, April 03, 2002 2:36 AM SP> To: Scott Prive SP> Cc: Cygwin SP> Subject: Re: setup.exe and mirror list question SP> Hello Scott, SP> 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? SP> The setup program fetches the mirror list from a hardcoded URL which SP> is found in the resource section of the executable. So you can use a SP> resource editor to change this URL to something apropriate for you... SP> Another way to achieve this is to get the setup.exe sources and change SP> the URL in the resource (.rc) script file and compile your own SP> version. Still I think both choices will make your version of SP> 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/