静默卸载Chrome无法正常工作 [英] Silent Uninstall Chrome Isn't Working

查看:78
本文介绍了静默卸载Chrome无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个批处理以自动设置新计算机,并且其中一个程序是AVAST.当我静默安装avast时,它也会同时安装chrome.Chrome不是我要安装的程序,似乎没有解决方法.因此,现在我试图使它在AVAST之后静默卸载chrome,但它只是打开一个新的cmd窗口而不是运行该exe.

  @echo关闭CD/d"C:\ Program Files(x86)\ Google \ Chrome \ Application"为/r %% f IN(setup.ex?)做(START/WAIT"%% f --uninstall --force-uninstall --multi-install --chrome --system-level")暂停 

将结束引号移到%% f的末尾只会产生一个错误,即--uninstall不是现有文件.

我已经在多台PC上尝试过此操作.

解决方案

这可能不是答案...但是评论太久了!确定要安装Chrome吗?您是如何安装AVAST的?我们可以看到命令行吗?如果您使用了某种应答文件,则可以对其进行修改,也可以将参数传递给install命令.尝试使用/来执行命令?看看您是否有选择.根据这一点,您确实可以选择. https://blog.avast.com/tag/google-chrome/

"随着我们新的Avast!Free Antivirus版本5的发布日期临近,我们与Google宣布了一项激动人心的新协议.从11月中旬开始,我们将为新用户提供安装选项安装Avast时使用Google Chrome浏览器.在这里要澄清一下,因为我认为有些读者对此条目的阅读过多.我们并没有强迫用户使用Chrome浏览器,这完全取决于用户,下载/安装完全取决于用户并没有什么被隐藏."

I'm creating a batch to automate setting up new computers and one of the programs is AVAST. When I install avast silently, it installs chrome as well. Chrome isn't a program that I'm wanting to put on and it seems there is no workaround. So now I'm trying to make it uninstall chrome silently after AVAST but it just opens a new cmd window instead of running the exe.

@echo off
CD /d "C:\Program Files (x86)\Google\Chrome\Application"
for /r %%f IN (setup.ex?) DO  (
    START /WAIT "%%f --uninstall --force-uninstall --multi-install --chrome --system-level"
)
pause

Moving the end quotation to the end of %%f just gives an error that --uninstall isn't an existing file.

I've tried this on multiple PC's.

解决方案

This may not be the answer... but it's too long for a comment! Are you certain that you must instqall Chrome? How did you install AVAST? Can we see the command line? If you used some kind of answer file perhaps it can be modified or perhaps you can pass arguments to your install command. Try doing the command with /? to see if you get choices. According to this you do have a choice. https://blog.avast.com/tag/google-chrome/

"As we get close to our launch date for our new Avast! Free Antivirus, version 5 we have an exciting new agreement with Google to announce. Starting in mid-November, we will be giving our new users an option to install Google Chrome when installing Avast. And to be clear here since I think some readers were reading too much into this entry. We are not forcing Chrome on users. It is entirely up to the user–to download/install is entirely up to the user and nothing is hidden."

这篇关于静默卸载Chrome无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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