Repository navigation
VS: install a missing Visual Studio from Microsoft's signed bootstrapper - #8669
Merged
Merged
Conversation
of vsconfig could install VS 2022 and 2026 through winget, but winget has no VS 2019 package, so VS 2019 only got a download link. - install_vs_components.sh installs any of 2019, 2022 and 2026 from Microsoft's aka.ms Community bootstrapper with that year's .vsconfig, and only runs it when it carries a valid Microsoft signature. ARM64 tools are still added for 2022/2026 on ARM hosts. - An installer exit of 3010 (restart needed) arrives in Git Bash as 194, so a successful install that wanted a reboot was reported as FAIL. Both values now count as success. - The of menu vsconfig picker marks each VS as installed or "install". VS 2019 was installed on a real machine with the same bootstrapper and 2019.vsconfig; the core and a projectGeneratorCmd -pvs2019 project then built and ran in Debug and Release with VS 2019's MSBuild.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
of vsconfigcould install VS 2022 and 2026 through winget, but winget has no VS 2019 package, so VS 2019 only got a download link.Changes
install_vs_components.shinstalls any of 2019 / 2022 / 2026 from Microsoft's aka.ms Community bootstrapper with that year's.vsconfig, and only runs it when it has a valid Microsoft signature. ARM64 tools are still added for 2022/2026 on ARM hosts.of menuvsconfig picker marks each VS asinstalledor— install.of helpexplains thatof vsconfigcan install a missing Visual Studio.Tested
2019.vsconfig; the core and aprojectGeneratorCmd -pvs2019project then built and ran in Debug and Release with VS 2019's MSBuild.--check.bash -nandgit diff --checkpassed.Not tested: this script's own download-and-install of VS 2022 or 2026 on a machine without them, or the menu picker on a machine without them.