Questions tagged [versioninfo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
38 views

How to find latest version number of python from web?

I'm looking for getting latest version of python. For example, I can find latest version of golang at https://go.dev/VERSION?m=text Is there same thing as golang?
0 votes
0 answers
483 views

ImportError: cannot import name 'VersionInfo'

I am using LaunchDarkly in my repository for flag-related features. Until recently everything was working fine when I started encountering this error while deploying my service: ImportError: cannot ...
0 votes
1 answer
90 views

Linking .res file with an Executable (CMake)

i've been trying to link compiled .res file with CMake for some time, i searched internet but there is no much info bout it. I tried adding this into my CMakeList.txt SET(RESOURCE_FILE scac.res) file(...
  • 49
0 votes
1 answer
66 views

How can this code to compare version information be improved?

I have a problem with my logic to compare version information. Take this method: bool CPTSDatabase::IsInstalledPublicTalksVersionSupported() { CSettingsStore store(TRUE, TRUE); CString strPath,...
0 votes
0 answers
47 views

PowerShell on MaxOs versionInfo is empty

I need to get the versionInfo of a windows executable with a Python script running on MacOS. Since Winapi is not available on MacOS, I found that the way to do is via powershell commands. Installed it ...
  • 87
4 votes
0 answers
1k views

Execute py script in pyinstaller spec file

I use PyInstaller to bundle my app in exe (for windows as of now). I have successfully added version info to the exe file by creating the version.rc file. I also want to use current version at run ...
  • 962
0 votes
1 answer
968 views

Add VERSIONINFO to SFX installer

I've written a PowerShell script that creates a Self-Extracting Archive (a.k.a. SFX) executable file with WinRAR command-line. The problem is that the VERSIONINFO metadata is completely empty (...
  • 3,689
4 votes
1 answer
339 views

How do I localize VersionInfo of an Inno Setup installation file?

I am creating an application that has a different name depending on the user language. So for example the software is called "Device Emulator" in English and "Geräteemulation" in German. I want to ...
0 votes
1 answer
267 views

Programmatically change VersionInfo of a foreign DLL

I am trying to programmatically change the VersionInfo attributes of a DLL file. I used this article as reference. #include <iostream> #include <stdio.h> #include <windows.h> int ...
1 vote
2 answers
1k views

How to get Version Info entries using C++ Builder

The thread at How to get version info shows the code to get FileVersion, I need to get other values, includuing some I myself have added to VersionInfo table. How can I get them using C++Builder 10.2 ...
0 votes
1 answer
828 views

How to add version and copyright info to a file in MacOs

I am building an executable in GoLang for MacOs. I need to add version and copyright information to the built file. How do I do this during the go build process or afterwards? For example the iBooks ...
  • 2,825
6 votes
1 answer
2k views

VERSIONINFO resource not being shown in EXE properties

I'm using Delphi 10.0 Seattle on a machine with Windows 10. We have a system that has several executables. We use the version information via .rc file: 1 VERSIONINFO FILEVERSION 18,2,0,1660 ...
  • 61
0 votes
3 answers
5k views

Python version Check (major attribute)

What does sys.version_info.major do? I understand that sys.version_info returns the version of interpreter we are using. What role does major have to do in this? How does it work in the following code?...
0 votes
0 answers
33 views

How can I revert version info keys to use the base target configuration?

In C++ Builder XE7 (I guess it is the same in all versions), in Project Options under Version Info. if I for example select the target Debug build configuration and sets a value for the File ...
  • 5,547
0 votes
1 answer
344 views

Update DLL RC info from powershell

I'm trying to update/add some RC information in DLL directly from the Powershell. I have found how I can get it but I didn't found how set some field like SpecialBuild or PrivateBuild. PS C:\> (...
  • 1,157
0 votes
1 answer
1k views

Trademark symbol in version-information resource

I'm modifying my Delphi projects to use a version-information resource file instead of storing version information within the project file. My VersionInfo.rc file: 1 VERSIONINFO FILEVERSION 1,10,0,...
  • 1,771
1 vote
1 answer
2k views

'Comments' part of VERSIONINFO not displayed

I'm trying to use 'Comment' field of VERSIONINFO resource. The target program is 64-bit windows EXE file (compiled with VS 2015). All elements like version, copyright, description and so on are shown ...
  • 89
-2 votes
2 answers
524 views

Delphi version specific compilation related to graphics and AnsiStrings units

I have one unit which I want to be compiled under any Delphi version from let's say Delphi 2006. It has next code which have problems compiling: uses graphics; // for previous versions can not be ...
  • 145
0 votes
1 answer
499 views

VS_VERSIONINFO structure - unnecessary padding

I have taken the VS_VERSIONINFO structure from a file and the Value (VS_FIXEDFILEINFO) is padded with 32 bits. According to MSDN, Value should be padded to fall on a 32 bit boundary. Padding1 ...
  • 1,203
0 votes
0 answers
112 views

Windows VERSIONINFO information special chars

I wonder if there are characters that I should NOT use in the VERSIONINFO. Such that potentially will cause problems down the road. VALUE "CompanyName", "Company Name" VALUE "FileDescription"...
  • 1,577
1 vote
1 answer
104 views

Sorting versioning info in tablesorter.js

I was wondering if there was a way to sort several version numbers (like 1.8.5 or 2.7.1). Their length is not always the same (1.8 is greater than 1.7.1 for instance). Is there a way to do that?
5 votes
1 answer
687 views

Change build number in an executable

I'm looking to change the build number (low-order of VersionLS) in the version info of an executable. So, I should read the VS_VERSIONINFO structure, change the build number and then update it back to ...
  • 2,062
1 vote
3 answers
8k views

Add Version Info into .rc file in Qt

I've got a myprogramm.exe.manifestfile and myprogramm.rc resource file respectively. When I add to resource file (where there is a CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "myprogramm.exe....
3 votes
1 answer
2k views

What has replaced the VERSIONINFO resource for C# projects?

C# projects use a .resx file for resources. This is fine for strings, but it does not seem to have the equivilant of the old VERSIONINFO resource that the C++ project .rc files supported. I can not ...
2 votes
1 answer
2k views

How to inject the right version information into the resources at compile time?

I was surprised to discover that apparently it is not possible to import C predefined macros inside the resource files (.rc) because Resource Compiler is not able to deal with them. I was trying to ...
  • 158k
2 votes
1 answer
4k views

How to manualy change Version Info in Delphi project

I want to manualy set an Version of program in Delphi project, without IDE. When I change a *.dproj file like this: <VersionInfo> <VersionInfo Name="IncludeVerInfo">True</...
1 vote
1 answer
140 views

Can DOS MZ binaries have VERSIONINFO metadata at all?

I was under impression what VERSIONINFO resource is a purely Windows invention, however while reading documentation, I stumbled upon VOS_DOS possible value of fileos parameter of VERSIONINFO resource ...
  • 2,021
2 votes
0 answers
1k views

correct usage of the VERSIONINFO resource

I have set up my version table info in my version.rc file as follows: +-----------------+-----------------------------------------+ | Key | Value | +------...
1 vote
0 answers
281 views

Modify description of compiled exe

I want to modify the version info of a compiled exe to change the description. I looked at it a bit myself and figured out I need to use the UpdateRessource function, and I got this far. LPBYTE ...
0 votes
0 answers
2k views

install pyquery for python

I want to install pyquery I have lxml-2.2.2 folder I dnt know how to proceed I have tried setup.py install in cmd prompt C:\Python27\Scripts>setup.py install Traceback (...
  • 455
2 votes
0 answers
367 views

When to set Windows VERSIONINFO PrivateBuild?

When should I set the PrivateBuild flag in Windows VERSIONINFO resource? The Microsoft docs say that I need to use it in the following case: "File was not built using standard release procedures. ...
1 vote
1 answer
1k views

Command line defines for rc.exe ms resource compiler to set version values in VersionInfo

I'm trying to configure our resource build to take version info on the command line rc.exe /DVERCSV=8,0,0,0 /DVERDOT="8.0.0.0" I thought it was working to start with, but there seems some glitch. I ...
  • 13.8k
6 votes
1 answer
19k views

Powershell get-item VersionInfo.ProductVersion incorrect / different than WMI

I'm trying to understand why Powershell would get back a different version number for a DLL file than what both the file properties page from Windows Explorer, and a WMI query shows. (I apologize in ...
3 votes
5 answers
8k views

An empty string is a null reference?

Why would this code (in my form's _Load() event): FileVersionInfo vi = FileVersionInfo.GetVersionInfo(_fullPath); String VersionInfo = vi.FileVersion; if (VersionInfo.Trim().Equals(String.Empty)) { ...
0 votes
1 answer
402 views

Compile with CodeDom, but don't include the "VERSIONINFO" Win32 Resource

I'm compiling C# code using CodeDom. Even when there are no resources specified, it still compiles a Win32Resource called "VERSIONINFO". I know I can remove it with BeginUpdateResource after it is ...
  • 13.9k
1 vote
1 answer
531 views

How do I make a Win32 PE executable with included resources and specific VERSIONINFO information with an x86 assembler?

What tools would I use to create a Windows 95 and NT compatible executable that includes specific resources (.rsrc data) and specific VERSIONINFO data (such as the "CompanyName" and the "...
  • 1,453
11 votes
5 answers
6k views

How to manage version information on Delphi XE2 across platforms

I am migrating projects from XE to XE2 and I have noticed that I am missing my manually entered version information such as Company Name, Product Version etc. Creating a simple empty VCL forms ...
  • 13.3k
6 votes
1 answer
3k views

Set EXE VersionInfo

The information on the version Exe-file I receive by means of VerQueryValue. Is there an inverse function (WinApi or Delphi) which can register (establish or change) such information? Here, for ...
  • 1,937
0 votes
1 answer
2k views

Can tlbimp.exe generate interop assemblies with customized version info?

The Microsoft Type Library Importer tool (tlbimp.exe) generate interop assemblies without some version info, i.e. no company, no copyright, no trademarks and number version always set to 1.0.0.0. Is ...
  • 431
2 votes
0 answers
2k views

Modify the version information of a built .NET assembly

Is there a better way to modify the version information of a .NET assembly of the one I am currently using. My current approach is the following. I do disassemble the assembly with ildasm: ildasm ...
  • 431
3 votes
4 answers
1k views

Limit PowerShell VersionInfo output to only 3 decimal places where 4 decimal places are given or Remove Decimal Place in VersionInfo

I tried my best to find the answer on my own for almost 2 days before posting. I apologize in advance if this question is already answered somewhere on this site. In short, I need to pull VersionInfo ...
2 votes
2 answers
2k views

How to detect Windows KN / K / N edition

Delphi Xe, Win7x64 How to detect incomplete Windows edition N or K (Win XpSp3-Win7x64)? Without IE, Wmp. Example: Function isWinKNedition:bool; begin result:=????? end; ... procedure TForm1....
  • 1,937
1 vote
2 answers
13k views

c++ get version from .rc into code [duplicate]

Possible Duplicate: How do I read from a version resource in Visual C++ in my c++ project i've added a .rc file where I can store the file version, the executable description, copyright, etc.. ...
  • 7,793
0 votes
2 answers
834 views

Difficulty in establishing VersionInfo for existing C++ DLL project

I have an extant C++ DLL which compiles properly, but has no version information associated with it such was the Version tab in Properties for the compiled library. The odd things about it is that it ...
4 votes
2 answers
4k views

Extract Assembly Version from DLL using Python

I'm trying to extract some version information from a DLL using python. I read this question: Python windows File Version attribute It was helpful, but I also need to get the 'Assembly version' from ...
  • 1,352
3 votes
3 answers
5k views

How to use project version information inside a Delphi application?

I use Project Options / Version to manage the version info (N.N.N.N format). Anyway inside my project I duplicate those info. So if in project options I am working on release 2.4.3.178 inside my ...
  • 14.6k
44 votes
2 answers
37k views

Setting application info in a Qt executable file on Windows

Anyone have an tips on setting the application info (ie. right click on .exe->properties) from Qt? I can add arbitrary version strings to Qt resource file (qrc) and display them. But most Windows ...
1 vote
2 answers
1k views

visual-studio-2008 versioninfo for all files updated from one place

The version information, displayed when the mouse cursor hovers over the file in windows explorer, is set for a file built by visual studio in the VERSION resource. I would like to set the version in ...
  • 18.3k
4 votes
2 answers
470 views

Libtool versioning of a library that depends on other libraries

I have a framework that uses Boost and CgiCC in the core application and in its interface. How should I version the library binary interface (a.k.a. libtool -version-info)? I have no problems ...
  • 30.7k
13 votes
3 answers
20k views

Compiling DLL with Version Information

What steps are needed to compile Version Information inside a windows DLL from the command line. I have been looking at VersionInfo files, but could not figure out how to link them to the DLL. Thank ...
  • 4,449