|
本帖最后由 tt911 于 2024-9-6 18:14 编辑
实在是太大了。所以最终精简到极限
从此处下载,https://pinyin .sogou. com /zhihui/
得到EXE文件,之后用7zip解出来,只保留以下文件
C:\Program Files (x86)\SogouInput
├文件夹1:[8.3.0.9576]
│ ├(1)Resource.dll
│ ├(2)sgim_adjcache.bin
│ ├(3)sgim_annex.bin
│ ├(4)sgim_core.bin
│ ├(5)sgim_eng.bin
│ ├(6)sgim_eng_pre.bin
│ ├(7)sgim_hz.bin
│ ├(8)sgim_py.bin
│ ├(9)sgim_quick.bin
│ ├(10)sgim_tra.bin
│ ├(11)sgim_url.bin
│ ├(12)SGTool.exe (蛋痛可删除)
│ ├(13)Skin.dat (没有能输入,但状态条就真空状了,所以必须保留)
│ ├(14)SogouCloud.exe (蛋痛可删除)
│ └█
├文件夹2:[system32]
│ ├(1)SogouPY.ime
│ ├(2)SogouTSF.ime
│ └█
├文件夹3:[SysWOW64]
│ ├(1)SogouPY.ime
│ ├(2)SogouTSF.ime
│ └█
└█
以下批处理取自本论坛友的(未亲自测试,估计问题不大)自己按实际内容修改。今天有业务,没时间玩了。
reg add "HKLM\SOFTWARE\Classes\CLSID\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f /ve /t REG_SZ /d "搜狗五笔输入法"
reg add "HKLM\SOFTWARE\Classes\CLSID\{E7EA138F-69F8-11D7-A6EA-00065B844310}\InProcServer32" /f /ve /t REG_SZ /d "%windir%\system32\SogouWBTSF.ime"
reg add "HKLM\SOFTWARE\Classes\CLSID\{E7EA138F-69F8-11D7-A6EA-00065B844310}\InProcServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
reg add "%SC%\CLSID\{CC43AF26-60C3-4612-B58D-27A07A40E90C}" /f /ve /t REG_SZ /d "SogouWB Text Service"
reg add "%SC%\CLSID\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\InProcServer32" /f /ve /t REG_SZ /d "%CD%\5.3.0.2475\SogouTSF.dll"
reg add "%SC%\CLSID\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\InProcServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
reg add "%SW%\SogouWBInput" /f /ve /t REG_SZ /d "%CD%"
reg add "%SW%\SogouWBInput" /f /v "Region" /t REG_SZ /d "0000_sogou_wubi_31a"
reg add "%SW%\SogouWBInput" /f /v "StartMenuFolder" /t REG_SZ /d "搜狗五笔输入法"
reg add "%SW%\SogouWBInput" /f /v "Version" /t REG_SZ /d "5.3.0.2475"
reg add "%SW%\SogouWBInput" /f /v "VersionType" /t REG_SZ /d "final"
reg add "HKCU\Software\SogouWBInput" /f /ve /t REG_SZ /d ""
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{CC43AF26-60C3-4612-B58D-27A07A40E90C}" /f /v "Enable" /t REG_SZ /d "1"
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\Category\Category\{34745C63-B2F0-4784-8B67-5E12C8701A31}\{CC43AF26-60C3-4612-B58D-27A07A40E90C}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\Category\Item\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\{34745C63-B2F0-4784-8B67-5E12C8701A31}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{046B8C80-1647-40F7-9B21-B93B81AABC1B}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{13A016DF-560B-46CD-947A-4C3AF1E0E35D}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{25504FB4-7BAB-4BC1-9C69-CF81890F0EF5}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{34745C63-B2F0-4784-8B67-5E12C8701A31}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{364215D9-75BC-11D7-A6EF-00065B84435C}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{364215DA-75BC-11D7-A6EF-00065B84435C}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{49D2F9CE-1F5E-11D7-A6D3-00065B84435C}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{49D2F9CF-1F5E-11D7-A6D3-00065B84435C}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Category\{CCF05DD7-4A87-11D7-A6E2-00065B84435C}\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{046B8C80-1647-40F7-9B21-B93B81AABC1B}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{13A016DF-560B-46CD-947A-4C3AF1E0E35D}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{25504FB4-7BAB-4BC1-9C69-CF81890F0EF5}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{34745C63-B2F0-4784-8B67-5E12C8701A31}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{364215D9-75BC-11D7-A6EF-00065B84435C}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{364215DA-75BC-11D7-A6EF-00065B84435C}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{49D2F9CE-1F5E-11D7-A6D3-00065B84435C}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{49D2F9CF-1F5E-11D7-A6D3-00065B84435C}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\Category\Item\{E7EA138F-69F8-11D7-A6EA-00065B844310}\{CCF05DD7-4A87-11D7-A6E2-00065B84435C}" /f
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\LanguageProfile\0x00000804\{E7EA1390-69F8-11D7-A6EA-00065B844311}" /f /v "Description" /t REG_SZ /d "搜狗五笔"
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\LanguageProfile\0x00000804\{E7EA1390-69F8-11D7-A6EA-00065B844311}" /f /v "Enable" /t REG_DWORD /d 1
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\LanguageProfile\0x00000804\{E7EA1390-69F8-11D7-A6EA-00065B844311}" /f /v "HiddenInSettingUI" /t REG_DWORD /d 0
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\LanguageProfile\0x00000804\{E7EA1390-69F8-11D7-A6EA-00065B844311}" /f /v "IconFile" /t REG_SZ /d "%CD%\5.3.0.2475\WbConfig.exe"
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\LanguageProfile\0x00000804\{E7EA1390-69F8-11D7-A6EA-00065B844311}" /f /v "IconIndex" /t REG_DWORD /d 0
reg add "HKLM\SOFTWARE\Microsoft\CTF\TIP\{E7EA138F-69F8-11D7-A6EA-00065B844310}\LanguageProfile\0x00000804\{E7EA1390-69F8-11D7-A6EA-00065B844311}" /f /v "SubItemInSettingUI" /t REG_DWORD /d 0
reg add "%SC%\CLSID\{E7EA138F-69F8-11D7-A6EA-00065B844310}" /f /ve /t REG_SZ /d "搜狗五笔输入法"
reg add "%SC%\CLSID\{E7EA138F-69F8-11D7-A6EA-00065B844310}\InProcServer32" /f /ve /t REG_SZ /d "%windir%\SysWow64\SogouWBTSF.ime"
reg add "%SC%\CLSID\{E7EA138F-69F8-11D7-A6EA-00065B844310}\InProcServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%n%" /f /v "Ime File" /t REG_SZ /d "SogouWB.ime"
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%n%" /f /v "Layout File" /t REG_SZ /d "kbdus.dll"
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%n%" /f /v "Layout Text" /t REG_SZ /d "搜狗五笔"
reg add "HKCU\Keyboard Layout\Preload" /f /v "%j%" /t REG_SZ /d "%n%"
https://wwgc.lanzouj.com/iQm1I29cww7a还差安装脚本、注册表细节。
广告暂时没发现,不知道在哪。
|
|