【发布时间】:2010-09-19 08:24:14
【问题描述】:
是否有人拥有 MSIINV.EXE(MSI 清单工具)的副本?以前可用的站点已关闭(http://www.huydao.net/)。我正在尝试卸载某些组件以强制 Visual Studio 安装程序重新安装它们。我很抱歉,因为这不是一个严格的编程问题,但我认为任何安装了一些 Visual Studio 测试版的人也可能遇到了这个问题。
【问题讨论】:
标签: windows-installer uninstallation
是否有人拥有 MSIINV.EXE(MSI 清单工具)的副本?以前可用的站点已关闭(http://www.huydao.net/)。我正在尝试卸载某些组件以强制 Visual Studio 安装程序重新安装它们。我很抱歉,因为这不是一个严格的编程问题,但我认为任何安装了一些 Visual Studio 测试版的人也可能遇到了这个问题。
【问题讨论】:
标签: windows-installer uninstallation
我创建了一个 GitHub 存储库,其中包含原始源代码和 MsiInv.exe 的 .exe 副本。我是原作者。
https://github.com/ZisBoom/MsiInv.exe
我最常见的用法是msiinv.exe -p 列出所有已安装的产品,
或msiinv.exe -p | findstr /i <pattern> 查找特定产品。
msiinv.exe -p <leading match> 要求您知道产品的“startswith”名称,而 findstr 对于子字符串很有用。
命令行选项:
msiinv.exe -?
Usage: msiinv.exe [option [option]]
-p [product] Product list
-f Feature state by product. (includes -p)
-q Component count by product (includes -p)
-# Component count and features states by product (-p -f -q)
-x Orphaned components.
-m Shared components.
-c Evaluate components (-x -m).
-l List of log files.
-t Elapsed time for run. (Benchmarking)
-s Reduced output.(-p -#)
-n Normal output. (default)
-v Verbose output. (default + feature and component lists)
【讨论】:
那个工具有什么作用?它是否列出了来自 MSI 的组件 GUID?如果是这样,我发现 WiX 的 DARK 工具可以很好地告诉我 MSI 中的内容。
【讨论】:
工具 msiinv.exe 它真正的作用只是列出所有已安装 MSI 软件包的 GUI。您可以使用文件作为输出。
然后,MSI Inventory 工具将提供所需的 GUI,以便运行“msiexec.exe /x {B3A02601-8FE9-4108-8E95-D94171A2F8C8}”并卸载所需的包。
谢谢。
信仰。
【讨论】: