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: Fri, 11 Apr 2008 02:26:03 -0700,    group: microsoft.public.platformsdk.shell        back       


How can I avoid having to restart explorer for shell icon overlays   
Hi there,

My application registers a shell icon overlay with the system when it's 
first installed. Today, once the overlay is registered, the installer kills 
explorer and lets it come back. That's the only way I've found to get it to 
recognize the new setting, other than a reboot. I'd love to avoid having to 
do that.

I know there must be a way because when my application gets uninstalled, the 
Windows Installer (my app installs as an MSI) somehow "refreshes" 
explorer.exe which subsequently lets go of my shell extension's DLL (since 
all the registry keys are now gone).

Is there an API I can call to do this? (I'm assuming that's the API that the 
Windows Installer uses today.) If so, when this API is called, will it 
"refresh" explorer completely so it recognizes new overlay registrations as 
well as those that no longer exist?

Thanks so much in advance,
Ondrej
date: Fri, 11 Apr 2008 02:26:03 -0700   author:   ondrej421

Google
 
Web ureader.com


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