ActiveX installation for all users of a vista workstation

I have a DLL and an OCX components installed in the Vista workstation under the following path with a cmd file, executed with 'RunAs Administrator' option. The simple command goes as follows

RegSvr32 c:\ET\comp1.dll

RegSvr32 c:\ETcomp2.ocx

These components are used in my intranet site and works fine with my account (which has admin priveleges).

But when I try to work on any other user account (no matter, admin or standard user), I always get this 'ActiveX Component cannot create object error'.

With another admin account, I could see the component registry entries but still get this error. Couldn't find the ActiveX Installer Service useful, as these components are pre-installed and need not be prompted for installation from IE7.

Please help if I am missing something...




Answer this question

ActiveX installation for all users of a vista workstation

  • Terence Tung

    Can you try "RunAs Administrator" with IE in other admin user account to see if your control works there

  • Aleniko29139

    Yes, It is working fine now.

    Thanks



  • Kunk

    The default IE7 security settings were different in the two accounts. One account allowed unsigned ActiveX controls wheareas the othere did not. Changing this setting made the difference. Other option was to register the components as 'safe for scripting'

  • KrishnaUNISYS

    The settings are available in the Tools menu --> Internet options --> Security settings of IE7. You need to have appropriate prvileges to view/modify the Security settings

  • GlennM2

    On further investigation, I discovered that the problem was not with the dll installation. It was the restrictions on the user account to access dll/registry information for executing the call on the client side.



  • Tovdb

    Ananth,

    Installing it again in the other user account did not help.

    --> when i  installed with admin1 account. Everything works

    --> does not work in any another account (say admin2 account)

    --> repeated installation on same machine with admin2 account. No use...

    I tried comparing the entry about the dll in the registry and looks same



  • pchan3

    So your ActiveX are all working now



  • ___anshu

    Where do I find this information

    Im having the same issue, though with a VBA App, I dont know where to change the account

  • ActiveX installation for all users of a vista workstation