How do I modify the "File Description" of an executable using msbuild (or command line)?
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 co开发者_StackOverflow中文版mpiling, and all I have is the finalized executable.
I did figure this out, using Verpatch.
verpatch.exe myexe.exe /s description "New description" /s product "New product name"
精彩评论