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