I found a reg file that fixed that problem for me here
http://johnhaller.com/jh/mozilla/firefox_bug_246078.asp
It's a reg file for windows that fixed the problem i had with clicking links on aim and getting the "cannot find application" error and then opening another window with the link anyways. hope this works for you.