EXE Author's name on Windows 11

Re: EXE Author's name on Windows 11

Postby Jimmy » Sun Jul 30, 2023 11:11 am

hi Enrico,
Enrico Maria Giordano wrote:Please look at the startup applications tab in the Task Manager of Windows 11. The Author's name is displayed only for the apps and not for the desktop programs anymore. It was few months ago, I am sure.

when you talk about Task Manager : right click on Header to "add" Company Name

---

this CODE will show you all available Property
Code: Select all  Expand view
FUNCTION GetMetaData( cPath, cFilename )
LOCAL aRet          := {}
LOCAL nItem, iMax := 333
LOCAL objShell      := CreateObject( "Shell.Application" )
LOCAL objFolder
LOCAL objFolderItem
LOCAL cFileInfo
LOCAL cHeaderInfo

   objFolder := objShell:Namespace( cPath )
   objFolderItem := objFolder:ParseName( cFilename )

   FOR nItem := 1 TO iMax
      cFileInfo := objFolder:GetDetailsOf( objFolderItem, nItem )
      cFileInfo := OnlySign( cFileInfo )

      cHeaderInfo := objFolder:GetDetailsOf( objFolder:Items, nItem )
      IF !EMPTY( cHeaderInfo ) .AND. !EMPTY( cFileInfo )
         AADD( aRet, { STRZERO( nItem, 3 ), TRIM( cHeaderInfo ), STRTRAN( TRIM( cFileInfo ), "?", "" ) } )
      ENDIF
   NEXT

   objFolderItem := NIL
   objFolder := NIL
   objShell := NIL

RETURN ACLONE( aRet )
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: EXE Author's name on Windows 11

Postby Enrico Maria Giordano » Sun Jul 30, 2023 11:14 am

Jimmy wrote:when you talk about Task Manager : right click on Header to "add" Company Name


I already have the column Author but it is empty for desktop programs (it is not empty for apps). I repeat: it was not empty few months ago. Something in Windows 11 is changed. :-(
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE Author's name on Windows 11

Postby Jimmy » Sun Jul 30, 2023 11:53 pm

hi Enrico,

i can not reproduce what you say as it work for me
Image

if you did not get "Company Name" than show use your *.RC please
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: EXE Author's name on Windows 11

Postby Enrico Maria Giordano » Mon Jul 31, 2023 8:13 am

I already post it:

Code: Select all  Expand view
VS_VERSION_INFO VERSIONINFO
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "CompanyName", "EMAG Software\0"
  }
 }
}


Anyway, the problem is not mine, it is Windows 11 after a recent update (few months ago). Even OneDrive.exe and SecurityHealthSystray.exe don't show the Author's name (should be Microsoft Corporation). Cortana and Skype (as an example) show it. So, the apps show the Author's name, the desktop programs don't show it.
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE Author's name on Windows 11

Postby Jimmy » Mon Jul 31, 2023 8:53 am

hi Enrico,
Enrico Maria Giordano wrote:I already post it:

i have hope that you have "more" while it is incomplete

as Antonio say look into c:\fwh\samples\filever.rc
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: EXE Author's name on Windows 11

Postby Enrico Maria Giordano » Mon Jul 31, 2023 9:19 am

I already tried it. CompanyName is not displayed in the properties. It seems a Windows bug, nothing that we can fix. :-(
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE Author's name on Windows 11

Postby Enrico Maria Giordano » Mon Jul 31, 2023 3:36 pm

It seems that the author name is now the field Publisher that is in the apps manifest but not in the desktop programs manifest. That's why we don't see it anymore. :-(
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE Author's name on Windows 11

Postby Enrico Maria Giordano » Mon Jul 31, 2023 7:38 pm

Some news. With this VERSIONINFO:

Code: Select all  Expand view
VS_VERSION_INFO VERSIONINFO
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "CompanyName", "EMAG Software\0"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 0x409, 0x4B0
 }
}


I can see the CompanyName hovering the mouse over the EXE. So far so good. I even saw the CompanyName in the startup tab of Task Manager but only once, then it disappeared again. :-(
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE Author's name on Windows 11

Postby karinha » Mon Jul 31, 2023 8:24 pm

VERSION.RC

Code: Select all  Expand view

1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1, 0, 2, 0
PRODUCTVERSION 1, 0, 2, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
 BLOCK "StringFileInfo"
 {
  BLOCK "080904E4"
  {
   VALUE "CompanyName", "Contato Sistemas\000"
   VALUE "FileDescription", "PlenoWin  -  Cesta Básica\000"
   VALUE "FileVersion", "1.0\000"
   VALUE "InternalName", "PlenoWin.exe\000"
   VALUE "LegalCopyright", "\251Contato Sistemas e Proc. Ltda\000"
   VALUE "LegalTrademarks", "\256Contato Sistemas e Proc. Ltda\000"
   VALUE "OriginalFilename", "GERAPNFE.EXE\000"
   VALUE "ProductName", "PlenoWin\000"
   VALUE "ProductVersion", "3.66\000"
   VALUE "Comments", "by Joao Santos - 2014\000"
  }

 }

 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 2057, 1252
 }

}
 


Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7808
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: EXE Author's name on Windows 11

