Skip to content

Please fix product version of installer. #11886

@ThomasKlengel

Description

@ThomasKlengel

Description of the Issue

When you look at the Windows x64bit installers of at least 8.4 (didnt check the others), The file version is e.g. "8.4.2" but the product version is "8.42".

Steps to Reproduce the Issue

Under Windows, right click an installer, go to details, have a look at file version and product version.

Expected Behavior

Expected product version to be the same as the version that is to be installed.
(file version may be different, since the installer does not need to be the same version as the product that is installed by the installer)

Actual Behavior

The version of the installed product is e.g. "8.4.2" but the product version of the installer is "8.42"

Debug Information

Under Windows, right click an installer, go to details, have a look at file version and product version.

stackoverflow

You can set the value displayed in the "Product Version" info using the AssemblyInformationalVersion attribute. Set this in your Assembly.cs file like this:

[assembly: AssemblyInformationalVersion("1.2.3.4")]
From the Microsoft documentation:

Note: If the AssemblyInformationalVersionAttribute attribute is not applied to an assembly, the version number specified by the
AssemblyVersionAttribute attribute is used by the Application.ProductVersion, Application.UserAppDataPath, and Application.UserAppDataRegistry properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions