[osgeo4w-dev] Re: [osgeo4w] #18: shell package

OSGeo4W trac_osgeo4w at osgeo.org
Fri Feb 5 20:16:12 EST 2010


#18: shell package
------------------------+---------------------------------------------------
Reporter:  maphew       |        Owner:  osgeo4w-dev at lists.osgeo.org
    Type:  enhancement  |       Status:  new                        
Priority:  major        |    Component:  Installer                  
 Version:               |   Resolution:                             
Keywords:               |  
------------------------+---------------------------------------------------
Comment (by maphew):

 windows7 brought to light a problem with the variables in the
 postinstall.bat (#122)

 Windows7 (and I think Vista) defaults:

 `%ALLUSERSPROFILE%` expands to `C:\ProgramData`
 `%ALLUSERSPROFILE%\Desktop` expands to `C:\Users\Public\Desktop`
 While all users start menu is `C:\ProgramData\Microsoft\Windows\Start
 Menu`

 Lightly tested fix:
 {{{
 mkdir "%OSGEO4W_STARTMENU%\OSGeo4W"
 xxmklink "%OSGEO4W_STARTMENU%\OSGeo4W\OSGeo4W Shell.lnk"
 "%OSGEO4W_ROOT%\OSGeo4W.bat" " " \ "OSGeo for Windows command shell" 1
 "%OSGEO4W_ROOT%\OSGeo4W.ico
 xxmklink "%ALLUSERSPROFILE%\Desktop\OSGeo4W Shell.lnk"
 "%OSGEO4W_ROOT%\OSGeo4W.bat" " " \ "OSGeo for Windows command shell" 1
 "%OSGEO4W_ROOT%\OSGeo4W.ico
 }}}

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


More information about the osgeo4w-dev mailing list