VS2017无提示卸载和日志记录交换机 [英] VS2017 Silent Uninstall and logging Switch

查看:65
本文介绍了VS2017无提示卸载和日志记录交换机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

只是想知道是否有人知道如何以静默方式卸载VS2017?

Just wondering if anyone has figured out how to silently uninstall VS2017?

对于安装 

For the installation 

vs_enterprise.exe --productId" Microsoft.VisualStudio.Product.Enterprise"添加"exampleworkload" --all --quiet似乎工作

vs_enterprise.exe --productId "Microsoft.VisualStudio.Product.Enterprise" add "exampleworkload" --all --quiet seems to work

 但是当我去vs_enterprise.exe / uninstall --productId" Microsoft.VisualStudio.Product.Enterprise" --quiet它提取文件,然后崩溃(什么都不做)

 However when I go vs_enterprise.exe /uninstall --productId "Microsoft.VisualStudio.Product.Enterprise" --quiet it extracts the files and then crashes (does nothing)

我也测试了--passive,安装程序显示但是它与无源开关不存在相同 - 仍然需要用户干预以便用户选择"卸载"。 。

I also tested with --passive, the installer shows but it's the same as if the passive switch wasn't there - still requires user intervention for the user to select "uninstall" .

 还有--log< directory>交换机? 

 Also is there a --log <directory> switch? 

这些选项过去在2015年及以前都可用,但我无法弄清楚我的生活能否在2017年找不到它们。 

These options used to be available in 2015 and prior but I can't figure out for the life of me can't figure them out for 2017. 

感谢您阅读。

推荐答案

所以我已经测试了vs_enterprise.exe - 删除了[此处的所有工作负载]并且它可以工作,除了它不会删除Core Editor组件(显然)。因此,这种解决方法是不够的。 

So I've tested vs_enterprise.exe --remove [all the workloads here] and it works, except it doesn't remove the Core Editor component (obviously). As such this workaround would not be sufficient. 

是否有人能够为每个命令行参数提供一些语法示例?来自微软的人?它们似乎都不起作用,我很可能做了一些非常错误的事情,因为肯定必须有一种方法来静默卸载/修改
安装。

Would anyone be able to provide some syntax examples for each of the command line parameters? Someone from Microsoft? None of them seem to work, I'm most likely doing something spectacularly wrong as surely there must be a way to silently uninstall/modify installations.

https:// github .com / Microsoft / visualstudio-docs / blob / master / docs / install / use-command-line-parameters-to-install-visual-studio.md

https://github.com/Microsoft/visualstudio-docs/blob/master/docs/install/use-command-line-parameters-to-install-visual-studio.md


这篇关于VS2017无提示卸载和日志记录交换机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