LaptoniC Posted June 10, 2005 Author Posted June 10, 2005 (edited) Sorry guys I have no idea ps:I have updated install.exe in my package and added support for custom installation directory other than default [PROGRAMFILESDIR]\Mozilla Firefox.First page updated. Edited June 10, 2005 by LaptoniC
Lost Soul Posted June 10, 2005 Posted June 10, 2005 @LaptoniCim having alittle trouble installing the extension quicknote, you say to edit out the prefs.js file by editing out all the hardcoded addysim not really sure how t do what you ask, i know the addys need to be removed like thatbut does that mean we leave that part blank from " to " ?user_pref("quicknote.tab1path", "C:\\Documents and Settings\\Lost Soul\\Application Data\\Mozilla\\Firefox\\Profiles\\er0fgac3.default\\chrome\\quicknote1.txt");user_pref("quicknote.tab2path", "C:\\Documents and Settings\\Lost Soul\\Application Data\\Mozilla\\Firefox\\Profiles\\er0fgac3.default\\chrome\\quicknote2.txt");user_pref("quicknote.tab3path", "C:\\Documents and Settings\\Lost Soul\\Application Data\\Mozilla\\Firefox\\Profiles\\er0fgac3.default\\chrome\\quicknote3.txt");user_pref("quicknote.tab4path", "C:\\Documents and Settings\\Lost Soul\\Application Data\\Mozilla\\Firefox\\Profiles\\er0fgac3.default\\chrome\\quicknote4.txt");
LaptoniC Posted June 10, 2005 Author Posted June 10, 2005 I think you should remove anything which have paths in it.
Lost Soul Posted June 10, 2005 Posted June 10, 2005 (edited) so you mean for example remove all them lines that ive just pasted in my previous post,, but wouldnt that stop quicknote from installing at all ?or if i remove every line that has a path into it,,, does that path get recreated with a default one ? Edited June 10, 2005 by Lost Soul
Lost Soul Posted June 10, 2005 Posted June 10, 2005 thanks for the help LaptoniC i just deleted the lines and then its working fine i should of just done that from the start, i dunno what i was thinking before lol,, but thanks
Scubar Posted June 10, 2005 Posted June 10, 2005 (edited) im haing alot of trouble trying to use this app.Managed to find the Jar file for the theme. i placed it in the theme folder in profiles and it doesnt seem to have built it into the silent one. its not silent it stil says extracting when u run it ive tried the install switches and none have worked. also it doesnt seem to keep the preferances like not showing the bookmarks toolbar. still has the annoying extra search engines built in and doesnt keep the window position either. Edited June 11, 2005 by ScubaSteve
blinkdt Posted June 16, 2005 Posted June 16, 2005 (edited) @LaptoniCThis worked great for me when working with Firefox 1.0.2, but like Lost Soul and bonedaddy my preferences are not being carried over when I try this with Firefox 1.0.4. For example, I have the icons set to "small icons" and the Bookmarks Toolbar is removed, but the changes do not stick after repacking. I notice in Step 2 that I "should have at least profile.js in the Project-->Profiles directory," but instead I find only prefs.js. Has something changed between the versions that might be causing the problem? Shouldn't SOF be looking for "prefs.js" instead of profiles.js? Edited June 16, 2005 by blinkdt
LaptoniC Posted June 16, 2005 Author Posted June 16, 2005 profile.js I dont have that file.Sof copies profile.js,bookmarks.html and mimeTypes.rdf from original your current firefox to Project\Profiles directory.I really dont know what are you trying to say could you please be more specific.Thanks.
nad01 Posted June 16, 2005 Posted June 16, 2005 Hi, If anyone else is having problems with downloads fromrapidshare i have an addition link.Let me know if this works or not.And thanks LaptoniC it's a great tool this one. http://www.bfguru.ath.cx/file/Sof.zip
blinkdt Posted June 17, 2005 Posted June 17, 2005 For Laptonic:profile.js I dont have that file.I do not find it either. Instead, I have prefs.js, bookmarks.html, mimeTypes.rdf--as you note--and a few other files in my "C:\Program Files\Mozilla Firefox\defaults\profile" directory. So far so good.But when I put Firefox Setup 1.0.4.exe in the extracted Sof directory and run Sof.exe, I find this message at Step 2:Copy your files and pack. Warning!! you should have at least profile.js in your projects profile directory. You may add or remove files before packing.And that is where I get confused. I see that prefs.js gets copied, together with the other files you mentioned, and all of my bookmarks are transferred nicely but not my prefs (for example, I set small icons, remove bookmarks toolbar from view, etc.). Could it be that S.O.F is trying to read a non-existent "profiles.js" files when it should be looking for "prefs.js?" Because after I install, I have big icons and the bookmarks toolbar again?!
LaptoniC Posted June 17, 2005 Author Posted June 17, 2005 I guess I made a typo Sorry for that.It is prefs.js.I will change it.Thanks.Your other settings maybe on another file.Some extensions keeps their settings on separate file.I tested it again today and my prefs.js is transfered successfully.I really dont know the reason.For test purposes,copy your profiles directory from your computer C:\Documents and Settings\<username>\Application Data\Mozilla , Make new silent package with all your extensions and themes.Delete above directoy.Uninstall your current firefox installation.Run created firefoxsilent.exeWhen it is finished compare your prefs.js.If they are'nt same then we have a bug but if they are same it means those settings are keep on other files.
blinkdt Posted June 17, 2005 Posted June 17, 2005 (edited) Bingo! Looks like localstore.rdf, which is responsible for things like iconsize="small," is not carrying over. After I install Firefox and make changes to the browser GUI, the 1KB localstore.rdf file found in the application data directory becomes a 2KB file. But after creating the package, then deleting the application data and uninstalling Firefox, I run the silent install and again have only a 1KB localstore.rdf file, not the 2KB file that was holding my preferences. The prefs.js file is fine, but apparently that is NOT the file that maintains a lot of the settings.Hope this makes sense.Edit: Excellent! So I simply copied my localstore.rdf file to the profiles directory between the "copy" and "pack" phases in Step 2 and everything went well! Thanks for your attention, Laptonic, and this is truly a great app! Edited June 17, 2005 by blinkdt
Lost Soul Posted June 17, 2005 Posted June 17, 2005 that sounds grerat,, so let me get this right all i have to do is manually get and put the localstore.rdf file in the profiles directory before i hit the pack button then everything should go alright..i gotta try this anything to get them settings to stick.
blinkdt Posted June 17, 2005 Posted June 17, 2005 @ Lost Soul That's the ticket, works great on this end, I have tested on a clean install.
LaptoniC Posted June 17, 2005 Author Posted June 17, 2005 I am glad that it finally worked I dont want to add localstore.rdf to Profile directory because it has hardcoded paths likeengine://C%3A%5CProgram%20Files%5CMozilla%20Firefox%5Csearchplugins%5Cyahoo.srcI really dont know what will happen if you install it to directory other than you configured.
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