Opened 16 years ago
Closed 16 years ago
#33 closed defect (fixed)
msvcrt missing postinstall script; hardcoded path to C:\OSGeo4W
Reported by: | maphew | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | ||
Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.
fixed in msvcrt-1.0.0-9