gora Posted November 5, 2008 Posted November 5, 2008 (edited) QHow do the commands run? Do they run in the order they are shown in the config?AThere 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: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 Edited November 5, 2008 by gora
bigfatroundguy Posted December 4, 2008 Posted December 4, 2008 will there be any update given that the base 7-Zip program has now been updated to v4.62?
cybpsych Posted December 19, 2008 Posted December 19, 2008 i second this request for 7zip 4.62 anyway, a gui for SFX is most appreciated 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.
ricktendo Posted December 19, 2008 Posted December 19, 2008 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 Posted December 20, 2008 Posted December 20, 2008 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
Empro Posted January 12, 2009 Posted January 12, 2009 (edited) 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. Edited January 12, 2009 by Empro
darkpepe Posted January 15, 2009 Posted January 15, 2009 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!;!@Install@!UTF-8!InstallPath="%PROGRAMFILES%\\Teamviewer"GUIMode="2"Shortcut="D,{%%T\\Teamviewer\\TeamViewer.exe},{},{},{Get help from IT Spain BB},{Teamviewer},{},{},{}";!@InstallEnd@!
Geej Posted January 15, 2009 Posted January 15, 2009 (edited) darkpepeTry 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@! Edited January 15, 2009 by Geej
gora Posted March 11, 2009 Posted March 11, 2009 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 Posted March 11, 2009 Posted March 11, 2009 Are the configuration options backwards compatible (keep settings from older module)?
gora Posted March 11, 2009 Posted March 11, 2009 Are the configuration options backwards compatible (keep settings from older module)?Yes!
Jolli Posted April 18, 2009 Posted April 18, 2009 I would like to install with a dos Instruction and wondering how it goes:here the cmd: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\\\")? RunProgram="hidcon:cmd /c copy \"%WINDIR%\\system32\\Adobe\\Director\\np32dsw.dll\" \"%ProgramFiles%\\Mozilla Firefox\\plugins\\\" /y "Thanks for input.
bauxite Posted July 2, 2009 Posted July 2, 2009 hey thanks a lot Oleg, first post as well im still figuring out how to use it but hopefully it wont be too hard amazing tool btw.
Gremo Posted July 9, 2009 Posted July 9, 2009 (edited) 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:;!@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? Edited July 9, 2009 by Gremo
gora Posted July 11, 2009 Posted July 11, 2009 Am i wrong?Correct variants of a line for your case:Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {}, {%%T\\}, {%%T\\JDownloader.exe}, {0}"Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {}, {%%T\\}, {%%T\\JDownloader.exe}"Shortcut="P, {%%T\\JDownloader.exe}, {}, {JDownloader}, {}, {}, {%%T\\}"
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