3.3.1: Missing VersionInfo resource fields for cygwin1.dll
Brian Inglis
Brian.Inglis@SystematicSw.ab.ca
Fri Nov 12 22:49:52 GMT 2021
On 2021-11-11 12:26, Marco Atzeri via Cygwin wrote:
> On 11.11.2021 19:47, Hiya Z via Cygwin wrote:
>> Upgraded to 3.3.x and noticed that the VersionInfo resource fields
>> for all binaries under bin are blank (Properties->Details from
>> Explorer). Is this by intent or a miss?
>> It is breaking my application installer that relied on version check for
>> cygwin1.dll.
> Binaries should not have VersionInfo, only cygwin1.dll had it.
> Not checked on 3.3.x
Confirmed missing from cygwin.dll 3.3.0 64 and 32 bit and present up to
at least 3.2.1. Also present in some other DLLs:
cyg{asprintf,crypto,freetype,icons,iconv,lzma,ruby,ssl,unistring,usb,z}*.dll
Using SysInternals sigcheck and if you don't have that, base WMIC:
$ head /proc/version
CYGWIN_NT-10.0-19042 version 3.3.0-341.x86_64 (kbrown@moufang2) (gcc
version 11.2.0 (GCC) ) 2021-09-24 22:07 UTC
$ sigcheck -a `cygpath -m /bin/cygwin1-old.dll`
Sigcheck v2.73 - File version and signature viewer
Copyright (C) 2004-2019 Mark Russinovich
Sysinternals - www.sysinternals.com
c:\...\bin\cygwin1-old.dll:
Verified: Unsigned
Link date: 17:00 1969-12-31
Publisher: n/a
Company: Red Hat
Description: Cygwin POSIX Emulation DLL
Product: Cygwin
Prod version: 3.1.7
File version: 3.1.7
MachineType: 64-bit
Binary Version: 3001.7.0.0
Original Name: cygwin1.dll
Internal Name: cygwin1.dll
Copyright: Copyright ? Cygwin Authors 1996-2020
Comments: n/a
Entropy: 6.011
$ sigcheck -a `cygpath -m /bin/cygwin1.dll`
Sigcheck v2.73 - File version and signature viewer
Copyright (C) 2004-2019 Mark Russinovich
Sysinternals - www.sysinternals.com
c:\...\bin\cygwin1.dll:
Verified: Unsigned
Link date: 17:00 1969-12-31
Publisher: n/a
Company: n/a
Description: n/a
Product: n/a
Prod version: n/a
File version: n/a
MachineType: 64-bit
Binary Version: n/a
Original Name: n/a
Internal Name: n/a
Copyright: n/a
Comments: n/a
Entropy: 5.934
$ wmic datafile where name='"'`cygpath -w /bin/cygwin1-old.dll|sed -e
's@\\\\@&&@g'`'"' get /format:list
AccessMask=2032127
Archive=TRUE
Caption=C:\...\bin\cygwin1-old.dll
Compressed=FALSE
CompressionMethod=
CreationClassName=CIM_LogicalFile
CreationDate=20200723000343.010135-360
CSCreationClassName=Win32_ComputerSystem
CSName=...
Description=C:\...\bin\cygwin1-old.dll
Drive=c:
EightDotThreeFileName=c:\...\bin\cy473f~2.dll
Encrypted=FALSE
EncryptionMethod=
Extension=dll
FileName=cygwin1-old
FileSize=3551958
FileType=Application Extension
FSCreationClassName=Win32_FileSystem
FSName=NTFS
Hidden=FALSE
InstallDate=20200723000343.010135-360
InUseCount=
LastAccessed=20211112142818.465322-420
LastModified=20200803094909.988243-360
Manufacturer=Red Hat
Name=C:\...\bin\cygwin1-old.dll
Path=\...\bin\
Readable=TRUE
Status=OK
System=FALSE
Version=3001.7.0.0
Writeable=TRUE
$ wmic datafile where name='"'`cygpath -w /bin/cygwin1.dll|sed -e
's@\\\\@&&@g'`'"' get /format:list
AccessMask=
Archive=TRUE
Caption=C:\...\bin\cygwin1.dll
Compressed=FALSE
CompressionMethod=
CreationClassName=CIM_LogicalFile
CreationDate=20210926060704.341363-420
CSCreationClassName=Win32_ComputerSystem
CSName=...
Description=C:\...\bin\cygwin1.dll
Drive=c:
EightDotThreeFileName=c:\...\bin\cygwin1.dll
Encrypted=FALSE
EncryptionMethod=
Extension=dll
FileName=cygwin1
FileSize=3553176
FileType=Application Extension
FSCreationClassName=Win32_FileSystem
FSName=NTFS
Hidden=FALSE
InstallDate=20210926060704.341363-420
InUseCount=
LastAccessed=20211112144808.053049-420
LastModified=20210924151439.000000-420
Manufacturer=
Name=C:\...\bin\cygwin1.dll
Path=\...\bin\
Readable=TRUE
Status=OK
System=FALSE
Version=
Writeable=TRUE
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
More information about the Cygwin
mailing list