Open Bug 1281432 Opened 8 years ago Updated 2 years ago

Support automatically downloading and installing Visual C++ Community Edition in `mach bootstrap` on Windows

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(Not tracked)

People

(Reporter: ted, Unassigned)

References

Details

I ran into this blog post while looking for some other info:
https://blogs.msdn.microsoft.com/vcblog/2015/07/24/setup-changes-in-visual-studio-2015-affecting-c-developers/

Notably, it gives an installer commandline for unattended installation of the C++ parts of Visual Studio:
vs_enterprise.exe /q /norestart /InstallSelectableItems NativeLanguageSupport_Group

Given the work Nathan did in bug 1275437 to enable bootstrapping in an msys2 environment, it'd be interesting to see if we could automatically download and install Visual C++ Community Edition as part of the bootstrap process if the user doesn't already have Visual C++ installed.
If I'm understanding this correctly, Visual Studio 2015 needs to already be installed to install the C++ parts? If so, this still requires Windows devs to install Visual Studio by themselves (albeit they don't have to open up the custom prompt).
Flags: needinfo?(ted)
I don't think so, no. I believe that commandline is intended to install MSVC from scratch in an unattended manner. (I haven't tried it in a clean environment though.)
Flags: needinfo?(ted)
Product: Core → Firefox Build System
Component: General → Bootstrap Configuration
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.