Questions tagged [fileversioninfo]

Use this tag for questions related to the version-information resource in Windows. Version information makes it easier for applications to install files properly and enables setup programs to analyze files currently installed. The version-information resource contains the version number of the file, its intended operating system, and the original file name.

77 questions
0
votes
0 answers

Delphi 11 Alexandria: Version info is missing from EXE

(Original question: I added a VERSIONINFO resource to the project, but it is missing from the compiled executable. I did a text search both in ANSI and Unicode, but the pattern is not found. Of course, the "Include version information in project"…
malom
  • 223
  • 2
  • 11
0
votes
0 answers

Version info details displayed incorrectly in final exe

My requirement is to generate the version information via VersionInfo.rc file so have used the following file given below. Reference link : https://helloacm.com/how-to-store-file-information-version-in-resource-file-for-delphi-projects/ 1…
mano
  • 308
  • 3
  • 19
0
votes
1 answer

How can I compare the product version of a remote .exe file against a known value?

I'm trying to use the following code to compare a file's version to a specified version and tell me which one is higher. $servers = Get-Content -Path "C:\Temp\reviewfileversion\servers.txt" $versioupdated = "16.11.32106.195" foreach ($server in…
0
votes
1 answer

VS_VERSION_INFO not showing in Windows Explorer after switching to Windows SDK Resource Compiler

I use a RC (resource) file to get version information linked into the EXE file, and recently I switched from Borland Resource Compiler to Windows SDK Resource Compiler, in order to be able to use multiple sizes icons in my application. The icon…
0
votes
1 answer

FileVersion in SDK project is correct but is not reflected in output file

I'm new to the SDK project world and trying to convert an old project over. It's working great for the most part but I can't get any of the AssemblyInfo.cs info to show up in the output file. I've deleted the actual assemblyinfo.cs file and placed…
0
votes
0 answers

How to get WinBuild info using C/C++

The WinBuild information can be obtained using the Powershell command "(Get-Item C:\Windows\System32\kernel32.dll).VersionInfo | format-list". This returns the following FileVersion info: FileVersion : 10.0.17763.1697 (WinBuild.160101.0800) I…
amah
  • 73
  • 1
  • 13
0
votes
1 answer

Managing VS_VERSION_INFO FILEVERSION from external resource

I am using VS2019. I one solution I have few c++ projects sharing a common static library. For managing version info I use Version resource. The only modification on executables I do perform is changing the library's code. So I would like for the…
0
votes
1 answer

How to copy/download all versions of a file inside S3 java

I'm trying to find a way to download or copy all versions of a file from S3 to S3 bucket in different folde.
0
votes
1 answer

FileVersionInfo.GetVersionInfo alternative

I have an application that checks for updates. To check for updates I need to get the version of the file on the user's computer. I used this code: if (File.Exists(dataFile)) { var verLocal =…
0
votes
1 answer

Get the file version of specific project

I have a function, which returns the Assembly File Version of a C# project (in Visual Studio). The problem is, that it is not located in the main project, so instead of returning the version of the actual application, it returns the version of the…
Jakob Busk Sørensen
  • 5,599
  • 7
  • 44
  • 96
0
votes
1 answer

read FILEVERSION value in code

My dll built in c++ has a .rc file that contains this: VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,8,7 PRODUCTVERSION 1,0,8,7 I wish read the FILEVERSION value to log into my code.. how can I do? I read something, but all the posts are relative…
ghiboz
  • 7,863
  • 21
  • 85
  • 131
0
votes
0 answers

Java Write version info in zip file attribute

I am exporting my data in form of zipping. I need to validate the version of my product, which version the file was exported. I have to validate the file version. Is there any way in java that I can write/read the version of that file in File…
Mitul Maheshwari
  • 2,647
  • 4
  • 24
  • 38
0
votes
0 answers

UnityEngine 4.5.5f Can't get file version info

I'm trying to get the fileversion using https://msdn.microsoft.com/en-us/library/system.diagnostics.fileversioninfo(v=vs.110).aspx and also process.MainModule.FileVersionInfo but both of them return an empty string. If I try It with a simple Console…
DreTaX
  • 760
  • 2
  • 9
  • 22
0
votes
1 answer

Get Version info for download file in HTML

Our website includes a link where customers can download the latest update.exe files. We'd like to have the web page automatically display the file version info of each patch file. The files are digitally signed native windows executables. Is there…
Michael
  • 401
  • 5
  • 16
0
votes
2 answers

Comparing FileVersionInfo to check older version

I created an AddIn for Autodesk Inventor. Now it is finished and installed on each user workstation. Whenever I have a update for the AddIn the user needs to run the installer to get the latest update, this process I would like to automate that the…
Mech_Engineer
  • 535
  • 1
  • 19
  • 46