Questions tagged [versioninfo]

59 questions
4
votes
2 answers

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 the DLL. It's there when I right click and look on…
Mark Irvine
  • 1,349
  • 14
  • 24
4
votes
0 answers

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 time to take some decisions. Thus I want to create…
Mahesh
  • 982
  • 8
  • 20
4
votes
1 answer

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 reflect the different names in the Version Info of…
4
votes
2 answers

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 tracking the changes in library itself when I make…
Artyom
  • 31,019
  • 21
  • 127
  • 215
3
votes
4 answers

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 from a .dll which I am currently doing…
ShowStopper
  • 103
  • 1
  • 9
3
votes
3 answers

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 application I have 4 integer variables that hold the 4…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
3
votes
1 answer

'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 correctly - except "Comments". I define it just…
macmac
  • 119
  • 8
3
votes
1 answer

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 believe that Microsoft has given up the idea of…
R. Hartman
  • 129
  • 1
  • 5
3
votes
5 answers

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)) { VersionInfo =…
2
votes
0 answers

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 /nobar Riolo.WebUI.dll /out=Riolo.WebUI.il This…
aledeniz
  • 431
  • 3
  • 13
2
votes
2 answers

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.FormCreate(Sender: TObject); begin if isWinKNedition then…
Gu.
  • 1,947
  • 4
  • 30
  • 49
2
votes
1 answer

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 put the version information inside a version.h that…
sorin
  • 161,544
  • 178
  • 535
  • 806
2
votes
1 answer

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: True False
Sergey Konkin
  • 95
  • 1
  • 3
  • 9
2
votes
0 answers

correct usage of the VERSIONINFO resource

I have set up my version table info in my version.rc file as follows: +-----------------+-----------------------------------------+ | Key | Value …
Anish Ramaswamy
  • 2,326
  • 3
  • 32
  • 63
2
votes
0 answers

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. If this value is given, the StringFileInfo block…
Mikhail Edoshin
  • 2,639
  • 16
  • 25