digitalmars.D - D 2.0 windows installer overwrites PATH variable
- Wei Cheng (4/4) Aug 05 2010 Dear all:
- Andrej Mitrovic (7/12) Aug 06 2010 I'm not seeing that behavior here (XP SP3), and I've just tested it. PA...
- notna (2/6) Aug 06 2010
- Ary Borenszweig (2/10) Aug 11 2010 I just added a comment there. Someone should look into that and fix it.....
- Wei Cheng (5/5) Aug 14 2010 Thanks. Then, it seems that it is a bug in NSIS.
- Andrej Mitrovic (7/15) Aug 14 2010 Well, maybe it would be overkill, but adding an option like "Add to PATH...
Dear all: I've found that D 2.0 windows installer (one key installer) will clear the original PATH and set it as the D path. Is it a bug in the installer? Should it keep the original value and put the D paths in front of them? Thanks
Aug 05 2010
I'm not seeing that behavior here (XP SP3), and I've just tested it. PATH gets appended with directories of DMD|DMD2|DM /bin. Btw., Rapid Environment Editor is a nice freeware app for manipulating environment variables. You can make backups with it as well. I will say the download in the setup is quite slow (only reaches about 100Kb/sec at times, but usually stuck around 50Kb/sec or so). On Fri, Aug 6, 2010 at 5:17 AM, Wei Cheng <rivercheng gmail.com> wrote:Dear all: I've found that D 2.0 windows installer (one key installer) will clear the original PATH and set it as the D path. Is it a bug in the installer? Should it keep the original value and put the D paths in front of them? Thanks
Aug 06 2010
could maybe still be http://d.puremagic.com/issues/show_bug.cgi?id=3319 Am 06.08.2010 05:17, schrieb Wei Cheng:Dear all: I've found that D 2.0 windows installer (one key installer) will clear the original PATH and set it as the D path. Is it a bug in the installer? Should it keep the original value and put the D paths in front of them? Thanks
Aug 06 2010
On 08/07/2010 05:11 AM, notna wrote:could maybe still be http://d.puremagic.com/issues/show_bug.cgi?id=3319 Am 06.08.2010 05:17, schrieb Wei Cheng:I just added a comment there. Someone should look into that and fix it...Dear all: I've found that D 2.0 windows installer (one key installer) will clear the original PATH and set it as the D path. Is it a bug in the installer? Should it keep the original value and put the D paths in front of them? Thanks
Aug 11 2010
Thanks. Then, it seems that it is a bug in NSIS. Now I know that this problem does not happen so often, but still is it possible to because I happened to have a backup so I could recover easily. But some one may have worse luck. :)
Aug 14 2010
Well, maybe it would be overkill, but adding an option like "Add to PATH, but make a backup first" which creates a .reg backup of the environment variables on the desktop could be a nice option. There seems to be a way to backup deleted environment variables as well, check the 3rd post on this site: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_23153052.html On Sat, Aug 14, 2010 at 1:58 PM, Wei Cheng <rivercheng gmail.com> wrote:Thanks. Then, it seems that it is a bug in NSIS. Now I know that this problem does not happen so often, but still is it possible to because I happened to have a backup so I could recover easily. But some one may have worse luck. :)
Aug 14 2010