Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Guide: Mozilla Firefox Unattended

Featured Replies

@ZileXa

The possible reason why you get the defualt profile is the patch in the chome.rdf is not modified.  I don't know what's inside the vbscript that you are using, or maybe it is not executed correctly (firewall issues).

hmmm don't have a firewall installed (Windows fw is disabled) but I do have Kaspersky antivirus 5 running...

but now I have a clou what the problem is so I'm gonna make it work (don't know how yet but that will come :) )

found the error!

So I did the costumized install according to the Guide - mozilla firefox.htm in the ZIP file, using the .vbs files in Jdoe's method in the zipfile (PREPARE.VBS and FUSRDATA.VBS).

I followed this guide several times... on 2 pc's, no firewall and no antivirus installed, but all with the same result: FF is installed, but no costumized profile... the default profile of FF is being used...

Now I think I found the error: After install, and after restart (so after the file FUSRDATA.VBS has been executed) the C:\Documents and Settings\ZileXa\Application Data\Mozilla is empty!

So if I start FF, FF uses its default profile since there is no profile at all in the dir...

This is strange... my costumized profile IS extracted in the C:\Documents and Settings\Default User\Application Data\ folder...

I thought the FUSRDATA.VBS file copied the mozilla folder from this default user dir to the current users profile\application data... but that doesn't happen...

I have WinXP2 with RyanVM's Hotfixpack... is it possible some hotfix is preventing the vbs to run correctly? I can hardly imagine it... or is there a bug in the VBS file?

FUSRDATA.VBS:

'Firefox Unattended by jdoe - msfn.org forum member

'This script set the drive and user informations to the user profile of Firefox (%APPDATA%\Mozilla)

Set FSO = CreateObject("Scripting.FileSystemObject")

Set WSS = CreateObject("WScript.Shell")

MozFldr = WSS.ExpandEnvironmentStrings("%APPDATA%") & "\Mozilla"

UserName = Trim(WSS.ExpandEnvironmentStrings("%USERNAME%"))

UserNameChrome = Replace(UserName," ","%20",1,-1,1)

CMD = "CMD.EXE /C ATTRIB -R " & Chr(34) & MozFldr & "\*.*" & Chr(34) & " /S /D"

WSS.Run CMD,0,True

CMD = "CMD.EXE /C FOR /R " & Chr(34) & MozFldr & Chr(34) & " %I IN (chrome.rdf) DO GSAR -sDefault%20User -r" & UserNameChrome & " -i -o " & Chr(34) & "%I" & Chr(34)

WSS.Run CMD,0,True

CMD = "CMD.EXE /C FOR /R " & Chr(34) & MozFldr & Chr(34) & " %I IN (*.*) DO GSAR -sDefaultUser -r" & Chr(34) & UserName & Chr(34) & " -i -o " & Chr(34) & "%I" & Chr(34)

WSS.Run CMD,0,True

CMD = "CMD.EXE /C FOR /R " & Chr(34) & MozFldr & Chr(34) & " %I IN (*.*) DO GSAR -s????/ -r%SYSTEMDRIVE%:/ -i -o " & Chr(34) & "%I" & Chr(34)

WSS.Run CMD,0,True

CMD = "CMD.EXE /C FOR /R " & Chr(34) & MozFldr & Chr(34) & " %I IN (*.*) DO GSAR -s????\ -r%SYSTEMDRIVE%:\ -i -o " & Chr(34) & "%I" & Chr(34)

WSS.Run CMD,0,True

ScrptFldrPath = FSO.GetFile(WScript.ScriptFullName).ParentFolder

FSO.DeleteFile ScrptFldrPath & "\FUSRDATA.VBS",True

  • Author

@ZileXa you can try to make several tests, f.e. try to delete completely the C:\Documents and Settings\ZileXa\Application Data\Mozilla folder and then re-run FUSRDATA.VBS, i had a similar problem before, my profile was exported correctly but for some reason the extensions and themes weren't correctly loaded once i run firefox.

i think the best thing i can do is to edit the first post and add a section to install plugins unattended

edit: first post has been edited to complete the silent installation. i think i've covered the main objetive: silent install firefox with custom plugins, themes, extensions language and path independant

Edited by SiMoNsAyS

try to delete completely the C:\Documents and Settings\ZileXa\Application Data\Mozilla folder

I agree. ;) The most common issue for me is when over writing an existing installation, or if I forget to delete the Mozilla folder in the %appdata%. The reason why I'm having this issue is either because of the path in the Chrome.rdf, or becuase of the Profile.ini.

("Customizable" Firefox msi is on the way.)

  • Author

sorry Astalavista i read your post and pm but i've been out today, i promise a concrete reply tomorrow when i got some sleep :zzz::)

  • Author

@Astalavista really helpful information... for what i've read it will be possible to create a default silent installation with profiles and bookmarks at the same time. good job m8!

@galvanocentric glad to help :)

just curious, do you have any idea why crahak method does not work for me?

simon i suggest u put this into your guide as another alternative.

don't credit me bec. it was the developer at firefox that gave me the answer.

name michael HAM, no relation.

I think it is not actually developed by Michael either, since the idea has been discussed on the Mozilla site and Mozilla forums. ;)

But yes. It is VERY HELPFUL! :D:thumbup

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.