S
SugarDaddy
This pertains to .NET apps.
I managed to get the UAC process pretty much understood. I create the
uac.manifest file, the .rc file and generate the .RES file for my
applications. I use the project properties to specify the .RES file.
I also use signtool to sign the executable with my organization's code-
signing certificate. It all works great. Instead of the "Allow/
Cancel" UAC dialog, I get the "Continue/Cancel" UAC dialog, so I'm
happy with that.
So, on the "Continue/Cancel" UAC dialog, in general it shows the
application name and the organization below it. However, on my
managed applications it shows a weird .tmp name and my organization.
How do I get it to show the application name instead of the ugly .tmp
name?
For example. I wrote a little Registry test file that uses UAC. It's
called RegistryTest.exe. After implementing all the UAC stuff
explained above and specifying "requireAdministrator" in the
uac.manifest, the UAC dialog pops up showing the application name as:
"RegBFA6.tmp". Well basically it shows "Reg[4-digit hex].tmp". Why
is this? How do I fix it? I've seen how to do it for unmanaged apps,
but I don't know how to translate it to managed apps.
I managed to get the UAC process pretty much understood. I create the
uac.manifest file, the .rc file and generate the .RES file for my
applications. I use the project properties to specify the .RES file.
I also use signtool to sign the executable with my organization's code-
signing certificate. It all works great. Instead of the "Allow/
Cancel" UAC dialog, I get the "Continue/Cancel" UAC dialog, so I'm
happy with that.
So, on the "Continue/Cancel" UAC dialog, in general it shows the
application name and the organization below it. However, on my
managed applications it shows a weird .tmp name and my organization.
How do I get it to show the application name instead of the ugly .tmp
name?
For example. I wrote a little Registry test file that uses UAC. It's
called RegistryTest.exe. After implementing all the UAC stuff
explained above and specifying "requireAdministrator" in the
uac.manifest, the UAC dialog pops up showing the application name as:
"RegBFA6.tmp". Well basically it shows "Reg[4-digit hex].tmp". Why
is this? How do I fix it? I've seen how to do it for unmanaged apps,
but I don't know how to translate it to managed apps.