ZileXa Posted November 29, 2004 Share Posted November 29, 2004 @ZileXaThe 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,TrueCMD = "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,TrueCMD = "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,TrueCMD = "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,TrueCMD = "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,TrueScrptFldrPath = FSO.GetFile(WScript.ScriptFullName).ParentFolderFSO.DeleteFile ScrptFldrPath & "\FUSRDATA.VBS",True Link to comment Share on other sites More sharing options...
ZileXa Posted December 2, 2004 Share Posted December 2, 2004 bump Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted December 2, 2004 Author Share Posted December 2, 2004 (edited) @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 unattendededit: 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 December 2, 2004 by SiMoNsAyS Link to comment Share on other sites More sharing options...
totoymola Posted December 2, 2004 Share Posted December 2, 2004 try to delete completely the C:\Documents and Settings\ZileXa\Application Data\Mozilla folderI 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.) Link to comment Share on other sites More sharing options...
Astalavista Posted December 3, 2004 Share Posted December 3, 2004 crahak's script does not work for me.it only installs some but not all the extensions. why is that? Link to comment Share on other sites More sharing options...
Astalavista Posted December 4, 2004 Share Posted December 4, 2004 do we still need to do the file association in your guide? Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted December 4, 2004 Author Share Posted December 4, 2004 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 Link to comment Share on other sites More sharing options...
Astalavista Posted December 4, 2004 Share Posted December 4, 2004 sleep well my friend. Link to comment Share on other sites More sharing options...
galvanocentric Posted December 5, 2004 Share Posted December 5, 2004 This is even better than the installer I built for .93 using your previous guide. Grazie. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted December 5, 2004 Author Share Posted December 5, 2004 @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 Link to comment Share on other sites More sharing options...
Astalavista Posted December 5, 2004 Share Posted December 5, 2004 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. Link to comment Share on other sites More sharing options...
totoymola Posted December 5, 2004 Share Posted December 5, 2004 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! Link to comment Share on other sites More sharing options...
Astalavista Posted December 7, 2004 Share Posted December 7, 2004 (edited) Edited June 30, 2005 by Astalavista Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted December 7, 2004 Author Share Posted December 7, 2004 i added previous post to the guide Link to comment Share on other sites More sharing options...
lilweirddude Posted December 7, 2004 Share Posted December 7, 2004 thanks, hope it works, cause the other way just wasn't working 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