Opened 13 years ago

Closed 12 years ago

#296 closed defect (fixed)

`etc/postinstall/qgis-common.bat` doesn't run properly

Reported by: maphew Owned by: osgeo4w-dev@…
Priority: minor Component: Package
Version: Keywords: qgis, apt
Cc: jef

Description

I don't know if this is apt specific or also happens when using setup.exe:

B:\o4w>apt-dev install qgis-common
d:/temp/o4w-cache/setup/http%3a% ...snip...

56fefa8d611d8f8359acb302f6a15790  qgis-common-1.8.0-3.tar.bz2 - remote
56fefa8d611d8f8359acb302f6a15790  qgis-common-1.8.0-3.tar.bz2 - local
installing qgis-common 1.8.0-3

B:\o4w>path
PATH=B:\o4w\bin

B:\o4w>call "B:\o4w"\bin\o4w_env.bat

'findstr' is not recognized as an internal or external command,
operable program or batch file.
Post_install complete, return code 255

For some reason the default Windows directories are stripped from PATH, so the dependent findstr can't be found. This appears to only happen with qgis-common package and not the qgis package itself.

QGIS still installs and can be run, but the CRS database is not synchronized, possibly leading to not having the most current PROJ definitions available. This can be resolved by running the commands in etc/postinstall/qgis-common.bat.done manually.

Change History (2)

comment:1 by jef, 13 years ago

might be related to #295

comment:2 by jef, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.