Plugin Detection

Add-in Express™ Support Service
That's what is more important than anything else

Plugin Detection
 
Omer Mujahid




Posts: 9
Joined: 2010-06-28
Hello. Is there anyway I can use scripting(javascript/vbscript) in IE8 to check whether my BHO is installed? Currently I am embedding the following script in my page:


var control = null;

try
{

control = new ActiveXObject('ProgID');
if(control = null)
{
alert('Plugin not installed');
}
else
{
alert('Plugin Installed');
}

}
catch(e)
{
alert('Plugin not installed');
}


The above script throws the error "Automation Server Cant Create Object" if I have the "Initialize and script ActiveX controls not marked as safe for script" option in security settings of internet zone disabled. It works fine when I enable this option, however it is obviously not secure. Is there any other way to detect whether the BHO is installed client side?
Posted 05 Jul, 2010 06:23:17 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Omer.

BHO can be installed but it can also be disabled by the user.
What do you need to detect the BHO for?
Posted 05 Jul, 2010 09:43:45 Top
Omer Mujahid




Posts: 9
Joined: 2010-06-28
Basically the bho is needed when the user visits our website. So we want to check, when the user visits our website if the add-on is installed, otherwise alert the user to download it.
Posted 06 Jul, 2010 01:38:18 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Omer.

At the moment I don't have another solution. I will let you know if I find any reliable solution.
Posted 06 Jul, 2010 10:32:12 Top
Omer Mujahid




Posts: 9
Joined: 2010-06-28
Okay thanks
Posted 07 Jul, 2010 04:33:44 Top