2
votes

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
Do you want to see the ProductVersion only for yourself or do you want users to see the ProductVersion? In the former case you might find a shell extension that can show Windows Installer properties. You could also open the .msi file in a tool like Orca or InstEd and have a look at the Property table. - zett42
Good question. Do you want to see this on your own machine or for users to see it on all of their machines? I wouldn't write a shell extension for the latter and for the former it hardly seems worth the effort to me as @zett42 points out you can just look at it in Orca. - Christopher Painter

1 Answers

5
votes

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.