Thursday 19 March 2015

How to cleanly upgrade QGIS on Windows?


I'd like to upgrade QGIS from 2.8.1 to the lastest LTR version.


I'm looking for a clear explanation on how to achieve that on Windows (I'm on Windows 7). Such information is not easy to find, including on the QGIS official website that only gives details about installation.



Is it just necessary to download/install the new version or do I have to uninstall programs before that? I don't want to keep the older version alongside the new one.



Answer



Here are some general notes for un-installing the two types of installs:


OSGeo Network



  1. OSGeo Network version, this version may not be un-installed from Control Panel>Programs and Features option. To un-install

  2. Run osgeo4w-setup-x86.exe (same .exe you ran to install the app), choose Advanced Install option take all defaults under Select Packages under Category "All Default" click on "Default" two times to change to "Uninstall" and run

  3. Next, in Computer delete this directory: C:\OSGeo4W

  4. Delete any Start menu> shortcut icons or folders and desktop icons

  5. Make copy of plugins directory located here C:\Users\yourUserName\.qgis2\python\plugins and then delete the .qgis2 directory. There are some system settings related to the current app that should be cleared out before installing new version. QGIS will re-create this directory automatically when you open Q.



Standalone



  1. Un-install app from Control Panel>Programs and Features option

  2. Repeat step 4 and 5 noted above


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...