更新时间:2023-02-02 21:13:57
据我所知,没有/nointeractive
选项.
只要您具有实际的应用程序名称
,(我不知道您的'application name'
字符串中的尾随空格是否是问题,请确保它是正确的),并且它存在于 Win32_Product
,(即已安装MSI的产品)下,这是我的建议:
As long as you have the actual application name
, (I don't know if the trailing space in your 'application name '
string is an issue, make sure it is correct), and it exists under Win32_Product
, (i.e. MSI installed products), this would be my suggestion:
Echo Y|WMIC Product Where "Name='application name'" Call Uninstall