views:

623

answers:

2

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?

A: 

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.

Daniel LeCheminant
You are correct. The exe just looks for prereqs and then launches the msi. I can not view the solution from EE. I usually can, wierd.
A: 

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

related questions