Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 29 Jul 2008 18:34:03 -0700,    group: microsoft.public.platformsdk.security        back       


Publisher name in UAC prompt with COM object   
What controls the company name displayed in the UAC prompt if the prompt is 
displayed as a result of a CoCreateAsAdmin call?  Right now our prompt is 
showing "Microsoft Corporation", which doesn't look good coming from our 
application.  Is there somewhere the company name needs to be registered 
(e.g. the registry) for the COM component?

Thanks,
David
date: Tue, 29 Jul 2008 18:34:03 -0700   author:   David R

Re: Publisher name in UAC prompt with COM object   
David R wrote:

> What controls the company name displayed in the UAC prompt if the prompt is 
> displayed as a result of a CoCreateAsAdmin call?  Right now our prompt is 
> showing "Microsoft Corporation", which doesn't look good coming from our 
> application.   

IIRC, you get this behaviour if the DLL in question is loaded from the 
Windows/System directory - Our Friends in Redmond assume that anything 
in there is theirs by right.

Install the Dll elsewhere on the machine (it's a COM Component so its 
physical location is largely irrelevant) and you'll get a /different/ 
dialog.  So long as your code is digitally signed, you'll still get 
something sensible and not the "An unknown program ... !!" one.

HTH,
    Phill  W.
date: Wed, 30 Jul 2008 12:09:54 +0100   author:   Phill W. p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-k

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us