还有最重要的一步
上是写了批处理但你们双击肯定用不了
因为还要调用指定的 .inf 文件还没有
.........................................................................................................................
[Version]
Signature="$CHICAGO$"
Provider=http://www.drweb.com/
[DefaultInstall]
AddReg=spid_AddReg
[DefaultUnInstall]
DelReg=spid_DelReg
[spid_AddReg]
hkcr,"CLSID\{e7593602-124b-47c9-9f73-a69308edc973}\InprocServer32",,,"%01%\drwsxtn.dll"
hkcr,"CLSID\{e7593602-124b-47c9-9f73-a69308edc973}\InprocServer32","ThreadingModel",,"apartment"
hkcr,"*\shellex\ContextMenuHandlers\DrWMenuHandlers",,,"{e7593602-124b-47c9-9f73-a69308edc973}"
hkcr,"Directory\shellex\ContextMenuHandlers\DrWMenuHandlers",,,"{e7593602-124b-47c9-9f73-a69308edc973}"
hkcr,"Drive\shellex\ContextMenuHandlers\DrWMenuHandlers",,,"{e7593602-124b-47c9-9f73-a69308edc973}"
hklm,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\drweb32w.exe",,,"%01%\drweb32w.exe
[spid_DelReg]
hkcr,"CLSID\{e7593602-124b-47c9-9f73-a69308edc973}
hkcr,"*\shellex\ContextMenuHandlers\DrWMenuHandlers"
hkcr,"Directory\shellex\ContextMenuHandlers\DrWMenuHandlers",,,"{e7593602-124b-47c9-9f73-a69308edc973}"
hkcr,"Drive\shellex\ContextMenuHandlers\DrWMenuHandlers",,,"{e7593602-124b-47c9-9f73-a69308edc973}"
hklm,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\drweb32w.exe"
[Strings]
........................................................................................................................
把上的复制到笔记本.......保存为.............install.inf..............即可...
大功告成[:01:]
忘了说
删除右键
.......................................................................................................................
pushd "%~dp0"
rundll32 setupapi.dll,InstallHinfSection DefaultUnInstall 128 .\install.inf
popd
.......................................................................................................................
双把上的复制到笔记本保存为..........删除右键.bat............
想..........卸载右键双击就行了.......... |