Opened 16 years ago

Last modified 15 years ago

#7 new defect

Root install directory problems with folders with spaces (e.g. "C:/Program Files/")

Reported by: jmckenna Owned by: osgeo4w-dev@…
Priority: major Component: Installer
Version: Alpha Keywords:
Cc:

Description

  • DOS window shortcut does not set the env variables properly if there is a space in the install path (error message is: "'C:\Program' is not recognized as an internal or external command")
  • during install, if a user browses to "C:\Program Files" the cygwin installer does not create an "OSGeo4w" directory....which means that all of osgeo4w's sub-folders now live inside "Program Files"

Change History (2)

comment:1 by (none), 16 years ago

milestone: Beta Release

Milestone Beta Release deleted

comment:2 by hamish, 15 years ago

Hi,

FWIW the MSys maintainers have made it clear that they will not support spaces in path names, nor accept patches fixing those issues.

With some patches to msys.bat however it is possible to run built binaries from C:\Program Files\ although other bugs are likely to surface.

That is not to say that we should not attempt to fix these bugs in our own shell scripts and batch files anyway, as unquoted variables can certainly have much more important implications than failure to run from a foreign sounding path name.

Hamish

Note: See TracTickets for help on using tickets.