MSFN Forum: [How To] Make Maxthon your default browser - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage ˇ MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[How To] Make Maxthon your default browser Rate Topic: -----

#1 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 October 2004 - 02:14 PM

Many people have wanted to disable Internet Explorer, and use Maxthon instead, in its place. Here's how you can do it on a Windows XP unattended install. This is (hopefully) a complete HowTo for having Maxthon installed, configured and set as default browser - all of this silently, for Windows XP unattended.
Its not nearly as difficult as the number of steps below seem to suggest (carrying out all of the below will only take 5 minutes in total). If you don't want to make another post saying "doesn't work" following the below EXACTLY will help, lol. Here we go:

Credits: MCT for making the easy INF install.
Note that after your first install of Maxthon once, there's no need anymore to use the original installer in which it came.





Maxthon as default browser on Windows XP (SP1 or higher):

1. Check that the below is existing in your winnt.sif:
[Unattended]
    OemPreinstall=Yes

[Components]
     IEAccess=off

2. Since Maxthon is based off IE and will use its settings too, look-up this topic for IE configuration - IE6 pre-config.

3. Download and install Maxthon manually.

4. Configure it to how you like it (the settings, toolbars, get rid of the "donate" dialogs, etc.)

5. Just before you close it, remember to set this:

Quote

from menu:
"Options >> Maxthon Options >> General >> When Starting"
Enable "Check whether Maxthon is your default browser"
We need it since that is what will set the protocols to associate with Maxthon after asking you, upon first-run (you need to click "yes I want to make Maxthon my default browser" when you run it first time after Windows is setup).

6. Copy away Maxthon's installed folder (C:\Program Files\Maxthon) to elsewhere to have a safe copy.

7. Now put that folder onto your unattended CD - "\$OEM$\$Progs\Maxthon\" folder should now exist.

8. Explanation - The above way, during windows setup, you have it being copied automatically to "%ProgramFiles%\Maxthon"

9. Put the short-cut to Maxthon too - make a shortcut to it on the desktop, and put it as - "\$OEM$\$Docs\Default User\Start Menu\Programs\Maxthon.lnk"

10. Now, the registry entries in next step. Copy and paste the below into notepad:
[VERSION]
Signature=$CHICAGO$

[DefaultInstall]
AddReg=maxthon

[maxthon]
; remember Maxthon setup folder
HKCU,"Software\Maxthon","Folder",0x00000000,"%16422%\Maxthon"


;Make Maxthon the default browser from Start Menu

;Set the Start Menu sticky apps
HKCU,"Software\Clients\StartMenuInternet",,,"Maxthon"

; Give details for the Internet Browser (as mentioned above)
HKLM,"SOFTWARE\Clients\StartMenuInternet\Maxthon","LocalizedString",0x00000000,"Maxthon Web Browser"
HKLM,"SOFTWARE\Clients\StartMenuInternet\Maxthon\shell\open\command",,,"%16422%\Maxthon\Maxthon.exe"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Maxthon.exe",,,"%16422%\Maxthon\Maxthon.exe"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Maxthon.exe","Path",0x00000000,"%16422%\Maxthon"

11. Save it as maxthon.inf

12. Now copy maxthon.inf to "\$OEM$\$Progs\Maxthon\" folder on your CD.

13. Add this line to any .CMD (batch-file) which you run at T-12 (through cmdlines.txt):
rundll32 setupapi,InstallHinfSection DefaultInstall 128 %ProgramFiles%\Maxthon\maxthon.inf
(this block is to be taken as one line, the page might have given a line-break)

14. That's all. Make your CD and it should work. No IE, only Maxthon. ;) Enjoy!


If there's any errors in the above, do post and tell. Hoping this helps....

This post has been edited by prathapml: 18 November 2004 - 04:21 PM



#2 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 October 2004 - 06:32 PM

Topic re-opened.
There was a small typo, and that was fixed.
Tested, and the above method works perfectly.

So now that this mini-howto is done, would be nice to see how many are using it. :yes:

#3 User is offline   Rodent 

  • Junior
  • Pip
  • Group: Members
  • Posts: 51
  • Joined: 01-October 04

