delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/13/21:27:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <rbcollins AT cygwin DOT com>
To: Sven =?ISO-8859-1?Q?K=F6hler?= <skoehler AT upb DOT de>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <b7cv5r$pr3$1@main.gmane.org>
References: <b7ct02$k8g$1 AT main DOT gmane DOT org>
<Law10-OE40Sv0YKpDS7000000f4 AT hotmail DOT com> <b7cv5r$pr3$1 AT main DOT gmane DOT org>
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: <http://users.bigpond.net.au/robertc/keys.txt>.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019