I have a set up project with current version in the format "a.bc.xy". I want to change the version number to "a.b.cd.xy" having 3 decimal periods in the version number. When I changed the version number and hence also the product Code, and then built the set up project I am getting the following error:
Invalid product version 'a.b.cd.xy'.
Must be of format '##.##.####'.
Can anyone kindly let me know, how to change the version no format to have 3 decimal periods in the version number?
MSI supports a three-part version number format only. For some details about version numbering within MSI and Windows see this blog post.
None of these answers fixed it for me. I found a different solution: in your solution, click the project (vdproj). Look in the "Properties" panel (not the same as right-click. Instead, press F4).
The last setting is called "Version". It gets copied-in from your other project(s), and needs to be formatted #.#.# instead of the automatic #.#.#.#.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With