Postby karinha » Mon Jul 31, 2023 8:25 pm

VERSION2.RC

Code: Select all  Expand view

1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x0
FILEFLAGS 0x0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "Comments",    "Sistema Desenvolvido Pela Empresa TAL - www.empresatal.com.br \0"
   VALUE "CompanyName",   "Sistema Desenvolvido Pela Empresa TAL - www.empresatal.com.br \0"
   VALUE "FileDescription", "NOME DO SISTEMA\0"
   VALUE "FileVersion",   "1.0000\0"
   VALUE "InternalName",  "Projeto TAL\0"
   VALUE "LegalCopyright", "Sygecom Informática Ltda\0"
   VALUE "LegalTrademarks", "NOME SISTEMA / SYGECOM\0"
   VALUE "OriginalFilename", "NOME_EXE.EXE\0"
   VALUE "ProductName",   "NOME DO SISTEMA\0"
   VALUE "ProductVersion", "1.0000\0"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 0x416, 0x4B0
 }
}
 


Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7808
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: EXE Author's name on Windows 11

Postby karinha » Mon Jul 31, 2023 8:48 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7808
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: EXE Author's name on Windows 11

Postby Enrico Maria Giordano » Tue Aug 01, 2023 8:06 am

karinha wrote:VERSION2.RC

Code: Select all  Expand view

1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x0
FILEFLAGS 0x0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "Comments",    "Sistema Desenvolvido Pela Empresa TAL - http://www.empresatal.com.br \0"
   VALUE "CompanyName",   "Sistema Desenvolvido Pela Empresa TAL - http://www.empresatal.com.br \0"
   VALUE "FileDescription", "NOME DO SISTEMA\0"
   VALUE "FileVersion",   "1.0000\0"
   VALUE "InternalName",  "Projeto TAL\0"
   VALUE "LegalCopyright", "Sygecom Informática Ltda\0"
   VALUE "LegalTrademarks", "NOME SISTEMA / SYGECOM\0"
   VALUE "OriginalFilename", "NOME_EXE.EXE\0"
   VALUE "ProductName",   "NOME DO SISTEMA\0"
   VALUE "ProductVersion", "1.0000\0"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 0x416, 0x4B0
 }
}
 


Regards, saludos.


Tried: no change. :-(
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE Author's name on Windows 11

Postby karinha » Tue Aug 01, 2023 1:10 pm

The fact of not showing the Company Name does not mean that Windows does not "see" the data. The important thing is that the anti-virus does not block your program. It might just be a temporary bug in Windows 11.

El hecho de no mostrar el Nombre de la Empresa no significa que Windows no "vea" los datos. Lo importante es que el antivirus no bloquee tu programa. Puede que solo sea un error temporal en Windows 11.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7808
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Re: EXE Author's name on Windows 11

Postby Jimmy » Tue Aug 01, 2023 10:23 pm

hi Enrico,
Enrico Maria Giordano wrote:Tried: no change. :-(

please try working *.RC from Fivewin Sample
Code: Select all  Expand view
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 2.90".
LANGUAGE LANG_SPANISH,SUBLANG_SPANISH_MODERN

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3F
FILEFLAGS 0x0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "040904B0"
    BEGIN
      VALUE "Comments", "This is a test to manage FileVersion resource\0"
      VALUE "CompanyName", "FiveTech Software\0"
      VALUE "FileDescription", "FileVer.prg demo\0"
      VALUE "FileVersion", "1.0.0.0\0"
      VALUE "InternalName", "FileVer.prg / FileVer.rc\0"
      VALUE "LegalCopyright", "www.fivetechsoft.com\0"
      VALUE "LegalTrademarks", "FiveTech Software S.L.\0"
      VALUE "OriginalFilename", "FileVer.prg\0"
      VALUE "ProductName", "FileVer.prg demo\0"
      VALUE "ProductVersion", "1.0.0.0\0"
    END
  END
  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x409, 0x4B0
  END
END
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 28 guests

cron