Jump to content

bigsilly

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Thailand

Posts posted by bigsilly

  1. 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 require

    Make your changes in Tools>Options, remembering to press ok on the MAIN tab as the tab you close on will be memorised

    1. Extract or install SOF to a new folder, call it SOF

    2. Delete the four folders in "\SOF\Project\Firefox" as they will not be needed

    3. Run SOF

    4. 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 SOF

    6. 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 ones

    10. Click the button for Profile Files to open your profile folder

    11. 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 joined

    13. Copy cookies.txt if you want to keep website settings

    14. 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 any

    16. 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.exe

    Thats 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 :thumbup

×
×
  • Create New...