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

Andrew Pennebaker andrew.pennebaker at gmail.com
Fri Sep 14 23:32:17 CEST 2012

> Well, I just checked:
> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/install/fpc.ist?view=annotate&root=fpcbuild
> around line 253 and further.
> It matches my experience.
> Maybe you are using Windows ME or older windows versions.

I am using Windows 7 Professional x64. Which version are you using?


My Windows account has full Administrative privileges. I'm curious if the
installer neglects to explicitly request administrative privileges. I bet
if we edit the installer's security properties, forcing it to run in
administrative mode, it will then modify PATH accordingly.

If this is the case, the installer should either explicitly ask the system
for administrative privileges before attempting to modify the system global
PATH. If the system grants administrative privileges, the installer should
modify the system global PATH. If the system does not grant administrative
privileges, then the installer should either modify the user's local PATH
variable instead, or display a visible popup to the effect that the
installer requires admin rights.

All of this is easily done with Advanced
by the way. I'm not sure which tools you're using to construct the official
Free Pascal Windows installer, but the output of that build process is not
working on my system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120914/3a03b777/attachment.html>

More information about the fpc-pascal mailing list