D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3319 - DInstaller overwrites the %PATH% variable
Summary: DInstaller overwrites the %PATH% variable
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: installer (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords:
: 3320 (view as issue list)
Depends on:
Blocks:
 
Reported: 2009-09-16 17:19 UTC by Walter Bright
Modified: 2015-06-09 01:31 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2009-09-16 17:19:49 UTC
I tried the distaller (http://ftp.digitalmars.com/dinstaller.exe) some days ago and found out that, after the installation, all my former entries in the %PATH% variable where gone. Only the new paths to the two directories within C:\D\... where configured.

Someone should change the dinstaller so that the DMD path entries will be appended to the existing ones instead of overwriting them.

Thanks & regards
notna
Comment 1 Ary Borenszweig 2010-08-11 06:11:00 UTC
This might help:

http://forums.winamp.com/showthread.php?postid=2496643

(since the installer is written in NSIS...)

But I'm still not sure what the fix could be... maybe checking for the value before and after changing it, as it suggests...
Comment 2 Brad Anderson 2014-02-24 16:27:46 UTC
Fixed by 3dcb46f2 years ago.
Comment 3 Brad Anderson 2014-02-24 16:27:57 UTC
*** Issue 3320 has been marked as a duplicate of this issue. ***