On my work computer, I get prompted for an elevated login when I try to run osgeo4w-setup-x86_64.exe on Windows 7
Sounds like I should be able to install without admin rights. As of 5/8/19 are they or are they not required?
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
The osgeo4w installer requiring admin rights is a long-standing issue. The installer requests admin rights because some features really do need to be installed as admin (they create Windows services, such as the Apache http server).
But not all features require admin rights, so the workaround is the create a little batch file with the following to run the osgeo4w-setup-x86_64.exe:
@echo off REM Note there are 2 underscores before COMPAT_LAYER set __COMPAT_LAYER=RUNASINVOKER start "" "osgeo4w-setup-x86_64.exe"
This workaround hasn't been tested on anything other than Windows 7 and I haven't used osgeo4w for years so hasn't been tested on more recent versions of the osgeo4w-setup-x86_64.exe.