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 Subject: Re: setup.exe and "in-use-file" From: Robert Collins To: Sven =?ISO-8859-1?Q?K=F6hler?= Cc: cygwin AT cygwin DOT com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YAPRJqnAzeXL8wjRdWTF" Organization: Message-Id: <1050283566.1025.4.camel@localhost> Mime-Version: 1.0 Date: 14 Apr 2003 11:26:07 +1000 --=-YAPRJqnAzeXL8wjRdWTF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, 2003-04-14 at 10:23, Sven K=F6hler wrote: > Cygwin's setup.exe is a win32-app. > It uses some Win32-API to open-files. If a file is "in use" (for example=20 > cygwin.dll while cygwin-bash is running), it displays a windows at the=20 > end, that i have to reboot my system, because the file could not be=20 > replaced. There is a command line switch to disable replace-on-reboot.=20 Feel free to submit a patch to convert the error that occurs when it is disabled with a dialog and a retry. The default behaviour is replace on reboot, and will remain the default. But the command line option will do 90% of what you want today, and with a few lines of code can do the remaining 10%. Look in install.cc if you are interested. Cheers, Rob (Cygwin setup maintainer) --=20 GPG key available at: . --=-YAPRJqnAzeXL8wjRdWTF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+mg4tI5+kQ8LJcoIRAom9AKDSw6NPt8ZtS9ARiF3zbCxuWU1JgACfZHCa Bhr5buZEC69SyKafESMf4hQ= =XxuO -----END PGP SIGNATURE----- --=-YAPRJqnAzeXL8wjRdWTF--