prathapml Posted November 20, 2004 Share Posted November 20, 2004 Thanks to RyanVM and Yzöwl, finally here's a set of INFs for all 3 major (non-IE) browsers. (Maxthon, Mozilla and Opera) It allows to remember path and put entries in the start menu (like how the normal installer does). You just need to RAR/SFX the installed folder of these browsers, and silently extract them during windows silent install. You need to put these browsers to respectively mentioned folders: Maxthon (v1.1.067) at %ProgramFiles%\Maxthon Opera (v7.60p3) at %ProgramFiles%\Opera75 Firefox (v1.0) at %ProgramFiles%\Mozilla\Firefox Thunderbird (v0.9) at %ProgramFiles%\Mozilla\Thunderbird The shortcuts (.lnk) at %AllUsersProfile%\Start Menu\Programs Then, you can just directly have these INFs run thru batch-files, with this command:rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\install\browsers\FILE_NAME_HERE.infThese INFs give details to the registry for being able to set them as Browser clients. Then, in your registry tweaks, you need to choose which of these you want as default browser/mail-client. Example is below:;Set the Start Menu sticky apps[HKEY_CURRENT_USER\Software\Clients\mail]@="Mozilla Thunderbird";---- AND now for browser[HKEY_CURRENT_USER\Software\Clients\StartMenuInternet]@="Opera.exe" --OR--@="Maxthon.exe" --OR--@="firefox.exe"The intention behind this topic, is to have the desired browser/mail-client set as default in the start menu (top-left section) without having to manually do anything after install.browser_INF.zip Link to comment Share on other sites More sharing options...
Vadikan Posted November 20, 2004 Share Posted November 20, 2004 I like that idea, prathapml!Then, you can just directly have these INFs run thru batch-files, with this command:rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\install\browsers\FILE_NAME_HERE.infAccroding to the second RyanVM's post on this page one needs 132 instead of 128 in the code. Also, this code refers to the DefaultInstall section of the inf file, therefore people who wish to install Firefox only via the mozilla.inf should refer to the aformentioned RyanVM's post. Correct me, if I'm wrong, plz. Link to comment Share on other sites More sharing options...
RyanVM Posted November 20, 2004 Share Posted November 20, 2004 You're 100% correct as far as I know. Link to comment Share on other sites More sharing options...
Yzöwl Posted November 20, 2004 Share Posted November 20, 2004 No the difference between the 128 and 132 is usually small in most cases, but was important in the case as used in the thread you mentioned. Both modes 128 and 132 are there to request that the computer informs you first if it feels it needs to reboot, due to the inf installation. The 128 however is used when the inf is in the same location as the file calling it. As it is recommended that the full path to the inf is given in the rundll... command a 132 would be fine in all these cases. RyanVM was trying to install from the C: drive in the specific case you mention, since the inf location was not the same as the location from where the command originated a 132 was necessary.If you understand all that garbage it basically means that keeping the inf in the same folder as the batch or cmdlines.txt calling it, you can use a non full path such as .\mozilla.inf and mode 128, if you wanna be safe use Drive:\path\mozilla.inf with a 132 mode. (of course in some batches etc. environment variables may help in the full path).As to the other question yes the additional commands provided in the original link should possibly have been mentioned. Link to comment Share on other sites More sharing options...
prathapml Posted November 20, 2004 Author Share Posted November 20, 2004 Yeah, he's right. I just posted what I could confirm was working for me. Link to comment Share on other sites More sharing options...
Vadikan Posted November 21, 2004 Share Posted November 21, 2004 If you understand all that garbage it basically means that keeping the inf in the same folder as the batch or cmdlines.txt calling it, you can use a non full path such as .\mozilla.inf and mode 128, if you wanna be safe use Drive:\path\mozilla.inf with a 132 mode. (of course in some batches etc. environment variables may help in the full path).Thanks for the clarification, Yzöwl! Link to comment Share on other sites More sharing options...
prathapml Posted January 4, 2005 Author Share Posted January 4, 2005 For anyone who's wondering what this INF is for... this INF is to be used after following the method outlined here (my post at end of the page there). Link to comment Share on other sites More sharing options...
1chaoticadult Posted January 13, 2005 Share Posted January 13, 2005 (edited) Updated mozilla.inf for Firefox 1.0+ I was bored and thought I would post it. I know a individual could update this themselves but I just wanted to see an updated version. Trying to help ya out a bit prathapml.. Updated again for Gecko Engine version change.mozilla.inf Edited February 4, 2005 by 1chaoticadult Link to comment Share on other sites More sharing options...
hfrfc Posted February 7, 2005 Share Posted February 7, 2005 i ll give it a try i hope it works for a non us install . Link to comment Share on other sites More sharing options...
RyanVM Posted February 7, 2005 Share Posted February 7, 2005 One thing you guys should know - GeckoVersion and MozVersion are now one in the same. I personally created and submitted the patch which made that a reality. You can see that for yourself now with any current installer build. Link to comment Share on other sites More sharing options...
hfrfc Posted February 7, 2005 Share Posted February 7, 2005 OK i just tried the trick on a french version of xp and firefox/thunderbird.The icons are correctly put at the top of the start menu, HOWEVER, firefox is still not the default brower !! When i launch it, it still asks me if firefox should be the default browser Same with thunder. I use a SFX archive (Setup=setup.exe -ira) with the setup.exe from mozilla, for firefox and thunderbird. Default install.Here is my .reg + runonceexWindows Registry Editor Version 5.00 ;Set the Start Menu sticky apps[HKEY_CURRENT_USER\Software\Clients\mail]@="Mozilla Thunderbird";---- AND now for browser[HKEY_CURRENT_USER\Software\Clients\StartMenuInternet]@="firefox.exe"RUNONCE :/..../REG ADD %KEY%\020 /VE /D "Firefox" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\firefox\firefox_1.0.exe" /fREG ADD %KEY%\025 /VE /D "Thunderbird" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\thunderbird\thunderbird.exe" /fREG ADD %KEY%\025 /V 2 /D "rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\install\firefox\mozilla.inf" /fREG ADD %KEY%\025 /V 3 /D "REGEDIT /S %systemdrive%\install\firefox\firefox.reg" /f/.../Any idea ? thx a lot Link to comment Share on other sites More sharing options...
prathapml Posted February 22, 2005 Author Share Posted February 22, 2005 @hfrfcThe INF will only set the browser to be default browser sticky. After that, you need to associate file-types if your default is not IE, which is what firefox does when it asks you if it should be default browser. Link to comment Share on other sites More sharing options...
MaDxCrEaM Posted February 23, 2005 Share Posted February 23, 2005 hi. I was wondering If I could get a little help. Installing the inf isn't working correctly. I'm talking about this:rundll32 setupapi,InstallHinfSection DefaultInstall 128 %systemdrive%\install\firefox\mozilla.infI get install error. I tried switching the 128 to 132 with no luck. If I right click the mozilla inf and choose install, it works fine, it puts the firefox and thunderbird on the start menu perfectly. Anyone think of a reason? I followed prathapml's guide perfectly. Windows XP SP2 i'm using. Link to comment Share on other sites More sharing options...
MaDxCrEaM Posted February 23, 2005 Share Posted February 23, 2005 sorry, I missed the part about having to put the full path to the mozilla.inf file which was in the same directory so didn't think it would matter, but I put the full path and now it works. Sorry!!!! 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