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

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
Subject: Re: setup.exe and "in-use-file"
Date: Mon, 14 Apr 2003 03:27:10 +0200
Lines: 42
Message-ID: <b7d2ti$aoj$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> <Law10-OE3577bieLYCT00000ad4 AT hotmail DOT com> <b7d10n$56i$1 AT main DOT gmane DOT org> <Law10-OE49AsK6ExU8r00000a65 AT hotmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: de, en
In-Reply-To: <Law10-OE49AsK6ExU8r00000a65@hotmail.com>

> Sven-
> Sven-

Martin-
Martin-

> To put in your new DLL to replace the DLL which is currently running you
> will have to find the Cygwin task that is using the DLL and kill it so the
> process will release it's lock on resources that it is using...

I already know that, i hopefully didn't write anything, that lead people 
to the conclusion, that i want setup.exe to do that.

> Make Sense?

Sure, but that's still not what i'm talking about!

setup.exe currently does the follwoing to write a file:

1. open destination.file
successful: jump to 2
error: jump to 3
2. write content, close file and jump to 4
3. write content to another file, and tell windows to replace the 
destination-file on next reboot.
4. process next file

all i want setup.exe to do, is the following

1. same as step 1 above
2. same as step 2 above
3a. inform user, that file cannot be opened for writing because it is in 
use and ask the user, if setup.exe should retry
user chooses YES: goto step 1
user chooses NO: goto step 3b
3b. same as step 3 above
4. same as step 4 above

of course it would be nice to know which process is using the file, but 
that's not what i'm talking about! i'm just want setup.exe to avoid 
reboots by __interacting__ with the __user__!!!



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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