|
|
|
|
#1 |
|
Junior Member
Join Date: Aug 2014
Posts: 44
|
Kill then restart explorer.exe
Hi,
due to a change in the icon of our application in the new version, I need to rebuild the Windows icon cache. Deleting the IconCache.db file works but in order to show the new icon to the user immediately, I need to restart the explorer.exe process. Again, killing it is no problem but when I want to restart it, instead of getting the start menu, desktop, etc. back, I only get a Windows Explorer window. If I restart the process manually (Task Manager -> File -> new Task -> explorer.exe), the desktop, start menu and new icons are there. Any idea how to achieve this through the installer? Here's my code: code: Thanks! |
|
|
|
|
|
#2 | |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
Try this:
Quote:
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2014
Posts: 44
|
Jason, you're a life-saver! Thanks!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|