Question

I have created a Visual Studio Setup project and have set the version to 1.1.5. When I build my setup project the setup.exe file version is 9.0.21022.8. How would I retrieve the 1.1.5 file version from my setup project?

Was it helpful?

Solution

I found the answer to this through the a blog entry series from b# http://community.bartdesmet.net/blogs/bart/archive/2008/06/06/linq-to-msi-part-0-introduction.aspx

OTHER TIPS

setup.exe is just a bootstrapper that eventually launches your MSI.

The same executable is used with every MSI that you build, so its version isn't related to the deployment project that it is associated with; the version of your application is inside of the MSI file.

Programatically reading MSI build version may be useful to you, it uses WindowsInstaller.Installer to get the MSI version.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top