I’m trying to add a feature to my winforms app that prints the version number on the main screen. I currently have this:
txtVersion.Text = ProductVersion.ToString();
Which tells me the version of the program – all well and good.
However, what I’d ideally like it to do is to pick up the version of the installer program that was used to create the msi. Is there a way to either interrogate this from within the installed program, or to transfer the information during installation somehow?