D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15119 - LDC version of installer
Summary: LDC version of installer
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: installer (show other issues)
Version: D2
Hardware: x86_64 Windows
: P4 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-26 04:14 UTC by Manu
Modified: 2022-12-17 10:32 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Manu 2015-09-26 04:14:28 UTC
The DMD installer works well, in particular, there is hard work involved in wrangling visual studio environment paths.

LDC also depends on the VS ecosystem, but it's just a zip file...

It would be great if the DMD installer could be rebranded to also work with LDC?
I wonder if ldc2.conf should be auto-configured in the same way as sc.ini?

Ideally, the installer, having noted where the user installed, would allow for VisualD to auto-magically find the user's LDC instance, and also 'just work' out of the box.
Comment 1 kinke 2015-09-27 20:46:44 UTC
I've been working on making LDC portable and having it detect VS + set up environment variables for the MS linker/librarian, see LDC PRs #1129 and #1130.
So an installer would only need to store the installation directory in the registry for IDE tools to find it.
Comment 2 Manu 2018-05-06 19:39:58 UTC
Would still love this! :)
Comment 3 Seb 2018-07-17 10:29:13 UTC
The DMD installer source is here:

https://github.com/dlang/installer/tree/master/windows