MSFN Forum: 7zip silent - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

7zip silent How? Rate Topic: -----

#1 User is offline   Tecia 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 07-August 03

Posted 02 November 2003 - 02:03 PM

7zip has self extract
i cant extract it with winrar or othr application
how can i do silent install?


#2 User is offline   Przemek 

  • Group: Members
  • Posts: 7
  • Joined: 26-October 03

Posted 03 November 2003 - 04:35 PM

Run 7-zip.exe with switches -y /q /r:n (tested on 7z311.exe)

#3 User is offline   Tecia 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 07-August 03

Posted 08 November 2003 - 08:58 AM

It works :rolleyes:
Thx
:)

#4 User is offline   mad_mattx 

  • Newbie
  • Group: Members
  • Posts: 48
  • Joined: 11-January 04

Posted 05 October 2004 - 01:05 AM

does anyone know the registry codes to silently associate the file types at all
Please

Thanks

Matt

#5 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 October 2004 - 01:42 AM

I don't know, but I do know that WinRAR does a lot more (and is paid) and it can open 7-Zip archives.
Just installing winrar with "/S" switch will setup the associations.

I like 7zip too, for it wonderful compression - but its not always that much higher compression than others. So I just install 7zip when needed - and manually choose the associations.

#6 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 06 October 2004 - 08:45 AM

After setting your pref inside 7zip, export the [HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations] key. Here is mine:

REGEDIT4

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations]

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\001]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\7z]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\arj]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\bz2]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\cab]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\cpio]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\deb]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\gz]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\rar]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\rpm]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\tar]
"Plugins"=""

[HKEY_CURRENT_USER\SOFTWARE\7-ZIP\FM\Associations\zip]
"Plugins"=""


#7 User is offline   mad_mattx 

  • Newbie
  • Group: Members
  • Posts: 48
  • Joined: 11-January 04

Posted 07 October 2004 - 02:13 PM

Thanks big_gie will add it to my registry file

prathapml, sorry i prefer the freeware as i don't get paid enough to buy every piece of software

;)

Cheers

Matt

#8 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,600
  • Joined: 04-December 03

Posted 30 December 2004 - 05:55 PM

This reg mod check the associations in 7zip only, in reality windows cannot open the archives with 7zip yet , you must modify directly HKEY_CLASSES_ROOT key ! (it's long but that works , and you can put the reg of big_gie for coordinate 7zip and windows ...

Sorry for my bad expression, i'm french ...
goodbye !

(ps this is my first post :-) & Great ressource site for unattend windows install

#9 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 December 2004 - 01:44 AM

Right, either make those modifications to HKCR tree, or apply the HKCU keys above at T-12 (through cmdlines.txt).

#10 User is offline   laderio 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 18-October 04

Posted 07 January 2005 - 01:24 PM

Anyone knows, how to unattended install 7-Zip for all users instead of the current?

-y /q /r:n <-- works fine, but only installs for the current user

#11 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 08 January 2005 - 02:40 AM

install it @ T-12

#12 User is offline   laderio 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 18-October 04

Posted 10 January 2005 - 10:15 AM

Sure this would work. I also thought about this ^^ But would be nice, if there is a possibility, which installs it after the installation for all users ;) This possibility doesn't exist, right? -_-

#13 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,600
  • Joined: 04-December 03

Posted 26 January 2005 - 01:57 PM

if you want to install 7zip with associations take this regs :

Assocations said:

Windows Registry Editor Version 5.00

;001
[HKEY_CLASSES_ROOT\.001]
@="7-Zip.001"
[HKEY_CLASSES_ROOT\7-Zip.001]
@="001 Archive"
[HKEY_CLASSES_ROOT\7-Zip.001\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\split.dll"
[HKEY_CLASSES_ROOT\7-Zip.001\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.001\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.001\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;7z
[HKEY_CLASSES_ROOT\.7z]
@="7-Zip.7z"
[HKEY_CLASSES_ROOT\7-Zip.7z]
@="7z Archive"
[HKEY_CLASSES_ROOT\7-Zip.7z\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\7z.dll"
[HKEY_CLASSES_ROOT\7-Zip.7z\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.7z\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.7z\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;7zip
[HKEY_CLASSES_ROOT\.7zip]
@="7-Zip.7zip"
[HKEY_CLASSES_ROOT\7-Zip.7zip]
@="7zip Archive"
[HKEY_CLASSES_ROOT\7-Zip.7zip\DefaultIcon]
@=""
[HKEY_CLASSES_ROOT\7-Zip.7zip\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.7zip\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.7zip\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Arj
[HKEY_CLASSES_ROOT\.arj]
@="7-Zip.arj"
[HKEY_CLASSES_ROOT\7-Zip.arj]
@="arj Archive"
[HKEY_CLASSES_ROOT\7-Zip.arj\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\arj.dll"
[HKEY_CLASSES_ROOT\7-Zip.arj\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.arj\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.arj\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Bz2
[HKEY_CLASSES_ROOT\.bz2]
@="7-Zip.bz2"
[HKEY_CLASSES_ROOT\7-Zip.bz2]
@="bz2 Archive"
[HKEY_CLASSES_ROOT\7-Zip.bz2\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\bz2.dll"
[HKEY_CLASSES_ROOT\7-Zip.bz2\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.bz2\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.bz2\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""
[HKEY_CLASSES_ROOT\.cab]
@="7-Zip.cab"

;Cab
[HKEY_CLASSES_ROOT\7-Zip.cab]
@="cab Archive"
[HKEY_CLASSES_ROOT\7-Zip.cab\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\cab.dll"
[HKEY_CLASSES_ROOT\7-Zip.cab\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.cab\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.cab\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Cpio
[HKEY_CLASSES_ROOT\.cpio]
@="7-Zip.cpio"
[HKEY_CLASSES_ROOT\7-Zip.cpio]
@="cpio Archive"
[HKEY_CLASSES_ROOT\7-Zip.cpio\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\cpio.dll"
[HKEY_CLASSES_ROOT\7-Zip.cpio\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.cpio\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.cpio\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Deb
[HKEY_CLASSES_ROOT\.deb]
@="7-Zip.deb"
[HKEY_CLASSES_ROOT\7-Zip.deb]
@="deb Archive"
[HKEY_CLASSES_ROOT\7-Zip.deb\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\deb.dll"
[HKEY_CLASSES_ROOT\7-Zip.deb\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.deb\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.deb\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Gz
[HKEY_CLASSES_ROOT\.gz]
@="7-Zip.gz"
[HKEY_CLASSES_ROOT\7-Zip.gz]
@="gz Archive"
[HKEY_CLASSES_ROOT\7-Zip.gz\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\gz.dll"
[HKEY_CLASSES_ROOT\7-Zip.gz\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.gz\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.gz\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Rar
[HKEY_CLASSES_ROOT\.rar]
@="7-Zip.rar"
[HKEY_CLASSES_ROOT\7-Zip.rar]
@="rar Archive"
[HKEY_CLASSES_ROOT\7-Zip.rar\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\rar.dll"
[HKEY_CLASSES_ROOT\7-Zip.rar\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.rar\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.rar\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Rpm
[HKEY_CLASSES_ROOT\.rpm]
@="7-Zip.rpm"
[HKEY_CLASSES_ROOT\7-Zip.rpm]
@="rpm Archive"
[HKEY_CLASSES_ROOT\7-Zip.rpm\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\rpm.dll"
[HKEY_CLASSES_ROOT\7-Zip.rpm\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.rpm\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.rpm\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Tar
[HKEY_CLASSES_ROOT\.tar]
@="7-Zip.tar"
[HKEY_CLASSES_ROOT\7-Zip.tar]
@="tar Archive"
[HKEY_CLASSES_ROOT\7-Zip.tar\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\tar.dll"
[HKEY_CLASSES_ROOT\7-Zip.tar\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.tar\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.tar\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""

;Zip
[HKEY_CLASSES_ROOT\.zip]
@="7-Zip.zip"
[HKEY_CLASSES_ROOT\7-Zip.zip]
@="zip Archive"
[HKEY_CLASSES_ROOT\7-Zip.zip\DefaultIcon]
@="C:\\Program Files\\7-Zip\\Formats\\zip.dll"
[HKEY_CLASSES_ROOT\7-Zip.zip\shell]
@=""
[HKEY_CLASSES_ROOT\7-Zip.zip\shell\open]
@=""
[HKEY_CLASSES_ROOT\7-Zip.zip\shell\open\command]
@="\"C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\""


Settings/Language said:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\7-ZIP]
"Lang"="C:\\Program Files\\7-Zip\\Lang\\fr.txt"

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\001]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\7z]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\7zip]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\arj]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\bz2]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\cab]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\cpio]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\deb]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\gz]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\rar]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\rpm]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\tar]
"Plugins"=""

[HKEY_CURRENT_USER\Software\7-ZIP\FM\Associations\zip]
"Plugins"=""

Note: Replace the fr.txt by your native language ;-)

++

Works great !
EDIT:

Bâshrat the Sneaky, on Jan 26 2005, 02:09 PM, said:

... and you will have to replace C:\\Program Files\\... by your own...


(My RunOncEx file (a part )

Quote

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
SET C=%SystemDrive%\Softs

REG ADD %KEY%\011 /VE /D "7-Zip" /f
REG ADD %KEY%\011 /V 1 /D "%C%\7z313.exe -y /q /r:n" /f
REG ADD %KEY%\011 /V 2 /D "regedit /s %C%\7Zip_Settings.reg" /f
REG ADD %KEY%\011 /V 3 /D "regedit /s %C%\7Zip_Associations.reg" /f


#14 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 26 January 2005 - 02:09 PM

... and you will have to replace C:\\Program Files\\... by your own...

#15 User is offline   -I- 

  • win2k Freak
  • PipPipPipPip
  • Group: Members
  • Posts: 639
  • Joined: 23-November 04

Posted 29 January 2005 - 05:12 AM

here is an other Q:

when installing 7z i realy hate the way is set in my shell

(right click menu)
| open
| run as
| 7z Extract files
| 7z Extract here
============
| Scan with Norton AV
etc.

Is there anywhone who can tell me how to make it apear like this.

(right click menu)
| Open
| Run as
| 7zip > | 7z Extract files
| .......... | 7z Extract here
| Scan with Norton AV
etc.

#16 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 29 January 2005 - 05:46 AM

go to www.7zip.org

#17 User is offline   laderio 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 18-October 04

Posted 30 January 2005 - 03:01 PM

Try this, works well for me:

[HKEY_CURRENT_USER\Software\7-ZIP\Options]
"CascadedMenu"=dword:0x00000001
"ContextMenu"=dword:0000000F37

The value for the key "ContextMenu" depends on the options you want to be listed, just set them inside 7-Zip and get the value out of registry ;)



Question:
Anyone already tested using HKLM instead of HKCU?
tw. what type is the setup? Would it work to copy the files and make a link with the reg-tweaks fpr 7-Zip?


@Sonic:
You're sure, the "Plugins"="" part is necessary?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy