Page 1 of 3

EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 9:08 am
by Enrico Maria Giordano
Dear friends, I noticed that on Windows 11 I can't see the Author's name of my EXE files. It was displayed previously (on Windows 10 and maybe on an earlier version of Window11, I don'r remember exactly). Any ideas?

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 10:14 am
by Antonio Linares
Dear Enrico,

Could you provide an example of how you are placing the author name in the EXE ?

many thanks

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 10:19 am
by Enrico Maria Giordano
Here it is (it worked fine previously):

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

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 2:25 pm
by Antonio Linares
Dear Enrico,

FWH\samples\filever.prg and filever.rc are working fine on Windows 11

Just modify ISNUM() with HB_ISNUM() call (fixed for next build)

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 3:09 pm
by Enrico Maria Giordano
Please look at properties details of the EXE. There is no company name property.

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 3:39 pm
by Antonio Linares
Dear Enrico,

This is what I get on Windows 11:

It seems as "Legal trademarks" is the name of the company

Image

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 3:49 pm
by Enrico Maria Giordano
No, it should be CompanyName.

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 4:12 pm
by karinha

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 6:21 pm
by Enrico Maria Giordano


Yes, from here:

https://learn.microsoft.com/pt-br/windows/win32/menurc/versioninfo-resource

CompanyName Empresa que produziu o arquivo , por exemplo, Microsoft Corporation ou Standard Microsystems Corporation, Inc. Essa cadeia de caracteres é necessária.
LegalTrademarks Marcas comerciais e marcas registradas que se aplicam ao arquivo. Isso deve incluir o texto completo de todos os avisos, símbolos legais, números de marca e assim por diante. Essa cadeia de caracteres é opcional.

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 7:14 pm
by Rick Lipkin
Enrico

Not tested on Windows 11 .. I compile this file into my programs Version.RC but I have to edit it with Notepad ...

Code: Select all  Expand view

// Generated by ResEdit 1.6.6
// Copyright (C) 2006-2015
// http://www.resedit.net

#include <windows.h>
#include <commctrl.h>

//
// Version Information resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
1 VERSIONINFO
    FILEVERSION     02,23,0,0
    PRODUCTVERSION  02,23,0,0
    FILEOS          VOS__WINDOWS32
    FILETYPE        VFT_UNKNOWN
    FILESUBTYPE     VFT2_UNKNOWN
    FILEFLAGSMASK   0
    FILEFLAGS       0
{
    BLOCK "StringFileInfo"
    {
        BLOCK "04090025"
        {
            VALUE "CompanyName", "CCI by Richard Lipkin"
            VALUE "FileDescription", "Leave-Travel Info"
            VALUE "FileVersion", "02.23 Prod"
            VALUE "LegalCopyright", "CCI - SA Software"
        }
    }
    BLOCK "VarFileInfo"
    {
        VALUE "Translation", 0x0409, 0x0025
    }
}

 

Image
uploading pictures

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 7:20 pm
by Enrico Maria Giordano
Yes, this is exactly the problem: the CompanyName field is not displayed anymore (it was few months ago).

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 7:24 pm
by Rick Lipkin
Enrico

If you hover over the .exe with your mouse you do the the Company name ... etc .. but not when you look at the properties of the .exe ..

Rick Lipkin

Re: EXE Author's name on Windows 11

PostPosted: Sat Jul 29, 2023 7:29 pm
by Enrico Maria Giordano
It doesn't show the company name here on Windows 11.

Re: EXE Author's name on Windows 11

PostPosted: Sun Jul 30, 2023 2:22 am
by Jimmy
hi Enrico,
Enrico Maria Giordano wrote:It doesn't show the company name here on Windows 11.

when have to look last Time for "Company Name" in Property :?:

this was Windows XP where i have "Firma" ( "Company Name" )
Image

this is since Windows 7
Image

same with Windows 10/11
Image

it have change with Windows 7 and that is a long Time ago ...

Re: EXE Author's name on Windows 11

PostPosted: Sun Jul 30, 2023 9:14 am
by Enrico Maria Giordano
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.