Question

HI

My web page is hoting an ActiveX Contol packed in a CAB File. IE is automatically installing the CAB file, if the ActiveX is not present on the client machine.

waht are steps i need to make sure.

So that the client should always have the updated ActiveX control, if the web application has a new version of the activex control.

Thanking you.

Was it helpful?

Solution

Build new ActiveX control with increased version number. If previous was 1,0,0,0, the next could be 1,1,0,0, for example.

Modify inf file with new version number

[Foo.ocx]
  file-win32-x86=thiscab
  clsid={F00F00F0-0F00-F00F-00F0-0F00F00F00F0}
  FileVersion=1,1,0,0

Repack CAB file and place it to your server.

Update version number in your page:

<object id="foo" style="DISPLAY: none" codebase="foo.cab#version=1,1,0,0"
        height="10" width="10"
        classid="CLSID:F00F00F0-0F00-F00F-00F0-0F00F00F00F0">
</object>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top