Help - Search - Members - Calendar
Full Version: 7z SFX Modified Module and Tools
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3

   


Google Internet Forums Unattended CD/DVD Guide
Tefole
QUOTE (gora @ Oct 21 2008, 01:36 AM) *
Yes. For example...
Thx, its working great!
Im again and again amazed, what great thing this 'Extractor' is... shifty.gif


Edit: Just for the record welcome.gif (sorry for OT)
Extractor <= self-extracting archive <=SFX
gora
QUOTE (Tefole @ Oct 21 2008, 01:27 PM) *
great thing this 'Extractor' is... shifty.gif
What is ' Extractor ' !? blink.gif
rkillcrazy
Is there a way to recover the embedded config.txt if you no longer have it but still have the executable that was made with it?

11-03-08
1204 EDT
gora
QUOTE (rkillcrazy @ Nov 3 2008, 09:05 PM) *
Is there a way to recover the embedded config.txt if you no longer have it but still have the executable that was made with it?

Yes. Use 7z SFX Archive splitter (http://7zsfx.info/en).
rkillcrazy
QUOTE (gora @ Nov 3 2008, 01:17 PM) *
QUOTE (rkillcrazy @ Nov 3 2008, 09:05 PM) *
Is there a way to recover the embedded config.txt if you no longer have it but still have the executable that was made with it?

Yes. Use 7z SFX Archive splitter (http://7zsfx.info/en).


Thanks, I'll give that a go....

Another question:
How do the commands run? Do they run in the order they are shown in the config? I ask 'cause I'm trying to make an install that may need to overwrite the destination, however, the destination may have file in use. I was thinking, I could do something like below:

CODE
RunProgram="batch file to kill my task here"
RunProgram="batch file to clear the destination directory"
InstallPath="extract to the recently cleared destination directory"
RunProgram="batch file to do something else..."
RunProgram="batch file to do something else..."


However, if it reads the config, upon execution and immediately begins to extract to the directory that has files in use, I I'd be screwed.

11-03-08
1724 EDT
gora
Q
QUOTE
How do the commands run? Do they run in the order they are shown in the config?

A
QUOTE
There are 4 types of commands of start of programs: ' AutoInstall ', ' AutoInstallX ', ' RunProgram ' and ' ExecuteFile '. At a configuration file there can be any of these of 4 types and even everything, but after start SFX of archive one type of commands of start can be carried out only.
Commands of start of programs in each type (' AutoInstall ', ' AutoInstallX ' and ' RunProgram ') can be a little, are processed they (within each type) in that sequence in which are specified in a configuration file, the termination of the previous command and after that the following is started thus is expected.

Parametre InstallPath is not a command of start of programs. It specifies a place of unpacking of archive. Commands of start of programs are started ONLY after archive unpacking.

In your case it is possible to make so:
CODE
RunProgram="batch file to kill my task here"
RunProgram="batch file to clear the destination directory"
; InstallPath="extract to the recently cleared destination directory"
RunProgram="Copying of files from temporary folder to destination directory..."
RunProgram="batch file to do something else..."
RunProgram="batch file to do something else..."
In the absence of parametre InstallPath unpacking will occur in a temporary folder
bigfatroundguy
will there be any update given that the base 7-Zip program has now been updated to v4.62?
cybpsych
i second this request for 7zip 4.62 smile.gif

anyway, a gui for SFX is most appreciated newwink.gif

this post, http://www.msfn.org/board/index.php?s=&...st&p=719148 , points to a dead link now. I used this SFX before, it's gorgeous, but only provides basic functionality.
ricktendo64
QUOTE (bigfatroundguy @ Dec 4 2008, 12:55 PM) *
will there be any update given that the base 7-Zip program has now been updated to v4.62?
The program and this tool have nothing to do with each other
cybpsych
have any1 encountered icon problem when modifying the SFX using XN Resource Editor?

If using XN REsource Editor, the icon won't show on the dialogs. If I use Resource Hacker, the icon shows.

p/s: I like XN Reosource Editor because editing the Version is easier smile.gif
Empro
It would be great if you could also include images (example: http://www.hanzify.org/teach/UserFiles/Image/cabdo9.jpg)

Maybe you could also make a 7-Zip SFX plug-in with the ability to change the icon without the need of a ressource editor.
darkpepe
QUOTE (MioKawaii @ Jan 27 2008, 07:58 AM) *
If all you need is to extract the archive content to a certain folder, you need to specify a value for 'InstallPath' in the config file. In this case you should not specify 'RunProgram' or 'ExecuteFile' in the config file. 'AutoInstall' or 'AutoInstallX' may be specified in the config file, but should not be invoked via the command line or with the [SHIFT] key. If you specify 'RunProgram' or 'ExecuteFile' or invoke 'AutoInstall' and 'AutoInstallX', the specified executable will be launched after the extraction.


I'm getting desperate. It is exactly what I am trying, but I keep getting an error telling me that setup.exe could not be found.

What could be the problem? Thanks!

QUOTE
;!@Install@!UTF-8!
InstallPath="%PROGRAMFILES%\\Teamviewer"
GUIMode="2"
Shortcut="D,{%%T\\Teamviewer\\TeamViewer.exe},{},{},{Get help from IT Spain BB},{Teamviewer},{},{},{}"
;!@InstallEnd@!
Geej
darkpepe
Try this:

;!@Install@!UTF-8!
AutoInstall="ai"
OverwriteMode="0"
InstallPath="%PROGRAMFILES%\\Teamviewer"
GUIMode="2"
Shortcut="D,{%%T\\TeamViewer.exe},{},{TeamViewer},{Get help from IT Spain BB},{%PROGRAMFILES%\\Teamviewer}"
;!@InstallEnd@!
gora
Modules, Help files (Russian), Site (Russian) are updated. Many functions are added. Change of appearance of dialogue windows and use RTF in texts is possible.



To load it is possible here. For studying of new possibilities use online translator.
Nick_White
Are the configuration options backwards compatible (keep settings from older module)?
gora
QUOTE (Nick_White @ Mar 11 2009, 01:43 PM) *
Are the configuration options backwards compatible (keep settings from older module)?
Yes! thumbup.gif
Jolli
I would like to install with a dos Instruction and wondering how it goes:

here the cmd:
CODE
copy /y "%WINDIR%\system32\Adobe\Director\np32dsw.dll" "%ProgramFiles%\Mozilla Firefox\plugins\"


and my 7z cmd, is this correct with the DOUBLE backslashes (\\) and the double quotes (\")
especially at the end of my code (...plugins\\\")? unsure.gif
CODE
RunProgram="hidcon:cmd /c copy \"%WINDIR%\\system32\\Adobe\\Director\\np32dsw.dll\" \"%ProgramFiles%\\Mozilla Firefox\\plugins\\\" /y "

Thanks for input.
bauxite
hey thanks a lot Oleg, first post as well tongue.gif

im still figuring out how to use it but hopefully it wont be too hard smile.gif

amazing tool btw.
Gremo
Hi there, thank you for your module. I have a little cosmetic problem: i cannot make shortcut icon to work. This is my simple config.txt:

CODE
;!@Install@!UTF-8!
InstallPath="%ProgramFiles%\\JDownloader"
GUIMode="1"
Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {} {%%T\\} {%%T\\JDownloader.exe} {1}"
;!@InstallEnd@!


shorcut is created but icon is blank. Going to properties -> change icon shows that the %ProgramFiles% variable is not expanded correctly (my case is C:\Programmi\JDownloader).

Am i wrong?
gora
QUOTE (Gremo @ Jul 10 2009, 03:37 AM) *
Am i wrong?

Correct variants of a line for your case:
CODE
Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {}, {%%T\\}, {%%T\\JDownloader.exe}, {0}"

CODE
Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {}, {%%T\\}, {%%T\\JDownloader.exe}"

CODE
Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {}, {%%T\\}"
usbusb
The "7ZSD_LZMA_Dialogs.sfx" in 1.3.0 version is so cool, but it doesn't support modifying the "Extracting Progress" dialog.

Now it's resolved. Thanks, gora. ^_^
cybpsych
@gora/oleg, why is the English page n files not updated yet?
gora
QUOTE (cybpsych @ Aug 11 2009, 12:55 PM) *
@gora/oleg, why is the English page n files not updated yet?

The translator from Russian on English language is necessary. If who that can help, write here
Dumpy Dooby
Isn't it basically just "Next" "Cancel" "Exist" "Back" and other stuff like that?

I wouldn't think you'd need an actual translator for that. Google Translate would work fine.



If it's more complicated than that, let me know. I don't speak any Russian, and I am using the newer module.


edit--

Here's an example:





gora
QUOTE (Dumpy Dooby @ Sep 19 2009, 11:07 PM) *
Isn't it basically just "Next" "Cancel" "Exist" "Back" and other stuff like that?

2 'Dumpy Dooby'
The translator is necessary for a translation of site and help (manual) to English language.

2 All
Modules are updated (on September, 7th 2009) and are accessible on page of loading of Russian part of a site (http://7zsfx.info/ru/download.html).
1.4 alpha (build 1501)
1.3.0 Release (build 1501)

Modules became two language (Russian/English), support of a method of compression LZMA2 and many other changes.

Excuse my bad English.
strel
Oleg, Gora, 2 ideas:

What if besides the SetEnvironment config file parameter that let you define environment variables during execution in static way, one could set group of variables discretionally by the use of SetEnvironment# config parameters in combination with a -se# switch, resembling the behavior of the -ai# switch for AutoInstall# parameters? I'm thinking specially in script execution.
And what about a switch to be able to define InstallPath from the command line?

A lot of thx for the new release. thumbup.gif
Dumpy Dooby
Any plans to add support for LZMA2 or PPMd?

I've started embedding 9.04 versions of 7z.exe inside of my SFX archives and extracting the files that way. laugh.gif
strel
QUOTE (gora @ Sep 23 2009, 04:26 PM) *
Modules became two language (Russian/English), support of a method of compression LZMA2 and many other changes.

For 1.4 alpha (build 1501).
gora
QUOTE (strel @ Sep 24 2009, 04:25 AM) *
And what about a switch to be able to define InstallPath from the command line?
Read Help:
QUOTE
The majority of parametres can be used as keys of a command line at start SFX of archive. The exception is made by these plural parametres:
AutoInstall
AutoInstallX
Delete
DeleteX
RunProgram
Shortcut
ShortcutX
The parametres with the same name in a configuration file will be thus renominated (parametres in a command line have a priority), absent - will be added. Possible variants of record of parametres in a command line:
sfx.exe -InstallPath="%ProgramFiles%\\IEPro"
sfx.exe -SetEnvironment="Var1=E:\\totalcmd" -SetEnvironment="Var2=%%T\\"
sfx.exe -FinishMessage="new_finish_message"
sfx.exe -InstallPath="%Path7z%\\7zSFX_Tools" -FinishMessage="7z SFX Tools is setup!" -ai -gm2 -fm20


QUOTE (Dumpy Dooby @ Sep 24 2009, 07:42 AM) *
Any plans to add support for LZMA2 or PPMd?

QUOTE (gora @ Sep 23 2009, 06:26 PM) *
support of a method of compression LZMA2
Only 1.4 alpha (build 1501).
Method PPMd was supported always! newwink.gif
strel
I can't see that paragraph in english help file for 1.2 RC1 (build 715), nor in the english web section (which seems to be basically the same). It is only in the russian section.
gora
QUOTE (strel @ Sep 24 2009, 03:07 PM) *
I can't see that paragraph in english help file for 1.2 RC1 (build 715), nor in the english web section (which seems to be basically the same). It is only in the russian section.

QUOTE (gora @ Sep 23 2009, 06:26 PM) *
The translator is necessary for a translation of site and help (manual) to English language.
Dumpy Dooby
QUOTE (gora @ Sep 24 2009, 02:36 AM) *
QUOTE (Dumpy Dooby @ Sep 24 2009, 07:42 AM) *
Any plans to add support for LZMA2 or PPMd?

QUOTE (gora @ Sep 23 2009, 06:26 PM) *
support of a method of compression LZMA2
Only 1.4 alpha (build 1501).
Method PPMd was supported always! newwink.gif

OK, I understand now. My mistake was that I forgot that the "Dialogs" one was LZMA-only. I made a 7zSD_All_Dialogs.sfx, and it seems to be working fine. Thanks!
hessam
Hi gora and other member please test and improve help file
this a googled help file and included 2help file 1.7zSD_en.chm 2.7zSD_en.chm
i vote to use 1.7zSD_en.chm


http://rapidshare.com/files/286711828/en.cab.html
MD5: 6E55406C85B7C8771E1EBE75CF8ACC5A
YumeYao
QUOTE (hessam @ Sep 30 2009, 08:50 AM) *
Hi gora and other member please test and improve help file
this a googled help file and included 2help file 1.7zSD_en.chm 2.7zSD_en.chm
i vote to use 1.7zSD_en.chm


http://rapidshare.com/files/286711828/en.cab.html
MD5: 6E55406C85B7C8771E1EBE75CF8ACC5A

Not good as expected. Anyhow I vote to using 1.7zSD_en.chm too, since its layout is better than 2. So isn't there any member who knows both Russian and English well? One of my high school classmates majors Russian in college, I think I should ask her for help.
gora
QUOTE (hessam @ Sep 30 2009, 04:50 AM) *
Hi gora and other member please test and improve help file

I am necessary only competent text translation Help, and its compilation I will make itself. There should not be both grammatical, syntactic errors and the text should be clear to English users.
I do not speak on English and you can execute this work only!
hessam
Here Updated En Help
Download Link
MD5: FA15413127430052C2E2C4CCBF17DBB9
hessam
Again Update many string fixed
DownloadLink
MD5: 12F3EC1956D2C1FD72368997F963EE92
hessam
That Is Another Update
Download Link
MD5: 9D31C9A6B414BC7B2649814B8D4C781B
hessam
Again many string fixed
Download Link
MD5: E120BCA672BAB60C2F683C8CFB70E69B
ricktendo64
Thanks hessam I had no idea these were updated
gora
QUOTE (hessam @ Oct 7 2009, 04:39 AM) *
Again many string fixed
Download Link
MD5: E120BCA672BAB60C2F683C8CFB70E69B
English screenshots for the English help
link
hessam
QUOTE (gora @ Oct 7 2009, 02:13 PM) *
QUOTE (hessam @ Oct 7 2009, 04:39 AM) *
Again many string fixed
Download Link
MD5: E120BCA672BAB60C2F683C8CFB70E69B
English screenshots for the English help
link

thankyou very much
hessam
Final link

Download
MD5: FA715AD2EB1D9952F092C4BBB747B0AF smile.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.