January 13, 2023
https://issues.dlang.org/show_bug.cgi?id=23623

          Issue ID: 23623
           Summary: On 64 bit Windows the path should point to 64 bit dmd.
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P3
         Component: installer
          Assignee: nobody@puremagic.com
          Reporter: Bastiaan@Veelo.net

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.

--