How do I modify the “File Description” of an executable using msbuild (or command line)?
-
26-09-2019 - |
Question
I have a 3rd party app that is generating an executable for me, but it's putting its own name into the "File description" and "product name" details of the executable.
When I sign these with authenticode, it causes the user prompt to show the 3rd party app name rather than my own, even though it's signed with my company's certificate.
Is there a way to modify this from the command line, using some msbuild task? I know there are tasks that do this before compilation -- but in this case, I'm not compiling, and all I have is the finalized executable.
Solution
I did figure this out, using Verpatch.
verpatch.exe myexe.exe /s description "New description" /s product "New product name"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow