简体   繁体   English

通过 Powershell 或 Ansible 安装 Visual Studio Community 2017

[英]Install Visual Studio Community 2017 through Powershell or Ansible

I need to install vs2017 community through powershell or ansible.我需要通过 powershell 或 ansible 安装 vs2017 社区。 i have the.exe file but I'm not able to pass it parameters for continue the installation.我有.exe 文件,但我无法传递参数以继续安装。 I have tried this, based on another question:我已经尝试过了,基于另一个问题:

vs_community.exe --lang en-US --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.NetWeb Microsoft.VisualStudio.Workload.Node --add Microsoft.VisualStudio.Workload.NetCrossPlat --add Microsoft.VisualStudio.Workload.NetCoreTools --includeRecommended vs_community.exe --lang en-US --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.VisualStudio.Workload.NetWeb Microsoft .VisualStudio.Workload.Node --add Microsoft.VisualStudio.Workload.NetCrossPlat --add Microsoft.VisualStudio.Workload.NetCoreTools --includeRecommended

but installation doesn't seem to start.但安装似乎没有开始。 Does anyone know what could I do?有谁知道我能做什么? or about some useful documentation?或者关于一些有用的文档?

Thanks in advance:)提前致谢:)

check here在这里检查

https://docs.ansible.com/ansible/latest/modules/win_package_module.html https://docs.ansible.com/ansible/latest/modules/win_package_module.html

may be worth a try可能值得一试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM