views:

52

answers:

1

On one of my projects, the downloaded installer file gives the internal name for the program name in the 'Do you want to run this software' warning dialog, rather than the external name. Where does windows get this program name from, as there's no sign of it in the standard metadata in the .exe properties?

+1  A: 

There's all kinds of interesting information in the .EXE header. Maybe you can use this: http://www.brothersoft.com/dump-exe-file-header-189959.html to dump and view it.

Carl Smotricz
Yes, the DLL or the EXE both have a header, with file name, project name, company name, copyright info, version header, etc. Normally you set all of this in your project options for your compilations resources. You can also setup locale-specific version blocks, and the OS will use that if the current locale matches (otherwise it uses the universal base one).
Mordachai
If you don't want to use a header dumper you can also open your .EXE file in Microsoft Word. It will look really strange but you should be able to pick out some strings. Just don't save the file after looking at it!
Carl Smotricz