Questions tagged [versioninfo]

59 questions
0
votes
0 answers

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 via brew as described here. pwsh is running…
Ido A
  • 87
  • 1
  • 1
  • 8
0
votes
2 answers

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 does have a .rc file in Visual Studio which is…
0
votes
1 answer

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 (accessed by right-clicking the *.exe file that was…
Lews Therin
  • 3,707
  • 2
  • 27
  • 53
0
votes
1 answer

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 #include #include int main(int argc, char** argv) { LPCTSTR lpszFile =…
Daniel Marschall
  • 3,739
  • 2
  • 28
  • 67
0
votes
1 answer

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 application has this information P.S. I usually…
Buzzy
  • 2,905
  • 3
  • 22
  • 31
0
votes
2 answers

VerQueryValue Fileversion doesn't match Windows Shell

I'm using the VerQueryValue to retrieve strings from a DLL's VersionInfo. All works fine, except that the FileVersion displayed by Explorer (right-click on file, Properties, Details, "File Version") doesn't match the string I get from the…
Roddy
  • 66,617
  • 42
  • 165
  • 277
0
votes
3 answers

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? import sys if sys.version_info.major < 3: …
Ayush Shridhar
  • 115
  • 4
  • 11
0
votes
0 answers

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 description key. Then later on I do the same in the target…
Max Kielland
  • 5,627
  • 9
  • 60
  • 95
0
votes
1 answer

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:\> (gi .\mydll.dll).VersionInfo | fl OriginalFilename :…
David
  • 1,177
  • 3
  • 11
  • 26
0
votes
1 answer

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,999 PRODUCTVERSION 1,10,0,0 FILEOS 0x4 FILETYPE…
Michael S.
  • 1,771
  • 15
  • 20
0
votes
1 answer

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 Type: WORD Contains as many zero words as necessary to…
Chris
  • 1,213
  • 1
  • 21
  • 38
0
votes
0 answers

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", "File Description" VALUE "FileVersion",…
Rotem Varon
  • 1,597
  • 1
  • 15
  • 32
0
votes
0 answers

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 (most recent call last): File…
Ashwin
  • 455
  • 3
  • 7
  • 15
-2
votes
2 answers

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 compiled on Delphi XE uses vcl.graphics; //…
Mike K.
  • 145
  • 10
1 2 3
4