Deploying the ERM Webviewer v12.x ActiveX Control ERMHelper2AX.ocx file on Windows 7 machines

Document ID : KB000019014
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

In cases where it is necessary to deploy the ERM Webviewer v12/v12.1 ActiveX control to users' machines using a script, the following procedures should be used.

Answer: 

For ERM Webviewer v12.x, the name of the ActiveX file is ERMHelper2AX.ocx

  1. Obtain the ERMHelper2AX.cab file from the WebServer machine, typically located in the \webapps\CAOMWebViewer12\ActiveX folder or /webapps/CAOMWebViewer12/ActiveX folder depending on your platform

    ERMHelper2AX.cab* is a compressed form of ERMHelper2AX.ocx. Unzip it to ERMHelper2AX.ocx with Winzip or another unzip utility

  2. Create a script that
    1. Copies the ERMHelper2AX.ocx file into the C:\Windows\Downloaded Program Files\ folder.
    2. Runs regsvr32 from the C:\Windows\Downloaded Program Files directory to register the file.
      regsvr32 ERMHelper2AX.ocx

      NOTE: regsvr32 must be run as administrator

*A .cab file is an archive file format for Microsoft Windows that supports lossless data compression and embedded digital certificates used for maintaining archive integrity.