Jump to content

Recommended Posts

Posted

Ok I know that some of the mods might think this should be moved to the software

forum.

But i think this topic should remain in the Unattended section.

Why? Bec. recently I found out that I could compress my drivers from 340 MB to 54 MB.

And Microsoft Office from 564mb is 254md (thanks Sixpack for the tip)

I personally dont understand the commands to be used. I just cut and paste what

i read in the post. But i would really like to understand them.

I want to ask some of the senior members that use 7zip to write some tips and tricks

on how to use the SFX function of 7zip.


Posted

In the 7-zip help, read the Command Line Version...Switches...-sfx section. It's not exactly in a great location, but it describes in fairly great detail what the different SFX modules are and how to use them.

Posted

I took a look to the help section provided with 7zip a few days ago but I couldn't find an answer to my question:

How do you add a password to the silent switch?

I mean, I want to build some SFX Archive with a password and I want to execute with the password as an argument:

DetachedProgram="%systemdrive%\DP.exe"
Arguments="-y /q /r:n /password???"

Something like that...

Posted

I hv written a email to 7zip.org to ask them, how i can extract the 7zip.sfx.exe to a temp directory, and launch a command

similar to that of Winrar.

Silent Extract to a temp directory (of my choosing)

Run command like setup.exe /S

or like the command we use for Nero Reloaded with the serial already included.

381_Snap1.jpg

this image shows that it can be done. but what is the command.

Posted

I to wish to change my Winrar SFX to 7Zip to save space on my Ua DVD but i cannot undersatnd how to extract automatical and run an .EXE with a switch

Posted
I to wish to change my Winrar SFX to 7Zip to save space on my Ua DVD but i cannot undersatnd how to extract automatical and run an .EXE with a switch

RunOnceEx exampel:

REG ADD %KEY%\015 /VE /D "your stuff" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\your.exe -y /q /r:n" /f

REG ADD %KEY%\016 /V 1 /D "%systemdrive%\yourfolder\yoursetup.exe /qb" /f

your.exe goes in to $OEM$\$1

note:

your.exe is the folder you made with the yoursetup.exe in it

:)

Posted
is there a way to not use $OEM$\$1

extract from the cdrom to the xxx folder of my choosing

this is what RogueSpear say's on that

Something interesting that I noticed recently though. I was doing an install for a friend who got a new Dell with a 3.4 Hyperthreaded CPU. I wouldn't think that the hyperthreading would actually kick in that early, but anyway, it's so fast of a computer that the decompressing does not finish before the detecting devices portion of the setup begins. My solution at this point is to copy the 7z file over during the textmode portion of the setup and decompress it from the hard drive instead of the DVD drive. This seems to not only let it decompress faster, but it ties up the hard drive enough to slow down the GUI portion of the setup so that the job finishes in time.
his method
[GuiUnattended]

DetachedProgram="%SYSTEMDRIVE%\Drivers.cmd"

@ECHO OFF

set tagfile=\WIN51

for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set CDDRIVE=%%i:

%SystemDrive%

cd \

Start /WAIT %CDDRIVE%\OEM\7za.exe x -y -aoa %CDDRIVE%\OEM\Drivers.7z -o"%SYSTEMDRIVE%\D"

Start /WAIT %CDDRIVE%\OEM\7za.exe x -y -aoa %CDDRIVE%\OEM\ProgFiles.7z -o"%PROGRAMFILES%"

Start /WAIT %CDDRIVE%\OEM\7za.exe x -y -aoa %CDDRIVE%\OEM\Sys32.7z -o"%SYSTEMROOT%\System32"

Copy %CDDRIVE%\OEM\7za.exe "%SYSTEMROOT%\System32\7za.exe"

notice the path he use's

topic here:

http://www.msfn.org/board/index.php?showtopic=36189

Posted
Thats very interesting will save stax of space be lookin into this further?

useing tis method i save a sh*t load of space on my cd

Yeah, how bout installation time any noticeable increases?

txtsetup is faster [no 300mb drivers to copy just 58mb]

and the 7z extact's fast

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...