My .ocx contains two ActiveX controls and I use both of them on one page.
When user comes to page he gets two install confirmations for the same binary. After the first installation and page reload he gets one control displayed and “the website wants to run the following add-on...” yellow bar with control’s run confirmation for the other.
I have only two possible solutions:
- Adding my CLSID’s to IE’s pre-approved control list, but I guess I cannot do it in the case of Non-Admin installation. Besides I consider this way as unreliable.
- Use the third control-container for hosting all other controls. It seems to my too complicated. Actually I’m not sure it can be done.
Controls are used from the WEB, so I cannot use any administrative tools for installation.
Is it possible to do all installation actions with one step without twice installation or run confirmation? Are there any “Best practices” for my case?