I installed QGIS using OSGEO4W, and would love to know how to uninstall it, because when I go to "Control Panel > Programs > Uninstall" the program does not appear in the list of installed programs.
How can I do this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Just to elaborate on the comment on the above answer that
It appears that the uninstall option no longer exists in the osgeo4w.exe installer. As of today, there is an option to uninstall but you have to play chicken as if you're going to install because the uninstall option doesn't appear until quite late in the install process. I ran
Hide obsolete packagescheckbox to make sure I was uninstalling as much as I could. Then click where it says "Default" this will cycle through various options. Keep clicking till it says "Uninstall"
After that you can simply remove the
C:\OSGeo4W64\ folder to remove installer files.
There is not a best way to do it, no 'Add Remove Programs' method. But...
The simplest way is to delete C:\OSGeo4W. This will remove all the installed data. You can also uninstall stuff through the osgeo4w.exe installer.
(From the website:http://trac.osgeo.org/osgeo4w/wiki/FAQ)
Is there a way of uninstalling packages or all of OSGeo4W?
Individual package can be uninstalled via the Advanced install path. In the package listing click on the "New" column until the value changes to "Uninstall". Currently packages do not clean up desktop or start menu icons when uninstalling, this may be done manually.
Currently there is no installer option to uninstall OSGeo4W completely. However, when all OSGeo4W applications, shells and services (like apache) are shutdown it is possible to just delete the whole OSGeo4W file tree (usually C:\OSGeo4W).
See also trac #38 (enhancement).
Might add to the above entries with my current complete-removal workflow:
There will also be a shortcuts folder on your desktop to delete. There may be other app-specific folders to clear (edits welcome if so), but the above should cover the express install.
If you have admin control and have set any OSGeo related system or user environment variables in Control Panel > System > Advanced System Settings > Environment Variables... (or via a shell command) you should also remove those, and tidy up your PATH variable. Be careful not to remove PATH entries or other variables that point to non-OSgeo versions of OSGeo packages you may still have installed, e.g. ArcMap's python distro, or a standalone version of GDAL.