X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4AF57A6D.2000407@tpg.com.au> References: <4AF57A6D DOT 2000407 AT tpg DOT com DOT au> Date: Sat, 7 Nov 2009 17:55:23 -0500 Message-ID: Subject: Re: setup-1.7.exe replace on boot. Was it deprecated? From: Robert Pendell To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sat, Nov 7, 2009 at 8:47 AM, Shaddy Baddah wrote: > Hi, > > I was wondering if the replace on boot feature in setup was deprecated > with setup-1.7.exe? I am trying to do an install via the following > command-line: > > /cygdrive/d/Temp/setup-1.7 -L -r /cygdrive/c/cygwin-1.7 -l > /cygdrive/d/cygwin-1.7-downloads -P rsync -q > > as an Administrator user on Windows XP (so no privilege elevation > issues, as far as I am aware). I am getting the following errors: > > Installing file cygfile:///usr/bin/cygwin1.dll > io_stream_cygfile: fopen(/usr/bin/cygwin1.dll) failed 13 Permission denied > Failed to open cygfile:///usr/bin/cygwin1.dll for writing. > Not replacing in-use file cygfile:///usr/bin/cygwin1.dll > > Now according to the command line options: > > -r --no-replaceonreboot =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Disable replacing in-use files > on next > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 reboot. > > replace on boot can be turned "off", if I had specified -r, which I > hadn't. That suggests that it is "on" by default. Shouldn't setup be > writing to a .replace, or such, suffixed file for replace on boot? > > Regards, > Shaddy > > Actually you are if you look at your command line again. Try this version of it. /cygdrive/d/Temp/setup-1.7 -L /cygdrive/c/cygwin-1.7 -l /cygdrive/d/cygwin-1.7-downloads -P rsync -q Note the lacking -r in this version. Robert Pendell shinji AT elite-systems DOT org CAcert Assurer "A perfect world is one of chaos." -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple