Windows Installer Completely Whacks the PATH
news.digitalmars.com
bobcalco at tampabay.rr.com
Fri Nov 13 13:19:41 PST 2009
Not a big complaint, since I'm loving D for all the right reasons, but the
one-click Windows installer replaces the PATH with one including only the
location of DMD and DMC. Which hosed a lot of applications on my system till
I thought to look there for the problem.
A once rather long PATH value was replaced by:
C:\D\dmd\windows\bin;C:\D\dmd2\windows\bin;C:\D\dm\bin
Frankly there is no point to setting the dmd2 path after the dmd path
because they have the same binary names and it will always resolve to the
first one. It's an either or, and ideally a user option that the installer
provides.
You definitely should warn the user that the installer will modify the path.
This may end up being a blessing, as it will force me to go app by app on my
system and figure out what I need to add to make it work again. But not
exactly what I wanted to spend my day today doing... :)
- Bob
More information about the Digitalmars-d
mailing list