[osgeo4w-dev] [osgeo4w] #304: Make installer administrative rights elevation optional.

OSGeo4W trac_osgeo4w at osgeo.org
Sun Oct 21 20:27:35 PDT 2012


#304: Make installer administrative rights elevation optional.
------------------------+---------------------------------------------------
Reporter:  lpinner      |       Owner:  osgeo4w-dev@…              
    Type:  enhancement  |      Status:  new                        
Priority:  minor        |   Component:  Installer                  
 Version:               |    Keywords:                             
------------------------+---------------------------------------------------

Comment(by lpinner):

 I've found a workaround! Documenting here for posterity.
 {{{
 @echo off
 REM osgeo4w-setup-noelevation.bat
 set __COMPAT_LAYER=RUNASINVOKER
 start "" "osgeo4w-setup.exe"
 }}}

 Note: my original request remains. This installer does not need UAC
 elevation by default.  If someone is experienced enough to install and
 configure a Windows service (such as Apache), then they're experienced
 enough to know how to right click on the installer and select "Run as
 administrator".

 Please change the manifest to "<requestedExecutionLevel level="asInvoker"
 uiAccess="false"/>"

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/304#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list