123.jpg (33.15 KB, 下载次数: 118)
@echo off
cd /d "%~dp0"
reg add "HKLM\SOFTWARE\Classes\.cwb" /f /ve /t REG_SZ /d "SogouImeConfig"
reg add "HKLM\SOFTWARE\Classes\.scel" /f /ve /t REG_SZ /d "SogouCellDict"
reg add "HKLM\SOFTWARE\Classes\.ssf" /f /ve /t REG_SZ /d "SogouSkinFile"
reg add "HKLM\SOFTWARE\Classes\CLSID\{CC43AF26-60C3-4612-B58D-27A07A40E90C}" /f /ve /t REG_SZ /d "SogouWB Text Service"
reg add "HKLM\SOFTWARE\Classes\CLSID\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\InProcServer32" /f /ve /t REG_SZ /d "%CD%\2.0.1.1198\SogouTSF.dll"
reg add "HKLM\SOFTWARE\Classes\CLSID\{CC43AF26-60C3-4612-B58D-27A07A40E90C}\InProcServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment"
reg add "HKLM\SOFTWARE\Classes\SogouCellDict" /f /ve /t REG_SZ /d "Sogou Cell Dict"
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\DefaultIcon" /f /ve /t REG_SZ /d "\"%CD%\2.0.1.1198\ScdReg.exe\""
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Entry\SogouWB" /f /ve /t REG_SZ /d "搜狗五笔输入法"
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Entry\SogouWB" /f /v "Command" /t REG_SZ /d "%CD%\2.0.1.1198\ScdReg.exe"
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Entry\SogouWB" /f /v "InstallType" /t REG_DWORD /d 2
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Entry\SogouWB" /f /v "Params" /t REG_SZ /d "-add "
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Entry\SogouWB" /f /v "Priority" /t REG_DWORD /d 2
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Shell\Open" /f /ve /t REG_SZ /d "安装搜狗输入法细胞词库"
reg add "HKLM\SOFTWARE\Classes\SogouCellDict\Shell\Open\Command" /f /ve /t REG_SZ /d "\"%CD%\2.0.1.1198\ScdReg.exe\" -list \"%%l\""
reg add "HKLM\SOFTWARE\Classes\SogouImeConfig" /f /ve /t REG_SZ /d "SogouImeConfig"
reg add "HKLM\SOFTWARE\Classes\SogouImeConfig\DefaultIcon" /f /ve /t REG_SZ /d "\"%CD%\2.0.1.1198\cwb.ico\""
reg add "HKLM\SOFTWARE\Classes\SogouImeConfig\Shell\Open" /f /ve /t REG_SZ /d "安装搜狗输入法用户配置"
reg add "HKLM\SOFTWARE\Classes\SogouImeConfig\Shell\Open\Command" /f /ve /t REG_SZ /d "\"%CD%\2.0.1.1198\ConfigIE.Exe\" 1 \"%%1\""
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile" /f /ve /t REG_SZ /d "Sogou Skin File"
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\DefaultIcon" /f /ve /t REG_SZ /d "%CD%\2.0.1.1198\SkinReg.exe"
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Entry\SogouWB" /f /ve /t REG_SZ /d "搜狗五笔输入法"
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Entry\SogouWB" /f /v "Command" /t REG_SZ /d "%CD%\2.0.1.1198\SkinReg.exe"
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Entry\SogouWB" /f /v "InstallType" /t REG_DWORD /d 2
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Entry\SogouWB" /f /v "Params" /t REG_SZ /d "-install "
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Entry\SogouWB" /f /v "Priority" /t REG_DWORD /d 2
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Shell\Open" /f /ve /t REG_SZ /d "安装搜狗输入法皮肤"
reg add "HKLM\SOFTWARE\Classes\SogouSkinFile\Shell\Open\Command" /f /ve /t REG_SZ /d "\"%CD%\2.0.1.1198\SkinReg.exe\" -list \"%%1\""
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{6D82CE13-1B9B-4168-92AC-768CEE86B806}" /f /v "AppName" /t REG_SZ /d "WbConfig.exe"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{6D82CE13-1B9B-4168-92AC-768CEE86B806}" /f /v "AppPath" /t REG_SZ /d "%CD%\2.0.1.1198"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{6D82CE13-1B9B-4168-92AC-768CEE86B806}" /f /v "Policy" /t REG_DWORD /d 3
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{EA4E4267-293B-4819-80E8-81694D27A1B0}" /f /v "AppName" /t REG_SZ /d "UserPage.exe"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{EA4E4267-293B-4819-80E8-81694D27A1B0}" /f /v "AppPath" /t REG_SZ /d "%CD%\2.0.1.1198"
reg add "HKLM\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{EA4E4267-293B-4819-80E8-81694D27A1B0}" /f /v "Policy" /t REG_DWORD /d 3
reg add "HKLM\SOFTWARE\SogouWBInput" /f /ve /t REG_SZ /d "%CD%"
reg add "HKLM\SOFTWARE\SogouWBInput" /f /v "Region" /t REG_SZ /d "0003_sogou_wubi_20_rc_2009_12_09"
reg add "HKLM\SOFTWARE\SogouWBInput" /f /v "Version" /t REG_SZ /d "2.0.1.1198"
reg add "HKLM\SOFTWARE\SogouWBInput" /f /v "VersionType" /t REG_SZ /d "final"
reg add "HKLM\SYSTEM\ControlSet001\Control\Keyboard Layouts\E0220804" /f /v "Ime File" /t REG_SZ /d "SOGOUWB.IME"
reg add "HKLM\SYSTEM\ControlSet001\Control\Keyboard Layouts\E0220804" /f /v "Layout File" /t REG_SZ /d "kbdus.dll"
reg add "HKLM\SYSTEM\ControlSet001\Control\Keyboard Layouts\E0220804" /f /v "Layout Text" /t REG_SZ /d "中文(简体) - 搜狗五笔输入法"
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0220804" /f /v "Ime File" /t REG_SZ /d "SOGOUWB.IME"
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0220804" /f /v "Layout File" /t REG_SZ /d "kbdus.dll"
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0220804" /f /v "Layout Text" /t REG_SZ /d "中文(简体) - 搜狗五笔输入法"
reg add "HKU\.DEFAULT\Keyboard Layout\Preload" /f /v "4" /t REG_SZ /d "E0220804"
原帖由 zhs509 于 2012-6-15 11:55 发表
简单监视了下注册信息,我去掉了部分内容。。。
估计只要最后面几行代码即可。。。
批处理和原来的那个绿化工具放在同一个目录,原来的绿化工具也可删除。。。
开机前调用,进入桌面可用;进入桌面 ...
[Setting]
StatusPosX=1216
LimitWordCand=0
StatusPosY=706
LearnNewWord=1
InputMode=2
LearnFreq=1
KeyEnCnSwitch=0
KeyEnCnSwitch2=0
[SyncMode]
LimitWordCand=remote
LearnNewWord=remote
InputMode=remote
LearnFreq=remote
KeyEnCnSwitch=remote
KeyEnCnSwitch2=remote
原帖由 binke 于 2012-6-15 14:32 发表
Windows XP
C:\Documents and settings\\Application Data\SogouWB
Windows 7 / Vista:
C:\Users\\AppData\LocalLow\SogouWB
原帖由 binke 于 2012-6-15 16:06 发表
好像用批处理是可以安装,但是无法刷新,就像前面讨论的那样,得注销,或者用IEMTOOL添加才能生效,要嘛就在开机前加载,而使用官方的程序是实时生效的。
欢迎光临 无忧启动论坛 (http://wuyou.net./) | Powered by Discuz! X3.3 |