开发者

How to make IE to install updated CAB File

开发者 https://www.devze.com 2022-12-23 04:48 出处:网络
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.

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.


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>
0

精彩评论

暂无评论...
验证码 换一张
取 消