Prizm Viewer can be installed from a web page, if the user is using Internet Explorer. The OBJECT tag contains a reference to the location of the CAB file (installer), and the version of the software. If the software is updated, you can update the CAB file on the server, and update the Version value to automatically install the update.
In the example below, you need to replace three values (in bold):
- [LocationOfCabFile] will be the URL of the cab file which will install Prizm Viewer. If the cab file is located in the same folder as the HTML page, this value would be [PrizmViewerCAB.cab] or [PrizmViewerPDFCAB.cab] (without the brackets).
- Version=”10,X,X,X” with the version of the CAB file you have in the CODEBASE=line.
- VALUE=”SERVER?XXXXXXXXXXXXXXXXXX” with your server web license key provided by Accusoft (if you are using web-licensing for Prizm Viewer, otherwise you can remove this line).
Example | Copy Code |
---|---|
<HTML> <HEAD> <TITLE>CAB Install Page</TITLE> </HEAD> <BODY BGCOLOR="#00FFFF" > <OBJECT ID="PrizmControl" CLASSID=" CLSID:7A2633F0-33D5-4F5E-93BE-74ACBEE7F7EA" CODEBASE="[LocationofCabFile].cab#Version=10,X,X,X " height="100%" width="100%">' <PARAM NAME="SRC" VALUE="images/morning-coffee.jpg"/>' <PARAM NAME="type" VALUE="application/x-prizm"/>' <PARAM NAME="WebKey" VALUE="SERVER?XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"/> </OBJECT> </BODY> </HTML> |