Astalavista Posted January 14, 2005 Posted January 14, 2005 Ok I know that some of the mods might think this should be moved to the softwareforum.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 whati 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 trickson how to use the SFX function of 7zip.
RyanVM Posted January 14, 2005 Posted January 14, 2005 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.
Astalavista Posted January 14, 2005 Author Posted January 14, 2005 RyanVM,Your adobe acrobat is a 7zip how did u command it to extract and then install adobe acrobat 7
Incroyable HULK Posted January 14, 2005 Posted January 14, 2005 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...
Astalavista Posted January 14, 2005 Author Posted January 14, 2005 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 commandsimilar to that of Winrar.Silent Extract to a temp directory (of my choosing)Run command like setup.exe /Sor like the command we use for Nero Reloaded with the serial already included. this image shows that it can be done. but what is the command.
glent Posted January 14, 2005 Posted January 14, 2005 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
sixpack Posted January 14, 2005 Posted January 14, 2005 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 switchRunOnceEx exampel:REG ADD %KEY%\015 /VE /D "your stuff" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\your.exe -y /q /r:n" /fREG ADD %KEY%\016 /V 1 /D "%systemdrive%\yourfolder\yoursetup.exe /qb" /fyour.exe goes in to $OEM$\$1note: your.exe is the folder you made with the yoursetup.exe in it
Astalavista Posted January 14, 2005 Author Posted January 14, 2005 is there a way to not use $OEM$\$1extract from the cdrom to the xxx folder of my choosing
sixpack Posted January 14, 2005 Posted January 14, 2005 is there a way to not use $OEM$\$1extract from the cdrom to the xxx folder of my choosingthis is what RogueSpear say's on thatSomething 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 OFFset tagfile=\WIN51for %%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'stopic here:http://www.msfn.org/board/index.php?showtopic=36189
MAVERICKS CHOICE Posted January 14, 2005 Posted January 14, 2005 Thats very interesting will save stax of space be lookin into this further?
sixpack Posted January 14, 2005 Posted January 14, 2005 Thats very interesting will save stax of space be lookin into this further?useing this method i save a sh*t load of space on my cd
MAVERICKS CHOICE Posted January 14, 2005 Posted January 14, 2005 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?
sixpack Posted January 14, 2005 Posted January 14, 2005 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
MAVERICKS CHOICE Posted January 14, 2005 Posted January 14, 2005 Very impressive, Im sold on the idea.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now