Posted 05 October 2004 - 11:49 PM

I used it,
and it rocks!

thanks

a side note for the n00b user (like me too):

you need to create a own .cmd (example: maxthon.cmd)
from which you call up the maxthon.inf

the well english spoken might already read that from prathapml's post,
me has not first, so i had to try.

at the end it worked, so thank you really much!!

rgds
alex

#4 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 05 October 2004 - 11:53 PM

u dont HAVE too!, u can use your existing *.cmd file to call the rundll32 cmd

#5 User is offline   swgreed 

  • Unofficial Service Pack & Codec Pack maintainer
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 18-August 03

Posted 06 October 2004 - 03:24 AM

thanks for this how-to! :)

#6 User is offline   swgreed 

  • Unofficial Service Pack & Codec Pack maintainer
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 18-August 03

Posted 06 October 2004 - 01:09 PM

;Set the Start Menu sticky apps
HKCU,"Software\Clients\StartMenuInternet",,,"Maxthon"


"HKCU,"Software\Clients\StartMenuInternet" does not exist!

shouldn't it be HKLM?

#7 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 October 2004 - 01:45 PM

swgreed, on Oct 7 2004, 12:39 AM, said:

shouldn't it be HKLM?

No, it shouldn't.
Try applying the INF file, and the effects will be seen - HKLM is not the one. :)

#8 User is offline   swgreed 

  • Unofficial Service Pack & Codec Pack maintainer
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 18-August 03

Posted 07 October 2004 - 04:23 AM

Thx!
Btw, here's a German translation of this how-to:
http://www.kleo.org/...opic.php?p=2286

#9 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2004 - 02:10 PM

UPDATE:
There was a slight updation to the INF in the first-post.

#10 User is offline   tha_vampyr 

  • Group: Members
  • Posts: 1
  • Joined: 18-April 05

Posted 18 April 2005 - 10:32 PM

is there a way of making this compatiable with runonceex.cmd creator?
would this be ok?

REG ADD %KEY%\001 /VE /D "Misc\Maxthon 1.1.120" /f
REG ADD %KEY%\001 /V 1 /D "rundll32 setupapi,InstallHinfSection DefaultInstall 128 %ProgramFiles%\Maxthon\maxthon.inf" /f


#11 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 July 2005 - 04:04 PM

Yes, provided that all else in your RunOnceEX processes is working fine, the above seems fine.

#12 User is offline   rikgale 

  • uA lover
  • PipPipPip
  • Group: Members
  • Posts: 422
  • Joined: 01-November 04

Posted 07 August 2005 - 03:54 AM

It works!
Thanx prathapml.
I'm now going to try tha_vampyr's idea run it from RunOnceEx.cmd and see what happens.

#13 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 08 August 2005 - 07:00 PM

I have to say that I had difficulties using the inf file method, so I came up with a reg file that works just fine from cmdlines.txt.

Windows Registry Editor Version 5.00

; Maxthon

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\shell]
@="Maxthon"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\shell\Maxthon\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ftp\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell]
@="Maxthon"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell\Maxthon\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell]
@="Maxthon"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\Maxthon\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell]
@="Maxthon"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\Maxthon\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell]
@="Maxthon"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\Maxthon\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mhtmlfile\shell]
@="Maxthon"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mhtmlfile\shell\Maxthon\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mhtmlfile\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
@="Maxthon.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Maxthon.exe]
"LocalizedString"="Maxthon Web Browser"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Maxthon.exe\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Maxthon.exe\shell\open\command]
@="\"C:\\Program Files\\Maxthon\\Maxthon.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform]
"Maxthon"="??"

[HKEY_CURRENT_USER\Software\Maxthon]
"InstallCount"=dword:00000002

[HKEY_CURRENT_USER\Software\Maxthon\Dync]
"Running"="0"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@explorer.exe,-7004"="Opens your Internet browser."
"@shell32.dll,-12704"="Internet P&roperties"
"@shell32.dll,-12705"="&Browse the Internet"
"C:\\Program Files\\Maxthon\\Maxthon.exe"="Maxthon Web Browser"


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy