views:

364

answers:

1

I'm trying to view a surveillance camera system. The remote access is available through a website, and that website seems to need to download a CAB file full of goodies to let me view the cameras.

On some of my systems this install process goes over nicely.

On a few, particuarly the ones with slower Internet, I get into an endless-loop of: going to the page, waiting a long period of time (I assume this is where its downloading the CAB file), clicking yellow bar to allow it to "Install this CAB file for all Users" and the page reloading. It never pops up with the Window saying "Are you sure its cool to Install this stuff?"

Is there a nice way I can side-step this with a little code? I've downloaded the CAB file and extracted its contents. It's full of DLLs and a SetupScript.vbs. I've tried to just let the SetupScript.vbs run, and I've tried to manually register the DLLs with regsrv32. I've even copied the required .OCX and .INF files to the C:\Windows\Downloaded Program Files\ and modified the registry to mimick one where the install went smoothly.

Despite this, when I visit the webpage, it still takes forever and then goes back into the loop described above.

What APIs do I need to call to "properly" register this component so IE can see it? Or is there something more simple that I'm missing?

Could someone please point me in the right direction to solve this? The browser is IE8, the OS is Vista.

Thanks!

+2  A: 

In Windows 7 64-bit I copied the OCX files to C:\Windows\SysWOW64 and then ran:

regsrv32 /s C:\Windows\SysWOW64\pluginname.ocx

The ActiveX plugin worked fine when I launched IE without prompting for an install.

Andrew S
Delicious. Ab. So. Lute. Lee. Delicious.
mrduclaw