Bug 23623 – On 64 bit Windows the path should point to 64 bit dmd.
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P3
Component
installer
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2023-01-13T18:30:21Z
Last change time
2023-01-15T20:36:14Z
Keywords
pull
Assigned to
No Owner
Creator
Bastiaan Veelo
Comments
Comment #0 by Bastiaan — 2023-01-13T18:30:21Z
The NSIS installer for windows has the option "Add to PATH".
When this option is ticked, the system path is modified to include "C:\D\dmd2\windows\bin", which is correct on 32 bit Windows. On 64 bit Windows, "C:\D\dmd2\windows\bin64" is preferred.
The installer should detect the version of Windows and set the path accordingly.
Grep for "Target was appended to PATH", which is displayed at the end of the installation.
Comment #1 by Bastiaan — 2023-01-13T18:39:44Z
Since a number of tools that exist in "C:\D\dmd2\windows\bin" are absent in "C:\D\dmd2\windows\bin64", it is probably best to include both in PATH, but "bin64" before "bin".