Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:30:17+00:00 2026-06-05T16:30:17+00:00

So Product Management have decreed that our software should have version numbers with 3

  • 0

So Product Management have decreed that our software should have version numbers with 3 sets of digits rather than the usual 4 (e.g. 1.2.3 rather than 1.2.3.4)

This is easily accomplished in the “About” dialogs and elsewhere in UI, but I’m having issues with Windows properties.

When I change the values in VERSIONINFO block to:

FILEVERSION 1,2,3
PRODUCTVERSION 1,2,3

VALUE "FileVersion", "1.2.3"
VALUE "ProductVersion", "1.2.3"

I end up with the following in Windows 7’s Properties > Details tab for the exe:

File version: 1.2.3.0
Product version: 1.2.3

Changing the values to all be different indicates that “File version” is taken from FILEVERSION and so always formatted as a 4-digit group value, but “Product version” is taken from “ProductVersion”.

Is there any way to specify that “File version” should be taken from the “FileVersion” string value? If I remove the FILEVERSION block I just end up with a “File version” of 0.0.0.0.

I have reproduced this behaviour in VS2010 by creating an empty Win32 console application, then adding a default version resource:

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,1
 PRODUCTVERSION 1,0,2
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "080904b0"
        BEGIN
            VALUE "CompanyName", "TODO: <Company name>"
            VALUE "FileDescription", "TODO: <File description>"
            VALUE "FileVersion", "1.0.3"
            VALUE "InternalName", "VersionT.exe"
            VALUE "LegalCopyright", "Copyright (C) 2012"
            VALUE "OriginalFilename", "VersionT.exe"
            VALUE "ProductName", "TODO: <Product name>"
            VALUE "ProductVersion", "1.0.4"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x809, 1200
    END
END

Resulting in the same issue:
properties http://media.use.com/images/s_1/4ba4e5b1b235179b1c9a.jpg

This image may come out small, so I’ll just confirm that it says
File version 1.0.1.0
Product version 1.0.4

Before I tell Product Management that this is the best we can do, is there any way to get Windows to show the “FileVersion” string value instead? I’ve read through the VERSIONINFO documentation on MSDN, and can’t see any flags that I can set to do this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:30:19+00:00Added an answer on June 5, 2026 at 4:30 pm

    After building and installing this shell extension I found at CodeProject, it seems that this is due to Windows 7 displaying only a subset of the versioninfo properties, and there’s nothing I can do to change it. The FileVersion string is present in the exe, it just isn’t displayed in the default properties dialog.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our company publishes our software product's documentation using a custom-built content management system using
We have a web-based product that is used for project management and planning. Each
I have a product management page that contains a textarea in which some html
I have a generic software product that 3 potential clients customers (maybe more) might
Our product includes some custom hardware, that connects to a PC via USB. We've
Say I've been tasked to architect a product that will have a browser-based front
I have implemented product management system.I want to add one new features in which
Our team uses Eclipse to develop a software product, and recently we switched to
We have a setup a product management system where the head of the product
Let's say that I have written a custom e-mail management application for the company

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.