FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour EXE Author's name on Windows 11
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 09:08 AM

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?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 10:14 AM

Dear Enrico,

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

many thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 10:19 AM
Here it is (it worked fine previously):
Code (fw): Select all Collapse
VS_VERSION_INFO VERSIONINFO 
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "CompanyName", "EMAG Software\0"
  }
 }
}
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 02:25 PM

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)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 03:09 PM

Please look at properties details of the EXE. There is no company name property.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 03:39 PM
Dear Enrico,

This is what I get on Windows 11:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 03:49 PM

No, it should be CompanyName.

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 04:12 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 06:21 PM
karinha wrote:https://devblogs.microsoft.com/oldnewthing/20230503-51/?p=108135

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

Regards, saludos.
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.
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 07:14 PM
Enrico

Not tested on Windows 11 .. I compile this file into my programs Version.RC but I have to edit it with Notepad ...
Code (fw): Select all Collapse
// 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
    }
}

uploading pictures
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 07:20 PM

Yes, this is exactly the problem: the CompanyName field is not displayed anymore (it was few months ago).

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 07:24 PM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sat Jul 29, 2023 07:29 PM

It doesn't show the company name here on Windows 11.

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: EXE Author's name on Windows 11
Posted: Sun Jul 30, 2023 02:22 AM
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" )


this is since Windows 7


same with Windows 10/11


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

Jimmy
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: EXE Author's name on Windows 11
Posted: Sun Jul 30, 2023 09:14 AM

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.