views:

177

answers:

1

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.

+3  A: 

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.

Paul Lalonde