8

I would like to control the name of my application as it appears in the UAC dialog. Right now it shows up as something like "MyCompany.MyApp.exe"; I would prefer something like "MyApp Pro". In other words, I would like a short, friendly phrase instead of the raw EXE file name.

I noticed that MMC.EXE appears in the UAC dialog as "Microsoft Management Console", so it seems to be possible. But how? There must be a build setting somewhere that controls this, I just can't seem to find it ...

Edit: The app is digitally signed.

4
  • or perhaps to something like "I'm not malware. Honest. These are not the droids you're looking for"
    – T.E.D.
    Nov 5, 2009 at 20:38
  • 2
    I'm looking for a legitimate way of changing the app's name, at build time presumably. I'm not trying to scam anyone. Nov 5, 2009 at 21:06
  • 1
    @T.E.D. Trying to present your application with a human-readable name hardly turns your program into malware. If you look at your start menu, practically everything in it has "nice" friendly names, rather than just showing the executable name (Paint instead of mspaint.exe, for example). Does that mean mspaint is malware?
    – jalf
    Nov 29, 2011 at 9:24
  • potential duplicate, but I like this answer more: stackoverflow.com/questions/21702044/…
    – mateuscb
    Jan 9, 2017 at 21:33

1 Answer 1

16

After some experimentation, I've found that providing a /d switch argument to signtool.exe will do the trick. This works for binaries as well as Windows Installer databases (.msi files).

If no /d switch was provided, the UAC dialog uses the FileDescription field in the exe's VERSION resource.

For .NET apps, this is populated from the AssemblyTitle attribute.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.