Oleg_Sch Posted July 23, 2007 Share Posted July 23, 2007 (edited) 7z SFX Modified Moduleversion 1.5.3 Stable (build 3819)version 1.6.0 Beta (build 3819)Home page || Download linksHi All!I am excited to finally present the modified 7z SFX module and accompany tools to the English speaking audience. I know some of you already got a hold of the module and used it a little. Now you can take full advantage of all feature thanks to fully translated documentation. I do encourage you to read the docs, because the module development was driven by Russian unattended community. You'll find a lot of features regular users would never think of . I'll list just a few of them here:- select between interactive, silent and hidden extraction- control the appearance of dialog prompts and text- consequently run several files (.exe, .msi, .reg and so on) after the extraction to install configured applications- replace .bat and .cmd files and eliminate the need in supplementary utilities like "StartX.exe", "msistub.exe" and so on- create shortcuts for programs with the icons of your choiceThere's a lot, and you may want to start with usage examples to see some pics You may also want to download 7z SFX Tools to see the installer in action.I truly hope you like the module and start using it in your PC tasks. As you become familiar with its features, please share your experience with your peers through this thread. Although I understand written English relatively well, my writing skills are not that good and I may not be able to answer some questions with the level of detail they require (Honestly, I got a lot of help with this post )You're welcome to leave any thoughts or suggestions in this thread - I'm subscribed to it. Feel free to conact me by e-mail, but keep in mind that often you can get techincal help through the forum faster Thank you!Only Russian pages was updated.Latest versions also can be downloaded via SVN repository http://svn.7zsfx.info Edited January 15, 2016 by Oleg_Sch Link to comment Share on other sites More sharing options...
Inferi0r Posted July 23, 2007 Share Posted July 23, 2007 (edited) Hey thanks man!I know many of use were waiting for this I will test it nowFirst: variable9 is used but not set here Edited July 23, 2007 by Inferi0r Link to comment Share on other sites More sharing options...
Inferi0r Posted July 23, 2007 Share Posted July 23, 2007 (edited) My Config.txt;!@Install@!UTF-8!; // Full silent installGUIMode="2" ; // Set environmentsSetEnvironment="Var1=\"%ProgramFiles%\\Mozilla Firefox\\firefox.exe\""SetEnvironment="Var2=\"%ProgramFiles%\\Mozilla Firefox\\extensions\\*.xpi\""SetEnvironment="Var3=\"%ProgramFiles%\\Mozilla Firefox\\chrome\\*fx*\""SetEnvironment="Var4=\"%AppData%\\Mozilla\\Firefox\\Profiles\""SetEnvironment="Var5=\"%ProgramFiles%\\Mozilla Firefox\\extensions\""SetEnvironment="Var6=\"%ProgramFiles%\\Mozilla Firefox\\chrome\""; // Silent install of FirefoxRunProgram="setup.exe -ms"; // Set Firefox to default browserRunProgram="hidcon:cmd %Var1% -setDefaultBrowser -silent"; // Silent install of all extensionsRunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d %Var2%') DO %Var1% -install-global-extension "%Var5%\\%%i""; // Delete all unpacked extensions after installDelete="%Var2%"; // Set Adblock Plus settings if existRunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a:d %Var4%') DO md "%Var4%\\%%i\\adblockplus""RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a:d %Var4%') DO copy "localized\adblockplus\patterns.ini" "%Var4%\\%%i\\adblockplus""; // Silent install of unsigned Themes (not needed and set by default); RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d %Var3%') DO %Var1% -install-global-theme "%Var6%\\%%i"; // Delete all unpacked themes after install; Delete="%Var3%";!@InstallEnd@!Hi,I've converted my working CMD to your SFX. If I opens my created installer I get this error:Error in Line 18 of configuration data%Var5%\\%%i""%Var5%\%%i"" is also not working.What I'm doing wrong?Thanks Edited July 23, 2007 by Inferi0r Link to comment Share on other sites More sharing options...
Oleg_Sch Posted July 23, 2007 Author Share Posted July 23, 2007 (edited) Inferi0rAs a result, you MUST use DOUBLE backslashes (\\) wherever you normally use backslashes (\) (e.g. in paths or dialog texts). Similarly, if the Value contains double quotes ("), you MUST precede them with a backslash (\").i.e. this line should look so:RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d %Var2%') DO %Var1% -install-global-extension \"%Var5%\\%%i\""I may be wrong, but you config file should be:;!@Install@!UTF-8!; // Full silent installGUIMode="2" ; // Set environmentsSetEnvironment="Var1=%ProgramFiles%\\Mozilla Firefox\\firefox.exe"SetEnvironment="Var2=%ProgramFiles%\\Mozilla Firefox\\extensions\\*.xpi"SetEnvironment="Var3=%ProgramFiles%\\Mozilla Firefox\\chrome\\*fx*"SetEnvironment="Var4=%AppData%\\Mozilla\\Firefox\\Profiles"SetEnvironment="Var5=%ProgramFiles%\\Mozilla Firefox\\extensions"SetEnvironment="Var6=%ProgramFiles%\\Mozilla Firefox\\chrome"; // Silent install of FirefoxRunProgram="setup.exe -ms"; // Set Firefox to default browserRunProgram="hidcon:cmd \"%Var1%\" -setDefaultBrowser -silent"; // Silent install of all extensionsRunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d \"%Var2%\"') DO \"%Var1%\" -install-global-extension \"%Var5%\\%%i\""; // Delete all unpacked extensions after installDelete="%Var2%"; // Set Adblock Plus settings if existRunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a:d \"%Var4%\"') DO md \"%Var4%\\%%i\\adblockplus\""RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a:d \"%Var4%\"') DO copy \"localized\adblockplus\patterns.ini\" \"%Var4%\\%%i\\adblockplus\""; // Silent install of unsigned Themes (not needed and set by default); RunProgram="hidcon:cmd FOR /f %%i IN ('DIR /b /a-d \"%Var3%\"') DO \"%Var1%\" -install-global-theme \"%Var6%\\%%i\""; // Delete all unpacked themes after install; Delete="%Var3%";!@InstallEnd@!It's easer to do these tasks in a batch file and call it from the config fileRunProgram="hidcon:batch_file_name.cmd" Edited July 23, 2007 by Oleg_Sch Link to comment Share on other sites More sharing options...
coucou Posted July 24, 2007 Share Posted July 24, 2007 TNX Oleg_Sch,Yr Home page http://7zsfx.solta.ru/en/ is simply a complete BLANK page. No access to a documentation May you remedy to this?In the other hand, the download and examples links works Regardscoucou Link to comment Share on other sites More sharing options...
Oleg_Sch Posted July 24, 2007 Author Share Posted July 24, 2007 (edited) Sorry!During today's update i made a mistake Fixed!Again, sorry P.S. It is necessary to FORCE update page by Ctrl+F5 in browser... Edited July 24, 2007 by Oleg_Sch Link to comment Share on other sites More sharing options...
0d14r3 Posted July 27, 2007 Share Posted July 27, 2007 Hi,The access to page is OK for me.And very thanks to translate the informations about the options in your SFX module, this will help me a lot to create advanced silent install.0d Link to comment Share on other sites More sharing options...
{_carnificina_} Posted July 29, 2007 Share Posted July 29, 2007 good english information Link to comment Share on other sites More sharing options...
ZileXa Posted August 5, 2007 Share Posted August 5, 2007 Hey Oleg_Sch! Nice to see you're promoting your module here! I gave info about it a while ago in the other 7z topic, especially because msistub and startx isn't needed anymore. Very nice!All my installers use your module, in the -? or -h part I have put a thankyou note to you (have to update them...) Link to comment Share on other sites More sharing options...
coucou Posted August 5, 2007 Share Posted August 5, 2007 Hi oleg,Very nice tool... All my installers use yr module too.What about extarcting SFX archive and creating a shortlinks (winrar like)? (see here bellow)Path=%ProgramFiles%\HyperSnap 6SavePathSilent=1Overwrite=1Shortcut=P, "HprSnap6.exe", "Capture\HyperSnap 6", "HyperSnap 6", "HyperSnap 6"Shortcut=P, "HprSnap6Man.chm", "Capture\HyperSnap 6", "HyperSnap 6 Help", "HyperSnap 6 Help"Shortcut=P, "readme.tx", "Capture\HyperSnap 6", "Read about HyperSnap 6", "Read about HyperSnap 6"Shortcut=P, "HprUnInst.exe", "Capture\HyperSnap 6", "Uninstall HyperSnap 6", "Uninstall HyperSnap 6"The problem by using winrar, the shortlinks can be created only in %UserProfile% folder.It is possible to creat e an SFX archive and shortlinks in %AllUsersProfile% with yr module a shortlinks? If so, Thanks to show me an example.Regardscoucou Link to comment Share on other sites More sharing options...
Oleg_Sch Posted August 5, 2007 Author Share Posted August 5, 2007 (edited) coucouBut what about help ?Parameter 'Shortcut':'type' - one or two symbol field that can take the following values:D - Creates shortcut on the Desktop S - Creates shortcut in the "Start" menu P - Creates shortcut in the "Start->Programs" menu T - Creates shortcut in the "Startup" folder The shortcuts are created for ALL USERS. In order to create a shortcut for the current user only, add 'u' to the values listed above. For example, Shortcut="Du, {cmd.exe}" creates shortcut on the current user's Desktop only.Configuration file in you case should look:;!@Install@!UTF-8!InstallPath="%ProgramFiles%\\HyperSnap 6"GUIMode="2"Shortcut="P, {HprSnap6.exe}, {}, {Capture\\HyperSnap 6}, {HyperSnap 6}, {HyperSnap 6}";!@InstallEnd@!Change 'GUIMode' as you like ( see http://7zsfx.solta.ru/en/parameters.html#GUIMode ) or delete it (this is the same that GUIMode="0")Or this dosn't working ? Edited August 5, 2007 by Oleg_Sch Link to comment Share on other sites More sharing options...
coucou Posted August 6, 2007 Share Posted August 6, 2007 TNX Oleg for the info The links are created but does NOT pointing the files. In other words, by clink on the created links, Nothing hapens ;!@Install@!UTF-8!InstallPath="%ProgramFiles%\\HyperSnap 6"GUIMode="2"Shortcut="P, {HprSnap6.exe}, {}, {Capture\\HyperSnap 6}, {HyperSnap 6}, {HyperSnap 6}";!@InstallEnd@!It works ONLY if i add the path for each link ;!@Install@!UTF-8!InstallPath="%ProgramFiles%\\HyperSnap 6"GUIMode="2"Shortcut="P, {%ProgramFiles%\\HyperSnap 6\\HprSnap6.exe}, {}, {Capture\\HyperSnap 6}, {HyperSnap 6}, {HyperSnap 6}";!@InstallEnd@!Is there anyhow to avoid adding the path for each link?Regardscoucou Link to comment Share on other sites More sharing options...
Oleg_Sch Posted August 6, 2007 Author Share Posted August 6, 2007 (edited) Oh, sorry. i mistaked You CAN NOT exclude path to the source file of the link , but you can set extract path in shortcut parameters, for example:;!@Install@!UTF-8!InstallPath="%ProgramFiles%\\HyperSnap 6"GUIMode="2"Shortcut="P, {%%T\\HprSnap6.exe}, {}, {Capture\\HyperSnap 6}, {HyperSnap 6}, {HyperSnap 6}";!@InstallEnd@!In this case %%T always point to the extract/install folder (even if user will change it in ExtractPath dialog) Edited August 6, 2007 by Oleg_Sch Link to comment Share on other sites More sharing options...
coucou Posted August 7, 2007 Share Posted August 7, 2007 TNX Oleg,Wowww it works like a charm BTW, again comparing with winrar, is it possible to add, delete file inside the SFX archive. Do yr SUPER module allow that too???Regardscoucou Link to comment Share on other sites More sharing options...
Oleg_Sch Posted August 7, 2007 Author Share Posted August 7, 2007 coucouSorry, but I have not understood completely a question.Please, explain more in detail... Link to comment Share on other sites More sharing options...
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