The famous compression software 7-zip is a GNU/LPGL the free software which distributes under the agreement, can say is at present the most hopeful becomes the zip, the next mainstream compression format file compression format after the RAR. Let's take a look at how to add the 7z right button for PE, of course there are many kinds of methods, the following is only one of the methods for reference.
First, copy the 7z.exe, 7z.dll, 7-zip.dll, 7zG.exe four files to the System32 folder.
Then add the following sentences to Regdoc.cmd (which may be another name, or not):
REM Association 7z
REG ADD "HKU." Defaultsoftware7-zip "/f/v" Lang "/" t reg_sz/d "ZH-CN"
REG ADD "HKU." Defaultsessioninformation "/f/v" Programcount/t reg_dword/d 4
REG ADD "HKU." defaultsoftware7-zipcompressionoptions7z "/f/v" method "/t reg_sz/d" Lzma "
REG ADD "HKU." defaultsoftware7-zipcompressionoptions7z "/f/v" level "/t reg_dword/d 9
REG ADD "HKU." defaultsoftware7-zipcompressionoptions7z "/f/v" Dictionary/t reg_dword/d 33554432
REG ADD "HKU." defaultsoftware7-zipcompressionoptions7z "/f/v" order "/t reg_dword/d 64
REG ADD "HKU." defaultsoftware7-zipcompressionoptions7z "/f/v" BlockSize/t reg_dword/d 32
REG ADD "HKU." defaultsoftware7-zipcompressionoptions7z "/f/v" numthreads/t reg_dword/d 1
REG ADD "Hklmsoftwareclasses*shellexcontextmenuhandlers7-zip"/f/ve/t reg_sz/d "{ 23170f69-40c1-278a-1000-000100020000} "
REG add "hklmsoftwareclassesclsid{23170f69-40c1-278a-1000-000100020000}"/f/ve/t reg_sz/d "7-Zip Shell Extension"
REG ADD "Hklmsoftwareclassesclsid{23170f69-40c1-278a-1000-000100020000}inprocserver32"/f/ve/t reg_sz/d "X: Wxpesystem327-zip.dll "
REG ADD "Hklmsoftwareclassesclsid{23170f69-40c1-278a-1000-000100020000}inprocserver32"/f/v "ThreadingModel"/t REG_ sz/d "Apartment"
REG ADD "Hklmsoftwareclassesdirectoryshellexdragdrophandlers7-zip"/f/ve/t reg_sz/d "{ 23170f69-40c1-278a-1000-000100020000} "
REG ADD "Hklmsoftwareclassesdirectoryshellexcontextmenuhandlers7-zip"/f/ve/t reg_sz/d "{ 23170f69-40c1-278a-1000-000100020000} "
REG ADD "Hklmsoftwareclassesdriveshellexdragdrophandlers7-zip"/f/ve/t reg_sz/d "{ 23170f69-40c1-278a-1000-000100020000} "
REG ADD "HKU." Defaultsoftware7-zipoptions "/f/v" Cascadedmenu/t reg_dword/d 1
REG ADD "HKU." Defaultsoftware7-zipoptions "/f/v" ContextMenu/t reg_dword/d 256
REG ADD "HKU." Defaultsoftware7-zipoptions "/f/v" workdirtype/t reg_dword/d 0
REG ADD "HKU." Defaultsoftware7-zipoptions "/f/v" Workdirpath "/t reg_sz/d" "
REG ADD "HKU." Defaultsoftware7-zipoptions "/f/v" tempremovableonly/t reg_dword/d 1
REG ADD "hklmsoftwaremicrosoftcryptographyrng"/f/v "Seed"/t reg_binary/d ae980bee38a3f51bba1e2a2620869cd4140359f701aff4cc6d90c3dacb7a58e26176a8a8d517c1ca0a19aff67e65b7ea2580d530b236cc02f57234b8a cc6629bfef9fece90743d5d47134f8a5e15d12b