jimmyone
Goto Top

Erweiterungen mit Programm verknüpfen - wo wirds eingetragen?

Hallo zusammen,

ich habe hier einen Packer...
Diesen verteile ich per GPO auf die einzelnen Rechner. Problem hierbei ist, das ein Benutzer mit Adminrechten hingehen müsste und im Tool selber alle Erweiterungen auswählen müsste, die mit dem Programm verknüpft werden sollen... Also sprich. zip oder .rar sollen mit dem Tool verknüpft werden.

Die Frage ist halt, wo das in der Registry passiert. Wenn man das wüsste, dann könnte man dies ja evtl. sogar ins MSI einbauen.

Das Tool ist 7-Zip und soll mit allen angebotenen Erweiterungen verknüpft werden.

Beste Grüße
Jimmy

Content-ID: 95265

Url: https://administrator.de/forum/erweiterungen-mit-programm-verknuepfen-wo-wirds-eingetragen-95265.html

Ausgedruckt am: 23.12.2024 um 04:12 Uhr

SlainteMhath
SlainteMhath 25.08.2008 um 15:37:18 Uhr
Goto Top
Hi,

dazu brauchst Du 2 Einträge

1. das zuständige Programm:
HKCR\7zip.launcher\shell\open\command REG_SZ "c:\programme\7zip\7zip.exe %1"   

und 2. für jede Extension so einen eintrag (z.B. .ZIP)
HKCR\.ZIP\(standard) REG_SZ "7zip.launcher"  

lg,
Slainte
Iwan
Iwan 25.08.2008 um 15:50:19 Uhr
Goto Top
registrier mal auf einem PC die Dateiendungen alle für 7-Zip
dann öffne den RegEditor und schau mal unter "HKEY_CLASSES_ROOT"
dort müsstest du alle Schlüssel exportieren, die 7-Zip kann
zu finden unter "7-Zip.*" und die passenden Keys für .7z, .rar, etc. leider auch

ich hab das mal für mich hier schon gemacht:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\7-ZIP]
@="{23170F69-40C1-278A-1000-000100020000}"  

[HKEY_CLASSES_ROOT\.7z]
@="7-Zip.7z"  

[HKEY_CLASSES_ROOT\.arj]
@="7-Zip.arj"  

[HKEY_CLASSES_ROOT\.bz2]
@="7-Zip.bz2"  

[HKEY_CLASSES_ROOT\.bzip2]
@="7-Zip.bzip2"  

[HKEY_CLASSES_ROOT\.cab]
@="7-Zip.cab"  

[HKEY_CLASSES_ROOT\.cpio]
@="7-Zip.cpio"  

[HKEY_CLASSES_ROOT\.deb]
@="7-Zip.deb"  

[HKEY_CLASSES_ROOT\.gz]
@="7-Zip.gz"  

[HKEY_CLASSES_ROOT\.gzip]
@="7-Zip.gzip"  

[HKEY_CLASSES_ROOT\.iso]
@="7-Zip.iso"  

[HKEY_CLASSES_ROOT\.lha]
@="7-Zip.lha"  

[HKEY_CLASSES_ROOT\.lzh]
@="7-Zip.lzh"  

[HKEY_CLASSES_ROOT\.rar]
@="7-Zip.rar"  

[HKEY_CLASSES_ROOT\.rpm]
@="7-Zip.rpm"  

[HKEY_CLASSES_ROOT\.split]
@="7-Zip.split"  

[HKEY_CLASSES_ROOT\.swm]
@="7-Zip.swm"  

[HKEY_CLASSES_ROOT\.tar]
@="7-Zip.tar"  

[HKEY_CLASSES_ROOT\.taz]
@="7-Zip.taz"  

[HKEY_CLASSES_ROOT\.tbz]
@="7-Zip.tbz"  

[HKEY_CLASSES_ROOT\.tbz2]
@="7-Zip.tbz2"  

[HKEY_CLASSES_ROOT\.tgz]
@="7-Zip.tgz"  

[HKEY_CLASSES_ROOT\.tpz]
@="7-Zip.tpz"  

[HKEY_CLASSES_ROOT\.wim]
@="7-Zip.wim"  

[HKEY_CLASSES_ROOT\.z]
@="7-Zip.z"  

[HKEY_CLASSES_ROOT\.zip]
@="7-Zip.zip"  

[HKEY_CLASSES_ROOT\7-Zip.7z]
@="7z Archive"  

