Skip to content
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 should check for Visual Studio and prompt the user to install it (at least) #75285

Open
al45tair opened this issue Jul 17, 2024 · 0 comments
Labels
feature A feature request or implementation triage needed This issue needs more specific labels

Comments

@al45tair
Copy link
Contributor

Motivation

Without reading the additional Instructions page, or thinking it doesn't apply to them because they are using a newer version of Swift, users may try to install just Swift (and nothing else) on a machine using the GUI installer. Unless they also install Visual Studio and the Desktop C++ development components, this will not work — Swift requires the C runtime library and headers, as well as a Windows SDK and those are installed by Visual Studio.

Proposed solution

The GUI installer should check whether Visual Studio components are installed already, and if not, prompt the user to install them.

Alternatives considered

The GUI installer could try to install the Visual Studio components itself, though this might be complicated to achieve in practice (we may need to detect available versions of things, and there may be licensing issues too).

Additional information

I filed swiftlang/swift-org-website#763 to improve the Windows installation page as well.

@al45tair al45tair added feature A feature request or implementation triage needed This issue needs more specific labels labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature request or implementation triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant