Subject: Re: setup.exe and "in-use-file"
From: Robert Collins <[email-masked]>
To: Sven Köhler <[email-masked]>
Cc: [email-masked]
Date: 14 Apr 2003 11:26:07 +1000

On Mon, 2003-04-14 at 10:23, Sven Köhler 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 
> cygwin.dll while cygwin-bash is running), it displays a windows at the 
> end, that i have to reboot my system, because the file could not be 
> replaced.

There is a command line switch to disable replace-on-reboot. 

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)
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.