Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1616

Add version info to the installer binary on Windows

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • General
    • None
    • Windows

    Description

      Most exe and dll files on Windows have their version information such as file version, product version, company name, copyright, description and etc.

      It would be much better if Qt IFW can add these version information to the installer on Windows.

      I know version information of PE files can be updated by using the GetFileVersionInfoSizeW, GetFileVersionInfoW, VerQueryValueW and UpdateResourceW APIs, but sadly I don't know the details to achieve it.

      Here's how Inno Setup does it: https://github.com/jrsoftware/issrc/blob/master/Projects/CompResUpdate.pas . It's written in Delphi though.
      And here's how NSIS does it: https://sourceforge.net/p/nsis/code/HEAD/tree/NSIS/trunk/Source/ResourceVersionInfo.cpp . It's written in C++.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            wangwenx190 赵 宇航
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes