Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个安装一个 MSI 的 Wix Bundle。现在我想自动卸载 Bundle。
我试过 msiexec /x ,它只卸载了 MSI 和 wmic ,它找不到 Bundle 。
有没有办法自动卸载 Wix 包?
使用开关运行原始的 bundle.exe -uninstall。您还可以指定-quiet或-passive获取更少的 UI。
-uninstall
-quiet
-passive
由于捆绑包是标准 exe,您需要使用卸载命令行参数实际运行它:
C:\BundleName.exe -uninstall