This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe and "in-use-file"


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

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]