I have setup.exe. This is a Basic MSI Installation package. I use InstallShield to create it. How can I get its FileVersion in MSBuild script? I cannot use GetAssemblyIdentity task
<GetAssemblyIdentity AssemblyFiles="setup.exe">
<Output
TaskParameter="Assemblies"
ItemName="MyAssemblyIdentities"/>
</GetAssemblyIdentity>
because my setup.exe is not an assembly and doesn't contain an assembly manifest, so an error appears if invoke this task:
Could not load file or assembly 'setup.exe' or one of its dependencies. The module was expected to contain an assembly manifest.