Bug report #3501

QGIS 1.6.0 fails to install on Windows 7 with cannot access the file because it is being used by another process

Added by marisn - over 10 years ago. Updated about 7 years ago.

Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:13561


For some reason simple installer fails during last step - translating bat file templates to real ones. Will attach install log.

qgis_install.log.zip - QGIS 1.6.0 install on Windows 7 (60.5 KB) marisn -, 2011-02-18 01:13 AM


#1 Updated by landry Landry Breuil over 10 years ago

Had the same issue on a WinXP computer, same error message at the end of installation :

Create folder: C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Quantum GIS Copiapo
The process cannot access the file because it is being used by another process.
Running postinstall grass.bat...
Running postinstall msvcrt.bat...

Dunno if it's related, but the installer was executed from a samba share.

#2 Updated by landry Landry Breuil about 10 years ago

The issue is still present in qgis 1.7.0, and this time i've tried with the installer launched from the local disk, and with antivirus software stopped.

It produces a non-working installation, since all *.tmpl files are not copied to their final destination (same name without .tmpl) with osgeo4w replaced by the install path. Manually doing that is painful, but finally qgis can run. Still, that's an annoying issue.

#3 Updated by Giovanni Manghi almost 10 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#4 Updated by Jon Slade over 9 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to master

Hi Giovanni
I'm getting the same issue on Win 7 with qgis 1.7.0 - you mention using some manual steps to get a working installation namely changing all .tmpl files to same name without .tmpl which I think I follow (I searched for *.tmpl under the install directory and renamed). The next bit about osgeo4w I don't follow...do you mean change the parameter for the root install directory in qgis.bat?

#5 Updated by Paolo Cavallini over 9 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0

#6 Updated by Paolo Cavallini about 9 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#7 Updated by Giovanni Manghi about 7 years ago

  • Pull Request or Patch supplied set to No
  • Status changed from Open to Closed
  • Assignee deleted (nobody -)
  • Resolution set to wontfix

I think se can safely close this.

Also available in: Atom PDF