Hello @Sylvain Ard,
Welcome to Microsoft Q&A forum.
For Visual Studio 2019, you need to first download Visual Studio Community 2019 bootstrapper from here: Visual Studio Community 2019, and then use command line like vs_community.exe --layout c:\localVSlayout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --includeOptional --lang en-US
to generate a local layout folder for Visual Studio 2019.
For Build Tools for Visual Studio 2019, you need to first download Build Tools for Visual Studio 2019 bootstrapper from here: Build Tools for Visual Studio 2019, and then use command line like vs_buildtools.exe --layout c:\localVSBuildToolslayout --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.CLI.Support --add Microsoft.VisualStudio.Component.Windows10SDK.16299 --add Microsoft.VisualStudio.Component.Windows10SDK.17134 --add Microsoft.VisualStudio.Component.Windows10SDK.17763 --add Microsoft.VisualStudio.Component.Windows10SDK.18362 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Workload.UniversalBuildTools --lang en-US
to generate a local layout folder for Build Tools for Visual Studio 2019.
To install Visual Studio 2019, use this command c:\localVSlayout\vs_community.exe --noweb --quiet --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --includeOptional
.
To install Build Tools for Visual Studio 2019, use this command c:\localVSBuildToolslayout\vs_buildtools.exe --noweb --quiet --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.CLI.Support --add Microsoft.VisualStudio.Component.Windows10SDK.16299 --add Microsoft.VisualStudio.Component.Windows10SDK.17134 --add Microsoft.VisualStudio.Component.Windows10SDK.17763 --add Microsoft.VisualStudio.Component.Windows10SDK.18362 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --add Microsoft.VisualStudio.Workload.UniversalBuildTools
.
Several documents for you to refer to:
Create an offline installation package of Visual Studio for local installation
Visual Studio Community component directory
Visual Studio Build Tools component directory
BTW, could you please edit your question into English so that we can help you better?
Please feel free to contact us.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.