Page 2 of 3
Re: EXE Author's name on Windows 11
Posted: Sun Jul 30, 2023 11:11 am
by Jimmy
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
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 )
Re: EXE Author's name on Windows 11
Posted: Sun Jul 30, 2023 11:14 am
by Enrico Maria Giordano
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.
Re: EXE Author's name on Windows 11
Posted: Sun Jul 30, 2023 11:53 pm
by Jimmy
hi Enrico,
i can not reproduce what you say as it work for me
if you did not get "Company Name" than show use your *.RC please
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 8:13 am
by Enrico Maria Giordano
I already post it:
Code: Select all | Expand
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.
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 8:53 am
by Jimmy
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
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 9:19 am
by Enrico Maria Giordano
I already tried it. CompanyName is not displayed in the properties. It seems a Windows bug, nothing that we can fix.
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 3:36 pm
by Enrico Maria Giordano
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.
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 7:38 pm
by Enrico Maria Giordano
Some news. With this VERSIONINFO:
Code: Select all | Expand
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.
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 8:24 pm
by karinha
VERSION.RC
Code: Select all | Expand
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.
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 8:25 pm
by karinha
VERSION2.RC
Code: Select all | Expand
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.
Re: EXE Author's name on Windows 11
Posted: Mon Jul 31, 2023 8:48 pm
by karinha
Re: EXE Author's name on Windows 11
Posted: Tue Aug 01, 2023 8:06 am
by Enrico Maria Giordano
karinha wrote:VERSION2.RC
Code: Select all | Expand
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.
Re: EXE Author's name on Windows 11
Posted: Tue Aug 01, 2023 1:10 pm
by karinha
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.
Re: EXE Author's name on Windows 11
Posted: Tue Aug 01, 2023 1:23 pm
by Enrico Maria Giordano
Yes, I agree, thank you.
Re: EXE Author's name on Windows 11
Posted: Tue Aug 01, 2023 10:23 pm
by Jimmy
hi Enrico,
Enrico Maria Giordano wrote:Tried: no change.
please try working *.RC from Fivewin Sample
Code: Select all | Expand
// 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