Workaround for Default Browser Not Coming Up (Firefox + Thunderbird)
If you are using both Firefox and Thunderbird in SVS layers (and after all, what self-respecting gearhead wouldn't be!?), and if Firefox is configured as your default browser, maybe you've noticed that clicking on HTTP links doesn't always work. Sometimes (a good example being in SVS Admin, Help > Altiris Juice), nothing happens. No error. Just stillness and the quiet chirping of crickets in the distance...
The reason is a known defect around how SVS handles the resolution of short file names. The default installation paths for these apps are:
C:\Program Files\Mozilla Firefox
C:\Program Files\Mozilla Thunderbird
SVS sees both as:
C:\Progra~1\Mozill~1
So, when it comes time to find the app associated with opening HTTP in HKEY_CLASSES_ROOT, Windows finds "C:\Progra~1\Mozill~1\firefox.exe" and... Guess what? SVS sometimes (not always) makes Windows look in the wrong place ("Mozilla Thunderbird" instead of "Mozilla Firefox"), in which case firefox.exe is not found and nothing happens. I don't know if it's truly arbitrary or related to layer activation order or what. I'd ask the engineers, but they have more important things to do... like fixing this bug. :)
I'm not sure why Firefox uses short name syntax in the command value for its CLASSES settings. But it does, and due to the SVS bug you get unreliable behavior. There are several workarounds. One would be to install either Firefox or Thunderbird to alternate paths that will resolve uniquely despite our bug.
Assuming you don't want to go back and do that, replace the short name syntax with long name syntax in the following locations, in the Firefox layer, using the Advanced Layer Properties Editor:
HLM\SOFTWARE\Classes\FirefoxHTML\shell\open\command
HLM\SOFTWARE\Classes\HTTP\shell\open\command
HLM\SOFTWARE\Classes\HTTPS\shell\open\command
...and then your beloved Firefox will always come up, as designed.
Editor's Note (added 12/20/06): It came to Scott's attention after he wrote this that if you have Firefox set to "always check to see if Firefox is the default browser on startup," it will change the registry entries back to the short path and re-introduce the problem above. So you can de-select that option, but he says best practice is definitely to install Firefox to a non-default path. Scott plans to change the install path in his Firefox 2.0.0.1 VSA that should be uploaded here later today.
The Endpoint Virtualization Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Virtualization community. Any authenticated Connect member can contribute to this blog.
Comments
Short path in registry
The work-around listed in the knowledge base article has you replacing all shortname references with the long name path. This is not real difficult if you happen to know where they are, but usually you will not. To avoid the tedium of searching for them all, you can use CondorMan's Layer Registry Replace tool to do the replace quickly.
Layer registry replace tool
The option to use the layer registry replace tool has to be used very carefully. If you run it on the whole registry and you are giving shrot names for replacement, a lot of users are coming up with a non functional computer where re-installation is the best word to get it back on.
I suggest that users should be very carefully to use registry replacements.
Regards Erik www.DinamiQs.com Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)
*************************************************************
If your issue has been solved, Please mark it as solved
***********
KB update
The knowledge base article has been updated. The suggested work-around is now to recapture the layer and make sure to install to a directory where the first six characters of the folder name are unique.
Would you like to reply?
Login or Register to post your comment.