Articles/AvoidActiveXUpdates

From Quest3D

< Articles(Redirected from AvoidActiveXUpdates)
Jump to: navigation, search

Avoiding automatic updates of the Web Player

Introduction

When running Quest3D in a Web Page, that implements the control like it is done in the index.html file that is published, the Web Player can be downloaded and installed (after user confirmation). The downloaded ActiveX control or Firefox plugin automatically checks and download the appropriate Quest3D Viewer needed.

Sometimes this check is unwanted, since in some environments there is no internet connection.

Quest3D 4 and later

Quest3D 4 does not update automatically. Updates are manually done with a full setup. Note that CheckUpdate is in still in the interface in version 4, but it is unused. Updates can be done only manually or by setting the ProgId and ClassId to the appropriate Quest3D version. The correct ProgId and ClassId are in the generated index.htm file when publishing to the web

Solution 3.6.3

Instead of registering the default ActiveX Control, as of Quest3D 3.6.3 it is possible to register a different .DLL which contains the ActiveX control. However, this control does not check for updates. The Quest3D Viewer has to be installed manually. The viewer, as well as the ActiveX Control may be freely redistributed with your application.

Installing the DLL

The DLL is called Quest3dactivex_NoUpdate.dll and located in your Quest3D installation folder. You can copy the control to client machines and register it pressing Start->Run in Windows and then enter "regsvr32.exe <YourDllFolder>/Quest3dactivex_NoUpdate.dll"

Installing the Viewer

You also need to install the correct viewer on the client machines. A setup program for the Quest3D Viewer is located in <YourQuest3DFolder>/WebInstallerExe/webviewer<xx>.exe (where x is are digits that indicate the engine version. Sometimes, when a new Quest3D version is released, the engine version also increases. If you switch to a newer Quest3D version, you should check whether it is needed to update the viewer file in your setup program as well.

Solution >= 3.6.4

The ActiveX Control contains a property "CheckUpdate". When set to false, you will avoid updating the ActiveX Control.

Example

Internet Explorer

<OBJECT ID="QuestActiveX" WIDTH="100%" HEIGHT="100%" CLASSID="CLSID:6CE31B8D-8340-4DBD-B78E-BF59620924DC"
CODEBASE="http://www.quest3d.com/webplugin/download/quest3dactivex2.cab" VIEWASTEXT>
	<PARAM NAME="Caption" VALUE="Loading...">
	<PARAM NAME="URL" VALUE="http://MyQuest3DUrl.q3d">
	<PARAM NAME="Timer" VALUE="20">
       <PARAM NAME="CheckUpdate" VALUE="FALSE">
</OBJECT>

Firefox

Available in Quest3D 4.1 or later

<embed id="Quest3DObject" documentURL=document.URL src=http://MyQuest3DUrl.q3d   type="application/quest" width=640 height=480 checkUpdate=0>


Installing the viewer can be done the same as in 3.6.3

See Also


One Level Up - Articles

Back to Main Index

Personal tools
Navigation