[HKEY_CLASSES_ROOT\7-Zip.7z\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,0"  

[HKEY_CLASSES_ROOT\7-Zip.7z\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.7z\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.7z\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.arj]
@="arj Archive"  

[HKEY_CLASSES_ROOT\7-Zip.arj\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,4"  

[HKEY_CLASSES_ROOT\7-Zip.arj\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.arj\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.arj\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.bz2]
@="bz2 Archive"  

[HKEY_CLASSES_ROOT\7-Zip.bz2\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,2"  

[HKEY_CLASSES_ROOT\7-Zip.bz2\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.bz2\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.bz2\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.bzip2]
@="bzip2 Archive"  

[HKEY_CLASSES_ROOT\7-Zip.bzip2\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,2"  

[HKEY_CLASSES_ROOT\7-Zip.bzip2\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.bzip2\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.bzip2\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.cab]
@="cab Archive"  

[HKEY_CLASSES_ROOT\7-Zip.cab\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,7"  

[HKEY_CLASSES_ROOT\7-Zip.cab\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.cab\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.cab\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.cpio]
@="cpio Archive"  

[HKEY_CLASSES_ROOT\7-Zip.cpio\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,12"  

[HKEY_CLASSES_ROOT\7-Zip.cpio\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.cpio\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.cpio\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.deb]
@="deb Archive"  

[HKEY_CLASSES_ROOT\7-Zip.deb\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,11"  

[HKEY_CLASSES_ROOT\7-Zip.deb\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.deb\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.deb\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.gz]
@="gz Archive"  

[HKEY_CLASSES_ROOT\7-Zip.gz\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,14"  

[HKEY_CLASSES_ROOT\7-Zip.gz\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.gz\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.gz\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.gzip]
@="gzip Archive"  

[HKEY_CLASSES_ROOT\7-Zip.gzip\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,14"  

[HKEY_CLASSES_ROOT\7-Zip.gzip\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.gzip\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.gzip\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.iso]
@="iso Archive"  

[HKEY_CLASSES_ROOT\7-Zip.iso\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,8"  

[HKEY_CLASSES_ROOT\7-Zip.iso\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.iso\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.iso\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.lha]
@="lha Archive"  

[HKEY_CLASSES_ROOT\7-Zip.lha\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,6"  

[HKEY_CLASSES_ROOT\7-Zip.lha\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.lha\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.lha\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.lzh]
@="lzh Archive"  

[HKEY_CLASSES_ROOT\7-Zip.lzh\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,6"  

[HKEY_CLASSES_ROOT\7-Zip.lzh\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.lzh\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.lzh\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.rar]
@="rar Archive"  

[HKEY_CLASSES_ROOT\7-Zip.rar\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,3"  

[HKEY_CLASSES_ROOT\7-Zip.rar\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.rar\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.rar\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.rpm]
@="rpm Archive"  

[HKEY_CLASSES_ROOT\7-Zip.rpm\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,10"  

[HKEY_CLASSES_ROOT\7-Zip.rpm\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.rpm\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.rpm\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.split]
@="split Archive"  

[HKEY_CLASSES_ROOT\7-Zip.split\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,9"  

[HKEY_CLASSES_ROOT\7-Zip.split\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.split\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.split\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.swm]
@="swm Archive"  

[HKEY_CLASSES_ROOT\7-Zip.swm\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,15"  

[HKEY_CLASSES_ROOT\7-Zip.swm\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.swm\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.swm\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.tar]
@="tar Archive"  

[HKEY_CLASSES_ROOT\7-Zip.tar\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,13"  

[HKEY_CLASSES_ROOT\7-Zip.tar\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tar\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tar\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.taz]
@="taz Archive"  

[HKEY_CLASSES_ROOT\7-Zip.taz\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,5"  

[HKEY_CLASSES_ROOT\7-Zip.taz\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.taz\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.taz\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.tbz]
@="tbz Archive"  

[HKEY_CLASSES_ROOT\7-Zip.tbz\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,2"  

[HKEY_CLASSES_ROOT\7-Zip.tbz\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tbz\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tbz\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.tbz2]
@="tbz2 Archive"  

[HKEY_CLASSES_ROOT\7-Zip.tbz2\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,2"  

[HKEY_CLASSES_ROOT\7-Zip.tbz2\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tbz2\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tbz2\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.tgz]
@="tgz Archive"  

[HKEY_CLASSES_ROOT\7-Zip.tgz\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,14"  

[HKEY_CLASSES_ROOT\7-Zip.tgz\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tgz\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tgz\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.tpz]
@="tpz Archive"  

[HKEY_CLASSES_ROOT\7-Zip.tpz\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,14"  

[HKEY_CLASSES_ROOT\7-Zip.tpz\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tpz\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.tpz\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.wim]
@="wim Archive"  

[HKEY_CLASSES_ROOT\7-Zip.wim\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,15"  

[HKEY_CLASSES_ROOT\7-Zip.wim\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.wim\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.wim\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.z]
@="z Archive"  

[HKEY_CLASSES_ROOT\7-Zip.z\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,5"  

[HKEY_CLASSES_ROOT\7-Zip.z\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.z\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.z\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\7-Zip.zip]
@="zip Archive"  

[HKEY_CLASSES_ROOT\7-Zip.zip\DefaultIcon]
@="%ProgramFiles%\\7-Zip\\7z.dll,1"  

[HKEY_CLASSES_ROOT\7-Zip.zip\shell]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.zip\shell\open]
@=""  

[HKEY_CLASSES_ROOT\7-Zip.zip\shell\open\command]
@="\"%ProgramFiles%\\7-Zip\\7zFM.exe\" \"%1\""  

[HKEY_CLASSES_ROOT\CLSID\{23170F69-40C1-278A-1000-000100020000}]
@="7-Zip Shell Extension"  

[HKEY_CLASSES_ROOT\CLSID\{23170F69-40C1-278A-1000-000100020000}\InprocServer32]
@="%ProgramFiles%\\7-Zip\\7-zip.dll"  
"ThreadingModel"="Apartment"  

[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\7-ZIP]
@="{23170F69-40C1-278A-1000-000100020000}"  

[HKEY_CLASSES_ROOT\Directory\shellex\DragDropHandlers\7-ZIP]
@="{23170F69-40C1-278A-1000-000100020000}"  

[HKEY_CLASSES_ROOT\Drive\shellex\DragDropHandlers\7-ZIP]
@="{23170F69-40C1-278A-1000-000100020000}"