We build our assemblies with VS2008. I was hoping to use /SetVersion -fromfile against our main exe. That appears to set the Product Version to 1.1.7.0. Then when we embed the ProductVersion property as part of our file name, we get that same thing. I was hoping to just end up with 1.1.7 as my Product Version, as only three parts are significant to the installer. Is there an easy way to do this?
Unfortunately the "/SetVersion" command uses the entire version of the source file (some developers may need to use four fields, even if they know that Windows Installer ignores the fourth one). However, I have added on our TODO list an improvement which will make this command ignore the fourth field if it's "0". Thank you for your suggestion.
Until then, a workaround is to modify the version manually.
FOLLOW US