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.
For ERM Webviewer v12.x, the name of the ActiveX file is ERMHelper2AX.ocx
- 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
- Create a script that
- Copies the ERMHelper2AX.ocx file into the C:\Windows\Downloaded Program Files\ folder.
- Runs regsvr32 from the C:\Windows\Downloaded Program Files directory to register the file.
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.