Opened 15 years ago

Closed 15 years ago

#33 closed defect (fixed)

msvcrt missing postinstall script; hardcoded path to C:\OSGeo4W

Reported by: maphew Owned by: osgeo4w-dev@…
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

Change History (1)

comment:1 by jef, 15 years ago

Resolution: fixed
Status: newclosed

fixed in msvcrt-1.0.0-9

Note: See TracTickets for help on using tickets.