相关疑难解决方法(0)

静默卸载 Lenovo ThinkVantage System Update

需要通过 SCCM 2012 推出最新的 Lenovo ThinkVantage System Update (v5.06.0034)。我希望此更新取代所有较低版本,为此我需要静默卸载那些以前的版本。

通常,可以通过使用带有 /quiet 或 /qn 参数的 TVSU 的 UninstallString 来做到这一点:

MsiExec.exe /X{25C64847-B900-48AD-A164-1B4F9B774650} /qn
Run Code Online (Sandbox Code Playgroud)

从技术上讲,这是有效的。但是,Lenovo 安装程序会在卸载后询问用户是否要删除程序文件夹,这需要用户输入(是或否)。因此,当卸载以静默方式启动时,安装程​​序将无限期挂起,因为用户无法与安装程序交互。

有没有办法为此安装程序提供 unattend.xml 或者有人知道我可以与联想的 System Update 安装程序 .exe 一起使用的特定命令开关吗?

编辑

正如@kce 建议的那样(谢谢!),我在卸载过程中打开了 msiexec 的日志记录级别。虽然我找不到任何可能通过 msiexec 手动传递的属性,但这是安装程序创建“删除文件夹?”对话框的部分,以及用户按下是时调用的函数。也许它可以帮助任何人:

MSI (s) (80!84) [10:52:44:046]: Creating MSIHANDLE (77) of type 790531 for thread 3716
InstallShield 10:52:44: Registering Msi Server...
MSI (s) (80!84) [10:52:44:046]: Closing MSIHANDLE (77) of type 790531 for thread 3716
MSI (s) (80!84) [11:03:27:239]: Creating MSIHANDLE (78) of type 790531 for …
Run Code Online (Sandbox Code Playgroud)

silent uninstall sccm

4
推荐指数
1
解决办法
3732
查看次数

标签 统计

sccm ×1

silent ×1

uninstall ×1