2017-10-16 180 views

回答

0

MSI文件没有“FileVersion”。只有一个MSI PorductVersion。

ProductVersion是MSI文件中的常规属性。

在WiX中,您可以直接在项目节点(see WiX docu)中找到ProductVersion

您可以使用MSI-Api或COM访问属性表来检索信息。这里有一个C# sample

+0

不完全是我所要求的,但https://stackoverflow.com/questions/4347325/checking-productversion-of-an-msi-programatically也做的伎俩。谢谢! – Jaster