Inferi0r Posted July 22, 2007 Posted July 22, 2007 Silence of the Foxes 2 is updated to v2007.07.23.Check the changelog
Martin H Posted July 23, 2007 Posted July 23, 2007 (edited) @Inferi0rThank you for your reply, mate I looked at your batch file, but decided to use my own solution instead, but thank's anyway and please feel free to use my solution in your project if you'd like. Btw, you can ditch 'hidcon.exe' and just use 'RunProgram=hidcon:install.cmd' instead. Also, the '-setDefaultBrowser' switch is ignored by the installer and only has effect with 'firefox.exe'. About the extensions installing problem, then i did some testing and found out that the problem occuring when installing multiple extensions where indeed caused by the lack of a pause in between the installations for each extension. I personally fixed this issue with the following command-line :for %%g in (extensions\*.xpi) do "%programfiles%\Mozilla Firefox\firefox.exe" -install-global-extension "%%g" & ping -n 1 -w 4000 1.1.1.1I now install Firefox with a 7z switchless installer which runs the following batch file :start /wait setup\setup.exe /Smove override.ini "%programfiles%\Mozilla Firefox\"move /y profile\*.* "%programfiles%\Mozilla Firefox\defaults\profile\"move plugins\*.* "%programfiles%\Mozilla Firefox\plugins\"for %%g in (extensions\*.xpi) do "%programfiles%\Mozilla Firefox\firefox.exe" -install-global-extension "%%g" & ping -n 1 -w 4000 1.1.1.1 "%programfiles%\Mozilla Firefox\firefox.exe" -setDefaultBrowser -silentThe 7z switchless installer consists off the following folder/file structure :setup\ ; Extracted Firefox installer without the optional folder.profile\ ; prefs.js, mimetypes.rdf, localstore.rdf and bookmarks.html.extensions\ ; I personally just need : 'IE Tab' and 'Download Statusbar'.plugins\ ; Flash Player.setup.cmd ; Batch file listed above in codetags.override.ini ; Used to override the Profile Migrator upon first startup.I personally feel that this system is very easy and convinient to maintain. When there comes an updated Firefox version, then i just extract the 7z switchless installer and replace the 'system\' folder with the extracted new version and likewise i can update extensions and plugins by simply overwritting the old ones in the 'extensions\' or 'plugins\' folder, or simply add new extensions or plugins into there, and i never have to change the batch file or anything. I also have made a batch file which i very frequently use, which whenever i drop a folder onto it, then it will make a 7z switchless installer of the content inside the dropped folder and also with the name of the dropped folder and it will be set to run 'setup.cmd' silently. This comes in very handy, since i always makes 7z switchless installers with pre-defined settings of all my applications Tomorrow, then i will make a comparabel Thunderbird 7z switchless installer also CU, Martin. Edited January 7, 2008 by Martin H
bigsilly Posted July 23, 2007 Posted July 23, 2007 Hi Firefox users,I've got just what you've been looking for. How to create a custom Firefox v2.x silent installer using SOF. I assume that you know how to use SOF. So lets get started.***Preparation***If you havent already done so, install firefox with all themes, extensions and plugins you requireMake your changes in Tools>Options, remembering to press ok on the MAIN tab as the tab you close on will be memorised1. Extract or install SOF to a new folder, call it SOF2. Delete the four folders in "\SOF\Project\Firefox" as they will not be needed3. Run SOF4. Select New Project (Select Open Project and jump to step 7 if you have ran through this process before and are updating your silent installer)5. Unpack Firefox installer with SOF6. Delete the optional folder, keep it if you need the inspector and talkback extensions***Add your files***7. Click the button for Main Files to open "C:\Program Files\Mozilla Firefox"8. Copy contents of Plugins and Components to the same folders in "\SOF\Project\Firefox\nonlocalized"9. Copy contents of Searchplugins to "\SOF\Project\Firefox\localized\searchplugins" if you have any others than the default ones10. Click the button for Profile Files to open your profile folder11. Copy bookmarks.html, localstore.rdf, mimeTypes.rdf, prefs.js to "\SOF\Project\Firefox\localized\defaults\profile"***Optional files to add***12. Copy key3.db and signons2.txt if you want to keep your passwords remembered. IMPORTANT: Dont copy if you are distributing this silent installer as it contains passwords to websites you have joined13. Copy cookies.txt if you want to keep website settings14. If you use Adblockplus, copy the adblockplus folder and patterns.ini inside it, the backups are not needed***Add your extensions and themes***15. Go back to the profile folder window, the extensions folder in here contains all the updated extensions, copy all the contents of the extensions folder to "\SOF\Project\Firefox\nonlocalized\extensions" if there are any16. Go back to "C:\Program Files\Mozilla Firefox" window and copy all the contents of the extensions folder to "\SOF\Project\Firefox\nonlocalized\extensions" but dont overwrite the contents of the previous step***Disable profile migrator***17. Create a new text document in "\SOF\Project\Firefox\nonlocalized" and name it override.ini, open it and copy and paste the following into it and then save it:[XRE]EnableProfileMigrator=false***Make your silent installer***18. Press Pack in SOF and wait till the process log turns yellow, you should then have a sfirefox.exe in your SOF folder***Make Firefox your default browser***19. Add the following line to your cleanup.cmd for unattended install"C:\Program Files\Mozilla Firefox\firefox.exe" -silent -setDefaultBrowser Or add the following line to firefox's shortcut target"C:\Program Files\Mozilla Firefox\firefox.exe" -setDefaultBrowser Or enter into command prompt for the test***Test your silent installer***20. Uninstall firefox, delete the "Mozilla Firefox" folder in Program Files and the "Mozilla" folder in "C:\Documents and Settings\Family\Application Data", Run sfirefox.exeThats it. I hope its clearly explained. I might automate the process with autoit as it gets tedious after you've done this a few times, especially if you like to be up to date and do a lot of unattended installs. Thunderbird is done the same way, i will create a tutorial for that too soon. I have been using this method since version 2 came out. Sorry I didnt do this earlier, i would have saved you's guys all that work. Enjoy ;-)I have done with my Firefox 2.0.0.5 Silent with this Thread.All of My Extension, Plugins and Theme Work Great without any more config.Thanks Man
Inferi0r Posted July 26, 2007 Posted July 26, 2007 (edited) New update!Most important new option is the 'All-In-One' batch. This batch will help you with making your Silence of the Foxes: step by step. It is doing most things, you have almost only to say Yes and No. Garanted the most easy way! Keep in mind, that it's still BETA. For the other changes: read the changelogI can't support you for two weeks. I'm going in a couple of hours on vacaction with friends from Holland to Swiss. No good internet connections there @ Martin H: thanks man. Waiting for your Thunderbird support. But then i'm on vacantion as you can read above. See you and all others then. Edited July 26, 2007 by Inferi0r
Wesmosis Posted July 28, 2007 Posted July 28, 2007 New update!Most important new option is the 'All-In-One' batch. This batch will help you with making your Silence of the Foxes: step by step. It is doing most things, you have almost only to say Yes and No. Garanted the most easy way! Keep in mind, that it's still BETA. For the other changes: read the changelogI can't support you for two weeks. I'm going in a couple of hours on vacaction with friends from Holland to Swiss. No good internet connections there @ Martin H: thanks man. Waiting for your Thunderbird support. But then i'm on vacantion as you can read above. See you and all others then.You da man Arco (Inferior)!keep it up
Martin H Posted July 31, 2007 Posted July 31, 2007 (edited) Thunderbird v2.0.0.5 :I have previously in another thread posted the reg entries needed for setting Thunderbird as the default email client some time ago, but those entries has changed a little now in v2.0.0.5 :Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{29F458BE-8866-11D5-A3DD-00B0D0F3BAA7}]@="Mozilla MAPI"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{29F458BE-8866-11D5-A3DD-00B0D0F3BAA7}\VersionIndependentProgID]@="MozillaMapi"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{29F458BE-8866-11D5-A3DD-00B0D0F3BAA7}\LocalServer32]@="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe /MAPIStartUp"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\DefaultIcon]@="C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe,0"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command]@="\"C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe\" -osint -compose \"%1\""[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.eml]@="ThunderbirdEML"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]@="Mozilla Thunderbird"[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird\shell\properties]@="Thunderbird &Options"Batch file for the 7z switchless installer :start /wait setup\setup.exe /Smove override.ini "%programfiles%\Mozilla Thunderbird\"move /y profile\*.* "%programfiles%\Mozilla Thunderbird\defaults\profile\"for %%g in (extensions\*.xpi) do "%programfiles%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%%g" & ping -n 1 -w 4000 1.1.1.1 regedit /s thunderbird.regNote: For ppl using the WebMail extension, then when that extension is normally installed, then it will make a folder called 'WebmailData' in Thunderbird's profile folder and place three files there. The only needed file is 'domains.db3', as the other two are just regenerated automatically, so copy 'domains.db3' and add it to your 7z switchless installer and then also add the following line to the batchfile :for /f %%g in ('dir /b /a:d "%appdata%\Thunderbird\Profiles\"') do xcopy domains.db3 "%appdata%\Thunderbird\Profiles\%%g\WebmailData\"override.ini :[XRE]EnableProfileMigrator=falseFile/folder structure :setup\ ;Extracted Thunderbird installer without the optional folder.profile\ ; signons.txt, key3.db, prefs.js, localstore.rdf, mimeTypes.rdf.extensions\ ; *.xpisetup.cmdoverride.inithunderbird.reg[domains.db3] ;Only if using the WebMail extension. Edited January 7, 2008 by Martin H
sp00f Posted August 3, 2007 Posted August 3, 2007 When use in vista it doesnt work, all paths are different.
Martin H Posted August 4, 2007 Posted August 4, 2007 (edited) Since the 'AppData' folder on Vista is a hidden folder, then Vista users need to make some changes : In 'ALL-IN-ONE.cmd' change all occurances off :FOR /f %%i IN ('DIR /b /a:d [...]To :FOR /f %%i IN ('DIR /b /a:dh [...]In 'Bin\Install.cmd' change :rem // Set Adblock Plus settings if exist.FOR /F %%i IN ('DIR /B /A:D [...]FOR /F %%i IN ('DIR /B /A:D [...]To :rem // Set Adblock Plus settings if exist.FOR /F %%i IN ('DIR /B /A:DH [...]FOR /F %%i IN ('DIR /B /A:DH [...]Note: I'm not using Vista myself and the following is untested and just comes from doing a quick glance through the SOF2 batch files, and i don't even use SOF2 myself... Edited August 4, 2007 by Martin H
Brando569 Posted August 20, 2007 Posted August 20, 2007 (edited) glad to see you guys are keeping this project alive SoF was one of my favorite programs. Add a GUI and you guys have a goldmine (yes im lazy )I've found a very advanced 'SOF'With this very useful installer (in every language) en program you can set every firefox setting that you can see in about:config.http://www.frontmotion.com/Firefox/fmfirefox.htm@G3brown: you are asking for no prompt for unsigned extensions.Add this to your prefs.js: user_pref("extensions.checkCompatibility", false);sweet i didnt know about that, waiting those 3 seconds or so always slightly annoyed me edit2: i just tried it and it recognizes that its disabled but still makes you wait 3 seconds to download it Edited August 20, 2007 by Brando569
Martin H Posted August 27, 2007 Posted August 27, 2007 I have previously in this thread given a solution to fixing the problem with installing more than one extension from a batch file, but i have now comed to think about that the solution would only work for people which for security reasons have set their router to not respond to any localhost i.e 127.0.0.1 pinging attempts. I have personally done that myself, and i just now came to think about that this would have been the reason for Inferi0r stating that my solution didn't work for him.So here is then a revised version of my previous solution, which now works for both people with stealthed localhost pinging enabled and also for people without :ping -n 1 -w 4000 1.1.1.1Please accept my apologi for not thinking about this sooner and also please include it in your SOF script if you like Inferi0r
johnnymad Posted September 19, 2007 Posted September 19, 2007 (edited) Hello, I have a lot of Extensions for Firefox that i would like to install silently, all in xpi format.is there a way to install them silently after firefox has been installed ?thanksThe way I do with my Unattended XP DVD (named Select Edition, but in spanish), is:- Copying my firefox 2.0.0.7 installed profile into the profile folder of SOF- Using SOF to make an unattended installation from Firefox 1.5.0.10 installer- Install silenty Firefox 2.0.0.7 (Firefox2.exe /S)It works fine and maintains all my extensions. It's the only way I can do since SOF doesn't support FF 2 'still' (I wish).I hope our expert Laptonic, if he has time, will implement FF 2 in the future.We are all waiting for that I guess. Thanks in advance Laptonic.EDIT: Oh, I've read it won't be an updated version from Laptonic but Inferior has done another SOF 2, it seems to be a good job, I'll try it. Edited September 19, 2007 by johnnymad
RBCC Posted November 6, 2007 Posted November 6, 2007 Does this work for firefox 2.0.0.8? When I tried it I put eveything in the proper directories and then tried the new package and my extensions and themes weren't installed with it! John
kalle_mod Posted March 19, 2008 Posted March 19, 2008 (edited) Hi thereI'm having some trouble with SOF2, when i try installing firefox it still pops up on the screen and later it freeze and I cant kill it or go on with the rest of the programs which is pretty anoying Hope for some help, I'm pretty sure I do what the readme saysEdit: and btw. it asks me if I want to install my extensions because they are not signed.. Edited March 19, 2008 by kalle_mod
Methanoid Posted April 29, 2008 Posted April 29, 2008 (edited) What about Firefox 3 support, (as well as FF2)... Firefox is awesome but we need silent unattended custom installs!! Edited April 29, 2008 by Methanoid
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now