HY 发表于 2014-11-1 12:58 谢谢,已解决。 |
HY 发表于 2014-10-31 17:54 缺配套的7zip.reg,发一下,谢谢 |
试试这个注册表 |
533 Bytes, 下载次数: 23, 下载积分: 无忧币 -2
本帖最后由 lgylgyxy 于 2014-10-30 17:40 编辑 阿弥陀佛 发表于 2014-10-29 20:11 意思是在PE里新安装7-ZIP,提取注册表?是这样吗? --------------------------------------------------------------------- 我试着新安装了,有个问题,安装后,7-ZIP可以使用,右键关联也存在,但是,文件关联失效了,即压缩文件不显示图标,打开提示错误、失败 实在不知道怎么解决了,还请帮忙 --------------------------------------------------------------------- 关于在PE中加入新软件,关联,注册表,右键问题,一直很头疼 摸索了这么久,一个也没有弄完整, 在此请教一下,怎样在PE中加入新的软?包括处理安装后的注册问题 |
阿弥陀佛 发表于 2014-10-29 20:11 是的,记着以前YY水老的pe就是替换个软件不行最后要修改注册表麻烦。 |
海市蜃楼 发表于 2014-10-29 19:30 还有一点。注册表未必是通用的。你可以试试自己提取注册表。先运行regshot,然后运行7z设置关联,然后再把前后的注册表导出来。这个注册表可能会有效。 |
阿弥陀佛 发表于 2014-10-29 18:22 请问,我替换了毛大和天版的,都不需要注册是怎么回事。 |
lgylgyxy 发表于 2014-10-29 17:40 我是菜鸟,不懂。你可以找作者问问。 |
海市蜃楼 发表于 2014-10-29 17:24 7z,reg在什么时机导入? |
本帖最后由 海市蜃楼 于 2014-10-29 17:27 编辑 lgylgyxy 发表于 2014-10-29 00:40 我是替换红大的,天意也都可以。 |
2014-10-29_172039.png (148.81 KB, 下载次数: 25)
665.76 KB, 下载次数: 18, 下载积分: 无忧币 -2
海市蜃楼 发表于 2014-10-28 09:53 保留了旧版的注册文件,只是替换了相应的主程序 但是,相比旧版,少了右键7-zip关联,请问怎样补充? (7-zip从9.27,升级到9.34的情况下) 以下是旧版注册文件 -------------------------------------------------------------------------- REM 这个 REGDOC.CMD 是用来设置外挂程序与其文档的关联,如果没有实现关联,可以手动运行这个批处理。 PUSHD %~dp0 SET TP=%CD% PATH "%WINDIR%\SYSTEM32" rem 关联7z右键 reg add "HKCU\Software\7-ZIP\Compression" /f /v "Level" /t REG_DWORD /d 5 reg add "HKCU\Software\7-ZIP\Compression" /f /v "Archiver" /t REG_SZ /d "7z" reg add "HKCU\Software\7-ZIP\Compression" /f /v "ShowPassword" /t REG_DWORD /d 0 reg add "HKCU\Software\7-ZIP\Compression" /f /v "EncryptHeaders" /t REG_DWORD /d 0 reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Method" /t REG_SZ /d "LZMA" reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Level" /t REG_DWORD /d 9 reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Dictionary" /t REG_DWORD /d 16777216 reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "Order" /t REG_DWORD /d 64 reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "BlockSize" /t REG_DWORD /d 32 reg add "HKCU\Software\7-ZIP\Compression\Options\7z" /f /v "NumThreads" /t REG_DWORD /d 1 reg add "HKCU\Software\7-ZIP\Options" /f /v "CascadedMenu" /t REG_DWORD /d 1 reg add "HKCU\Software\7-ZIP\Options" /f /v "ContextMenu" /t REG_DWORD /d 16151 reg add "HKCU\Software\7-ZIP\Options" /f /v "WorkDirType" /t REG_DWORD /d 1 reg add "HKCU\Software\7-ZIP\Options" /f /v "WorkDirPath" /t REG_SZ /d "" reg add "HKCU\Software\7-ZIP\Options" /f /v "TempRemovableOnly" /t REG_DWORD /d 0 reg add "HKU\.DEFAULT\SessionInformation" /f /v "ProgramCount" /t REG_DWORD /d 4 reg add "HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}" reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}" /f /ve /t REG_SZ /d "7-Zip Shell Extension" reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32" /f /ve /t REG_SZ /d "%TP%\7-zip.dll" reg add "HKLM\SOFTWARE\Classes\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment" reg add "HKLM\SOFTWARE\Classes\Directory\shellex\DragDropHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}" reg add "HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}" reg add "HKLM\SOFTWARE\Classes\Drive\shellex\DragDropHandlers\7-ZIP" /f /ve /t REG_SZ /d "{23170F69-40C1-278A-1000-000100020000}" reg add "HKLM\SOFTWARE\Microsoft\Cryptography\RNG" /f /v "Seed" /t REG_BINARY /d ae980bee38a3f51bba1e2a2620869cd4140359f701aff4cc6d90c3dacb7a58e26176a8a8d517c1ca0a19aff67e65b7ea2580d530b236cc02f57234b8acc6629bfef9fece90743d5d47134f8a5e15d12b reg add "HKLM\SOFTWARE\Classes\.7z" /f /ve /t REG_SZ /d "7-Zip.7z" reg add "HKLM\SOFTWARE\Classes\.arj" /f /ve /t REG_SZ /d "7-Zip.arj" reg add "HKLM\SOFTWARE\Classes\.bz2" /f /ve /t REG_SZ /d "7-Zip.bz2" reg add "HKLM\SOFTWARE\Classes\.bzip2" /f /ve /t REG_SZ /d "7-Zip.bzip2" reg add "HKLM\SOFTWARE\Classes\.cab" /f /ve /t REG_SZ /d "7-Zip.cab" reg add "HKLM\SOFTWARE\Classes\.cpio" /f /ve /t REG_SZ /d "7-Zip.cpio" reg add "HKLM\SOFTWARE\Classes\.gz" /f /ve /t REG_SZ /d "7-Zip.gz" reg add "HKLM\SOFTWARE\Classes\.gzip" /f /ve /t REG_SZ /d "7-Zip.gzip" reg add "HKLM\SOFTWARE\Classes\.lzh" /f /ve /t REG_SZ /d "7-Zip.lzh" reg add "HKLM\SOFTWARE\Classes\.lzma" /f /ve /t REG_SZ /d "7-Zip.lzma" reg add "HKLM\SOFTWARE\Classes\.rar" /f /ve /t REG_SZ /d "7-Zip.rar" reg add "HKLM\SOFTWARE\Classes\.rpm" /f /ve /t REG_SZ /d "7-Zip.rpm" reg add "HKLM\SOFTWARE\Classes\.tar" /f /ve /t REG_SZ /d "7-Zip.tar" reg add "HKLM\SOFTWARE\Classes\.taz" /f /ve /t REG_SZ /d "7-Zip.taz" reg add "HKLM\SOFTWARE\Classes\.tbz" /f /ve /t REG_SZ /d "7-Zip.tbz" reg add "HKLM\SOFTWARE\Classes\.tbz2" /f /ve /t REG_SZ /d "7-Zip.tbz2" reg add "HKLM\SOFTWARE\Classes\.vhd" /f /ve /t REG_SZ /d "7-Zip.vhd" reg add "HKLM\SOFTWARE\Classes\.zip" /f /ve /t REG_SZ /d "7-Zip.zip" reg add "HKLM\SOFTWARE\Classes\7-Zip.7z" /f /ve /t REG_SZ /d ".7z 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.7z\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,0" reg add "HKLM\SOFTWARE\Classes\7-Zip.7z\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.7z\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.7z\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.arj" /f /ve /t REG_SZ /d ".arj 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.arj\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,4" reg add "HKLM\SOFTWARE\Classes\7-Zip.arj\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.arj\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.arj\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.bz2" /f /ve /t REG_SZ /d ".bz2 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.bz2\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,2" reg add "HKLM\SOFTWARE\Classes\7-Zip.bz2\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.bz2\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.bz2\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.bzip2" /f /ve /t REG_SZ /d ".bzip2 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.bzip2\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,2" reg add "HKLM\SOFTWARE\Classes\7-Zip.bzip2\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.bzip2\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.bzip2\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.cab" /f /ve /t REG_SZ /d ".cab 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.cab\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,7" reg add "HKLM\SOFTWARE\Classes\7-Zip.cab\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.cab\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.cab\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.cpio" /f /ve /t REG_SZ /d ".cpio 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.cpio\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,12" reg add "HKLM\SOFTWARE\Classes\7-Zip.cpio\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.cpio\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.cpio\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.gz" /f /ve /t REG_SZ /d ".gz 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.gz\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,14" reg add "HKLM\SOFTWARE\Classes\7-Zip.gz\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.gz\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.gz\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.gzip" /f /ve /t REG_SZ /d ".gzip 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.gzip\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,14" reg add "HKLM\SOFTWARE\Classes\7-Zip.gzip\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.gzip\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.gzip\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzh" /f /ve /t REG_SZ /d ".lzh 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzh\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,6" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzh\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzh\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzh\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzma" /f /ve /t REG_SZ /d ".lzma 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzma\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,16" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzma\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzma\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.lzma\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.rar" /f /ve /t REG_SZ /d ".rar 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.rar\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,3" reg add "HKLM\SOFTWARE\Classes\7-Zip.rar\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.rar\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.rar\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.rpm" /f /ve /t REG_SZ /d ".rpm 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.rpm\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,10" reg add "HKLM\SOFTWARE\Classes\7-Zip.rpm\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.rpm\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.rpm\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.tar" /f /ve /t REG_SZ /d ".tar 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.tar\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,13" reg add "HKLM\SOFTWARE\Classes\7-Zip.tar\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.tar\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.tar\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.taz" /f /ve /t REG_SZ /d ".taz 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.taz\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,5" reg add "HKLM\SOFTWARE\Classes\7-Zip.taz\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.taz\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.taz\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz" /f /ve /t REG_SZ /d ".tbz 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,2" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz2" /f /ve /t REG_SZ /d ".tbz2 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz2\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,2" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz2\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz2\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.tbz2\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.vhd" /f /ve /t REG_SZ /d ".vhd 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.vhd\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,20" reg add "HKLM\SOFTWARE\Classes\7-Zip.vhd\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.vhd\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.vhd\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKLM\SOFTWARE\Classes\7-Zip.zip" /f /ve /t REG_SZ /d ".zip 压缩文件" reg add "HKLM\SOFTWARE\Classes\7-Zip.zip\DefaultIcon" /f /ve /t REG_SZ /d "%TP%\7z.dll,1" reg add "HKLM\SOFTWARE\Classes\7-Zip.zip\shell" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.zip\shell\open" /f /ve /t REG_SZ /d "" reg add "HKLM\SOFTWARE\Classes\7-Zip.zip\shell\open\command" /f /ve /t REG_SZ /d "\"%TP%\7zFM.exe\" \"%%1\"" reg add "HKU\.DEFAULT\Software\7-Zip\Options" /f /v "CascadedMenu" /t REG_DWORD /d 1 reg add "HKU\.DEFAULT\Software\7-Zip\Options" /f /v "ContextMenu" /t REG_DWORD /d 4919 :END EXIT ---------------------------------------------------------- |
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.