Hi Team,
In my previous thread,
http://social.msdn.microsoft.com/Forums/en-US/c4788a6d-b7ca-4852-ba8e-5469892bfb81/change-application-exe-icon-at-runtime-programatically-in-wpf?forum=wpf
I asked a question to change the exe icon at run time for WPF. The above solution works only when I debug the application or execute it directly from release folder.
But when I install the application on PC using Wix even on my system, the change in icon is not reflected it still shows the previous available icon in taskbar. Below is my code,
_window.Icon = new BitmapImage(new Uri(Environment.CurrentDirectory + "\\1.ico", UriKind.RelativeOrAbsolute));
I tried refreshing it, but no success.
Thanks,
Nikhil.