public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: 3.3.1: Missing VersionInfo resource fields for cygwin1.dll
Date: Fri, 12 Nov 2021 15:49:52 -0700	[thread overview]
Message-ID: <a860b39c-8aa5-a111-8346-a47de2e158bd@SystematicSw.ab.ca> (raw)
In-Reply-To: <92c1474c-9773-8a71-3234-e1169348d103@gmail.com>

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.]

  reply	other threads:[~2021-11-12 22:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 18:47 3.3.1: Missing VersionInfo resource for all executables/DLLs Hiya Z
2021-11-11 19:26 ` Marco Atzeri
2021-11-12 22:49   ` Brian Inglis [this message]
2021-11-15  9:20     ` 3.3.1: Missing VersionInfo resource fields for cygwin1.dll Corinna Vinschen
2021-11-12 20:59 ` 3.3.1: Missing VersionInfo resource " Hiya Z

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a860b39c-8aa5-a111-8346-a47de2e158bd@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).