Show Product Version column with the msi file in w

2019-03-02 17:47发布

问题:

I have an msi which is developed using wix. CustomAction in wix project triggers a Winform UI.

<Product Id="*" Name="App" Language="1033" Codepage="UTF-8" Version="10.10.10.10" Manufacturer="Corporation" UpgradeCode="{Your app Upgrade code}">

So in C# winform, i am able to get the ProductVersion (from above code in wix project .wxs file) in winform. I want to know that how can i show that product version with the msi file in Windows Explorer. Please help, Thanks in advance.

回答1:

Windows Explorer can only see attributes in the Summary Information Stream. ProductVersion is in the Property table. The best you could do is append (duplicate) the product version in one of the Summary Information Stream attributes such as Product Name or Description.