-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows installer #1754
Comments
Maybe it can be based on DMD installer |
I don't see a real need for an installer, and it surely is no key issue. Windows users in general may expect a fancy installer, but our target are developers, let's not forget about that. So since you Mir devs don't use Windows, I'd say let actual Windows users formulate what they want. The current package is a portable archive which auto-detects a required Visual Studio/Visual C++ Build Tools installation. The only nice-to-haves for an installer I can think of would be
|
In ideal world, yes. But most of R, numpy and ML users don't know what is object file. Mir's target are scientist, data researchers. They are engineers but not developers.
Could you please describe in details. This may be fine for now, but I don't see step-by-step instruction for Windows users (they really need it). |
I've updated the Windows README.txt a short while ago, so I hope it's sufficient for all needs, although I clearly had regular developers in mind. ;) So your target group probably doesn't have Visual Studio 2015 installed. In that case, I'd recommend the stand-alone Visual C++ Build Tools 2015. LDC needs the MS linker and libraries on Windows (and probably the Visual C++ 2015 runtime for LDC itself, I don't think we link against the static libs). |
I do think there is considerable value in a "hands-free" Windows installer. It should auto-detect – and otherwise automatically pull down – the MSVC Build Tools, and add LDC, RDMD and Dub to the path. |
To do this maybe merge the Win32 and Win64 release first? This will make the installation even easier. Consumer Windows programs benefit from having both 32-bit and 64-bit builds. |
The 1.1 beta3 Win64 package is a multilib one. I.e., |
Can we add a chocolatey package for LDC? This would be awesome because it will allow to create a chocolatey mir-runtime package. GLAS should be precompiled. The dub package provides headers only. |
Chocolatey package looks like low hanging fruit. Here is the installation script from the dmd package: https://chocolatey.org/packages/dmd (click the "show" link behind "tools\chocolateyInstall.ps1" in the "files" section):
|
It'll have to be maintained though. I quickly looked at the Chocolatey stuff, and I must say I'm not impressed. So it's basically a repository of versioned install scripts with some meta infos and a basic dependency management system. So basic, that one cannot define a dependency to one of 2 mutually exclusive packages (VS 2015 or VC++ Build Tools). And I'm pretty sure an existing VS/Build Tools installation NOT performed via Chocolatey won't be detected. |
Further ideas for a Windows Installer: offer to install VisualD if it detects VisualStudio installed |
Resolved with #3601. |
LDC Windows installer is a key problem for Mir. LDC will be recommended compiler starting with the next release. I don't use Windows, but many scientist and students use it, and visual installer is what windows users expect. Please add it!
The text was updated successfully, but these errors were encountered: