[Osgeo4w-trac] [osgeo4w] #33: msvcrt missing postinstall script;
hardcoded path to C:\OSGeo4W
OSGeo4W
trac_osgeo4w at osgeo.org
Fri Jan 16 19:31:10 EST 2009
#33: msvcrt missing postinstall script; hardcoded path to C:\OSGeo4W
---------------------+------------------------------------------------------
Reporter: maphew | Owner: osgeo4w-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone:
Component: Package | Version:
Keywords: |
---------------------+------------------------------------------------------
the mscvrt package has OSGEO4W_ROOT hardcoded to C:\OSGeo4W and no
postinstall template to set it to the active %OSGEO4W_ROOT%. Fix is to
delete `bin/o4w_env.bat` from package and add `bin/o4w_env.bat.tmpl`:
{{{
@echo off
set OSGEO4W_ROOT=@osgeo4w@
PATH=%OSGEO4W_ROOT%\bin;%PATH%
for %%f in ("%OSGEO4W_ROOT%"\etc\ini\*.bat) do call "%%f"
@echo on
}}}
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/33>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list