digitalmars.D - Windows Installer Completely Whacks the PATH
- news.digitalmars.com (15/15) Nov 13 2009 Not a big complaint, since I'm loving D for all the right reasons, but t...
- Ary Borenszweig (6/14) Nov 13 2009 I don't have much time to investigate the problem, but the nsis
- bearophile (4/6) Nov 13 2009 If that's a real bug, then the installer on the site has to be removed u...
- Bill Baxter (8/12) Nov 13 2009 Exactly why there's no way I'll use an installer some dude hacked up
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
Nov 13 2009
news.digitalmars.com wrote: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\binI don't have much time to investigate the problem, but the nsis installer uses the EnvVarUpdate extension. I found this: http://forums.winamp.com/showthread.php?postid=2483473 but there isn't a solution there. If someone finds a solution the installer should be changed to that.
Nov 13 2009
Ary Borenszweig:but there isn't a solution there. If someone finds a solution the installer should be changed to that.If that's a real bug, then the installer on the site has to be removed until a solution is found. Because such bug is not ethic and it's an awful anti-advertising. Bye, bearophile
Nov 13 2009
On Fri, Nov 13, 2009 at 2:06 PM, bearophile <bearophileHUGS lycos.com> wrote:Ary Borenszweig:Exactly why there's no way I'll use an installer some dude hacked up Too many little issues like that which can bite ya. To the OP -- sorry this happened to you. Stick to the Zip files from now on. There's nothing fancy about installing DMD. Just unzip it somewhere and add it to your path. --bbbut there isn't a solution there. If someone finds a solution the installer should be changed to that.If that's a real bug, then the installer on the site has to be removed until a solution is found. Because such bug is not ethic and it's an awful anti-advertising.
Nov 13 2009