I'm trying to get the version from MSI/exe files.
Pic
I tried both exe and msi file but it returns as null.
var versionInfo = FileVersionInfo.GetVersionInfo(@"path\setup.exe");
string version = versionInfo.FileVersion;
I tried write the version in the description field and read it but again, it returns as null.
How can I get this field by code ?