This had been asked several times on Mozilla support site:
- Windows 7 - Firefox 5 pinned taskbar icon not utilizing pinned icon when opening Firefox
- Firefox 10.0 now creates a new icon on Windows 7 Taskbar when launched. Why?
The problem is that all proposed solutions require some actions (unpin, then pin again) every time Firefox is updated.
It would not be a big problem if I did not use additional command line arguments for Firefox. Every time I repin the Firefox icon, the arguments are lost.
It would not be a big problem if Mozilla did not change the major version of Firefox so often. I have found the file which is responsible for Firefox icon:
%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Firefox.lnk
It turns out that this file contains some information either about Firefox version or its hashsum. So every time I update Firefox, Windows fails to match the new version with the old icon.
I am looking for a solution that would not require repetitive actions on each Firefox update, or at least would preserve the command line arguments I start Firefox with.