Jump to content

HFCLEANUP - Reduce your source


Oleg_II
 Share

Recommended Posts


  • 2 weeks later...
All is fine with my 2k/ie6/dx9/hfexpert & heavy hfcleanup. Can't wait to install on a real box!
Do you use your IE reducers? If so, why do you install IE6 instead of using the IE5 hotfixes?
Link to comment
Share on other sites

I use the IE reducers, but I do not use the reducers that have more than the 3 Z's. This removes IE but leaves behind the IE6 HTML rendering dll's. With this setup, I can use all my software that requires IE6 and no applications complain. Another way to say it, there is no program files\internet explorer, but my system behaves as if IE was there. :thumbup

Link to comment
Share on other sites

That is cool, and I intend to try that, but I am still curious why you install IE6 and then reduce it instead of just patching IE5 and reducing in kind. Something about the IE6 DLLs turns you on? :)

Link to comment
Share on other sites

HAHAHA! Actually I prefer the context menus using the IE6 core, some applications don't work right (or at all) with the IE5 core and some pages don't render right with the IE5 core. On a plus note, it works great with Maxthon.

Link to comment
Share on other sites

That is all good info to have in this thread. I'm going to run with the IE5 core for now and see how things go. I'll try the 6 core if I hit significant roadblocks. Thanks for the tip!

Link to comment
Share on other sites

The application WebCraft (used to write HTML code for websites) needs HTML rendering from IE. I found that it needs MSHTML.DLL and only one line in regestry and it will work. It appears that this DLL is also needed for openning CHM files. But if I just add MSHTML.DLL into i386 folder on installation disk it writes quite a few lines in regestry and these entries are obsolete. Something is calling for this DLL during installation.

I combined 4 files and 4 entries for regestry into one package so that it installs as a separate application. My application works, I can open CHM files (some bugs are still happen with it) and obsolete entries are not added into the regestry.

Here is the installing INF file for this package with names of all needed files:

[Version]Signature=$CHICAGO$

[DefaultInstall]

CopyFiles = HelpFiles

AddReg = Ext.Reg

[DestinationDirs]

HelpFiles = 16422,"help"

[HelpFiles]

hh.exe

hhctrl.ocx

itss.dll

mshtml.dll

[Ext.Reg]

HKLM,"Software\Classes\PROTOCOLS\Name-Space Handler\mk\*",CLSID,0x00000,{9D148291-B9C8-11D0-A4CC-0000F80149F6}"

HKLM,"Software\Classes\CLSID\{5D02926A-212E-11D0-9DF9-00A0C922E6EC}\InprocServer32",,0x00000,"%16422%\help\itss.dll"

HKLM,"Software\Classes\CLSID\{9D148291-B9C8-11D0-A4CC-0000F80149F6}\InprocServer32",,0x00000,"%16422%\help\itss.dll"

HKLM,"Software\Classes\CLSID\{25336920-03F9-11CF-8FD0-00AA00686F13}\InProcServer32",,0x20000,"%16422%\help\mshtml.dll"

HKLM,"SOFTWARE\Classes\.chm",,,"Help file"

HKLM,"SOFTWARE\Classes\.chm\DefaultIcon",,,"%16422%\help\hh.exe,0"

HKLM,"SOFTWARE\Classes\.chm\shell\Open\command",,,"%16422%\help\hh.exe ""%1"""

Later I also found that MSN Messanger needs WINHTTP.DLL just placed in its folder without registering in order to work.

One more application Xenu Link Sleath (checks website links) also needs something from IE core. I have not investigated it yet but it probably needs some regestry entries.

Edited by Oleg_II
Link to comment
Share on other sites

I recall seeing something about that file on FDV's site. Probably related to .chm.

Would it be better to use Oleg's studly method or to just not reduce those files in the first place?

Link to comment
Share on other sites

As I said some time leaving the file in the source causing a lot of entries in the regestry that are not needed.

But finding which file and regestry entry are only needed for your program to run is difficult and time consumming.

Link to comment
Share on other sites

For the record, Oleg_II's stuff is *awesome*! This fix works far better for me than I had imagined. Not only does it restore Help functionality, but it also enables Outlook 2003 to render HTML on a heavily HFCLEANUPped system. Bravo!

I was telling Tomcat76 how great this is and he made a silent installer for it. I think that many FDV/HFCLEANUP users will find it very handy.

Here is the download.

Thanks, guys!

Link to comment
Share on other sites

By the way :rolleyes: If you use IExpress.EXE that comes with Windows you can make an installer just using INF file (no need to use CMDOW.EXE and HTML.CMD). The resulting installer will be about 110KB smaller :whistle:

PS IExpress.EXE is located in System32. Very usefull utility sometimes. It can create Windows CAB and self-extacting CAB (EXE) from the files provided. I made the shortcut for it in my System Tools menu B)

Link to comment
Share on other sites

@Oleg -- By 'leaving in the source' you mean leaving it in the TXTSETUP file so that it would get installed?

So in other words, you recommend not installing MSHTML.DLL the traditional way, during a regular install, and installing it afterward, using your INF, right?

Just want to be sure I have this all correct before I put the info on my site.

Thank you very much for this bit of detective work Oleg! :thumbup

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...