Wu-Tang, Чтобы каждый раз не распаковывать и не менять пути вручную. Кладем оба файла в папку программы (перемещайте папку куда угодно) и запускаем установку.
Установка
Код:
Reg Add "HKCR\.CRC" /ve /t REG_SZ /d "File_Verification_Database" /f
Reg Add "HKCR\.MD5" /ve /t REG_SZ /d "File_Verification_Database" /f
Reg Add "HKCR\.SFV" /ve /t REG_SZ /d "File_Verification_Database" /f
Reg Add "HKCR\CLSID\{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /ve /t REG_SZ /d "QuickSFV Shell Extension" /f
Reg Add "HKCR\CLSID\{906b0e6e-61ce-11d3-8ee2-0060080a7242}\InProcServer32" /ve /t REG_SZ /d "%~dp0QSFVShll.dll" /f
Reg Add "HKCR\CLSID\{906b0e6e-61ce-11d3-8ee2-0060080a7242}\InProcServer32" /v "ThreadingModel" /t REG_SZ /d "Apartment" /f
Reg Add "HKCR\*\shellex\ContextMenuHandlers\QuickSFV Shell Extension" /ve /t REG_SZ /d "{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /f
Reg Add "HKCR\Directory\shellex\ContextMenuHandlers\QuickSFV Shell Extension" /ve /t REG_SZ /d "{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /f
Reg Add "HKCR\File_Verification_Database" /ve /t REG_SZ /d "File Verification Database" /f
Reg Add "HKCR\File_Verification_Database\DefaultIcon" /ve /t REG_SZ /d "%~dp0QuickSFV.EXE,0" /f
Reg Add "HKCR\File_Verification_Database\Shell" /ve /t REG_SZ /d "open" /f
Reg Add "HKCR\File_Verification_Database\Shell\open" /ve /t REG_SZ /d "&Open" /f
Reg Add "HKCR\File_Verification_Database\Shell\open\command" /ve /t REG_SZ /d "%~dp0QuickSFV.EXE \"%%1\"" /f
Reg Add "HKCR\File_Verification_Database\Shell\verify_all" /ve /t REG_SZ /d "&Verify All" /f
Reg Add "HKCR\File_Verification_Database\Shell\verify_all\command" /ve /t REG_SZ /d "%~dp0QuickSFV.EXE DOALL \"%%1\"" /f
Reg Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellCompatibility\Objects\{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /v "CTXMENU_NOVERBS" /t REG_SZ /d "" /f
Reg Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /v "{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /t REG_SZ /d "QuickSFV Shell Extension" /f
Удаление
Код:
Reg Delete "HKCR\.CRC" /f
Reg Delete "HKCR\.MD5" /f
Reg Delete "HKCR\.SFV" /f
Reg Delete "HKCR\CLSID\{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /f
Reg Delete "HKCR\*\shellex\ContextMenuHandlers\QuickSFV Shell Extension" /f
Reg Delete "HKCR\Directory\shellex\ContextMenuHandlers\QuickSFV Shell Extension" /f
Reg Delete "HKCR\File_Verification_Database" /f
Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellCompatibility\Objects\{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /f
Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /v "{906b0e6e-61ce-11d3-8ee2-0060080a7242}" /f
Uninstall в реестре не нужен.