Ryan
Ryan

Reputation:

Visual Studio Setup exe version different from Properties version

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?

Upvotes: 0

Views: 1932

Answers (2)

Ryan
Ryan

Reputation:

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

Upvotes: 1

Daniel LeCheminant
Daniel LeCheminant

Reputation: 51081

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.

Upvotes: 0

Related Questions