Opened 16 years ago

Closed 9 years ago

#45 closed defect (fixed)

osgeo4w-setup.exe update "In-use file" issue

Reported by: Mike Taves Owned by: warmerdam
Priority: major Component: Installer
Version: Keywords:
Cc:

Description

In the past day (Feb. 3-4, 2009) I've re-run C:\gnu\OSGeo4W\bin\osgeo4w-setup.exe (using Start > OSGeo4W > Setup) on my setup to add/update various packages, and when the program is at "Installing .. setup-1.0.3-6 .. /bin/osgeo4w-setup.exe" I get a dialog (see also attached):

In-use files detected

Unable to extract /bin/osgeo4w-setup.exe -- the file is in use. Please stop all Cygwin processes and select "Retry", or select "Continue" to go on anyway (you will need to reboot).

Retry/Continue

It seems to me that this is circular logic, as the setup is running and trying to update itself from version 1.0.3-4 to 1.0.3-6.

I've repeated this behaviour on two XPSP3 computers and on a Win2003 Server.

Attachments (1)

In-use_error.png (6.6 KB ) - added by Mike Taves 16 years ago.
"In-use files" dialog

Download all attachments as: .zip

Change History (4)

by Mike Taves, 16 years ago

Attachment: In-use_error.png added

"In-use files" dialog

comment:1 by warmerdam, 16 years ago

Owner: changed from osgeo4w-dev@… to warmerdam

It should be possible to continue, and reboot to get the new one. The newer package actually copies the executable to a temporary name before running it specifically in order to avoid this update-itself problem.

comment:2 by Mike Taves, 16 years ago

After rebooting, see related #46

comment:3 by jef, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.