Command line to install MSIE Add-on (.ocx contained in .cab file)?

JM D.
JM D. used Ask the Experts™
on
I want to install from command line (script), and MSIE add-on, which is a cab file stored on internal web server.
The cab contains two files:
abwxprint.ocx
abwxprint.inf

The inf contains, that:
[version]
    signature="$CHICAGO$"
    AdvancedINF=2.0
[Add.Code]
    abwxprint.ocx=abwxprint.ocx
[abwxprint.ocx]
    file-win32-x86=thiscab
    clsid={226D14C3-DEA2-4F68-9CD3-3837439AF7DE}
    FileVersion=1,0,0,1
    RegisterServer=yes


I see on Internet, different solutions, but nothing works.
rundll32.exe advpack.dll,....
pkgmgr ...
I've tried to copy the two files, on "C:\Windows\Downloaded Program Files", to register the ocx with the regsvr32.exe command.
After that, the add-in is in the add-ins MSIE list, but is disabled.
I don't know how to enable it with command line?

My purpose is to automate the add-in installation, directly without GPO (I have another tool to teledistribute, an automate some actions).

Thank you for your help.

Jm
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial