Jump to content

7Zip unattended


purg99

Recommended Posts

Oddly I cant install 7zip unattended. It always asks for its install directory.

This is whats already in my RunOnceEx

REG ADD %KEY%\029 /V 4 /D "%XPCD%\install\7Zip.exe -y /q /r:n" /f

I would like to keep away from autoit or other external methods and stick with the runonceex & $oem$ structure.

Link to comment
Share on other sites


  • 3 weeks later...

That is odd, as this:

REG ADD %KEY%\045 /VE /D "7zip v3.13" /f
REG ADD %KEY%\045 /V 1 /D "%DVD%\MyStuff\Applications\7z313.exe -y /q /r:n" /f

...Works for me...

Trying to use the /S prompt asks if i want to install.

That's kinda weird, eh?

Link to comment
Share on other sites

this I found at 7zip website FAQ

How to install 7-Zip in silent mode?

/S for silent installation and /D=dir to specify the "output directory". These options are case-sensitive. 7-Zip uses NSIS installer.

works fine for me also

Link to comment
Share on other sites

OK, you know what...I'm a goofball.

The reason that works for me (e.g. the -y and all) is because I repackaged 7zip myself last year as a 7zip sfx..and...just...forgot! Doh!

Sorry for the confusion..... :blushing:

Link to comment
Share on other sites

That is odd, as this:

REG ADD %KEY%\045 /VE /D "7zip v3.13" /f
REG ADD %KEY%\045 /V 1 /D "%DVD%\MyStuff\Applications\7z313.exe -y /q /r:n" /f

...Works for me...

Trying to use the /S prompt asks if i want to install.

That's kinda weird, eh?

thats a really old version, thats why

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...