[fpc-pascal] Windows installer fails to add fpc binaries to PATH

Andrew Pennebaker andrew.pennebaker at gmail.com
Sat Sep 15 20:00:07 CEST 2012

Oh, I just remembered--I had a similar problem with CMake, where for
everyone else the installer successfully modified PATH, but not on my

I use a lot of command line programs, all installed in different
directories, so my PATH was too long for the CMake installer to modify.
There was a C-like assumption of the maximum number of characters that PATH
could contain.

Perhaps the Inno Setup script, or Inno Setup itself makes a similar

One way to verify that this is the problem is for me to temporarily shorten
PATH and then try the installer, and for others to temporarily lengthen
PATH (e.g. add ;C:\bin over and over and over), until Inno Setup stops
correctly modifying PATH.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120915/72647c13/attachment.html>

More information about the fpc-pascal mailing list