如何从 msi 包中提取 ProductCode? [英] How to extract ProductCode from msi package?
本文介绍了如何从 msi 包中提取 ProductCode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从 msi 包中提取 ProductCode?我想稍后使用它通过 msiexec 卸载 msi,如下所述 这里
How to extract ProductCode from msi package? I want to use it later to uninstall msi via msiexec as described here
推荐答案
我能想到几十种方法.您目前使用和/或熟悉哪些编程语言?
I can think of dozens of ways to do it. What programming languages do you currently use and/or comfortable with?
看看
您可以使用 WiRunSQL.vbs(在 Platform SDK 中提供)来运行命令:
You could use WiRunSQL.vbs ( provided in the Platform SDK ) to run the command:
cscript /nologo WiRunSQL.vbs FOO.msi "SELECT Value FROM Property WHERE Property = 'ProductCode'"
这篇关于如何从 msi 包中提取 ProductCode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文