zoukankan      html  css  js  c++  java
  • IE自动配置ActiveObject

    ActiveObject

    当你的程序依赖ActiveObject时,你是否每个终端都需要手动开启ActiveX,添加信任站点IP
    以下提供一种处理方式

    制作一个IEConfig的配置程序

    • 制作工具Inno Setup
    • 新建脚本 通过 Registry 注册区段

    Code

    [Registry]
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapRangesRange8980"; ValueType: string; ValueName: ":Range"; ValueData: "172.19.222.254" ;
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapRangesRange8980"; ValueType: dword; ValueName: "http"; ValueData: "2";
    
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "2201"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1405"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1201"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "2000"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "120B"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1004"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1001"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "2201"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "2702"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1209"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1200"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "120A"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1806"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1607"; ValueData: "0";
    Root: HKCU; Subkey: "SoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2"; ValueType: dword; ValueName: "1406"; ValueData: "0";
    

    键值对应IE自定义项的文档下载地址
    https://files.cnblogs.com/files/pengsn/IE安全选项的注册表键值.zip

  • 相关阅读:
    谈一谈对象池SafeObjectPool能干什么
    .net core 程序退出事件
    .NETCore 快速开发做一个简易商城
    Git创建子分支,合并分支并提交
    Vue项目中关闭eslint的方法
    Missing space before function parentheses
    单引号变双引号 格式化去掉分号
    Docker Swarm搭建多服务器下Docker集群
    Asp.Net Core中服务的生命周期选项区别和用法
    KnockoutJS-模板绑定
  • 原文地址:https://www.cnblogs.com/pengsn/p/13293442.html
Copyright © 2011-2022 走看看