Jump to content

7zip SFX Paramenter - Help


slimzky

Recommended Posts

hi guys, im looking for a list of 7zip Sfx parameters.. ive searched the forum & even their own website & found nothing..

i want to try creating SFX using 7zip coz im having error in Winrar :huh:

snap27tx.th.jpg

this is what i got in 7zip.. i wanted to extract the files & folders in my start menu but i dont have an idea what parameter to use..

snap34wv.th.jpg

using winrar, this is the comments i used:

;Start Menu Fix
Path=C:\Documents and Settings\Administrator\Start Menu\Programs
Overwrite=1
Silent=1

how can i do that in 7zip sfx? can i overwite & extract it silently?

edit: according to what i read, the complete list of command line paramentes for 7zip is included in the.chm help file.. but theres no .chm support in my system coz i removed it using nlite.. if someone could just post it other format thnx :)

Edited by slimzky
Link to comment
Share on other sites


7-Zip SFX does not work as WinRAR SFX...

Follow this guide :

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

BUT place all your files into a subfolder named "Programs" inside the archive.

Add startx.exe at the root of the archive (search on the forum for it)

Create a install.cmd file like this one (it must be in the same folder as startx.exe) :

@MOVE /Y "Programs" "C:\Documents and Settings\Administrator\Start Menu"

To resume, your archive will look like that :

Archive.7z
|
+- StartX.exe
|
+- Install.cmd
|
\- Programs
|
+- <your shortcuts>
|
+- ...

Use this config.txt file :

;!@Install@!UTF-8!
RunProgram="startx.exe /wait \"install.cmd\""
;!@InstallEnd@!

Now you can make the SFX with 7zS.sfx + config.txt + Archive.7z

(see the link at the top for details)

PS: note that the "Programs" folder in the archive will go to the "Programs" folder in the start menu. Do not create a second "Programs" inside it :P

Edited by Delprat
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...