Ticket #45 (new defect)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: mwtoews 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

In-use_error.png Download (6.6 KB) - added by mwtoews 4 years ago.
"In-use files" dialog

Change History

Changed 4 years ago by mwtoews

"In-use files" dialog

Changed 4 years ago by warmerdam

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

Changed 4 years ago by mwtoews

After rebooting, see related #46

Note: See TracTickets for help on using tickets.