Changing the Icon of the UAC prompt

L

leeaids

Hi,

When you run your app in vista (already has the shield) the UAC pops-
up a prompt asking you to continue or cancel, can you change the icon
in that prompt with the icon of your app?

Thanks
Ryan
 
J

Jimmy Brush

Hi,

When you run your app in vista (already has the shield) the UAC pops-
up a prompt asking you to continue or cancel, can you change the icon
in that prompt with the icon of your app?

Thanks
Ryan

The prompt should display your app's icon next to the information about
it automatically.
 
J

James Finnigan [MSFT]

The icon comes a few different places depending on what kind of UAC prompt
it is (command-line, COM, MSI). Probably you're talking about the first
one. That will be the first icon in your file by resource ID.

HTH,
James Finnigan [MSFT] ( http://blogs.msdn.com/jamesfi )
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top