Sunday, June 14, 2009

Windows Help Program (WinHlp32.exe) for Windows 7 x64 and Windows 7 x86

The Windows Help program or WinHlp32.exe is a Windows utility needed when you’re using old software containing “.hlp” help files. For example I was faced with this problem with the “.hlp” files when I first used Borland C++Builder 6 on Windows Vista / Windows Server 2008.

The winhlp32.exe packed with the Windows 7 for example is a 9.50 kB (9,728 bytes) file detailed with version 6.1.7100.0 (same version as Windows 7 itself) which is slightly different from what’s distributed with Windows Vista, a 9.00 kB (9,216 bytes) file detailed with version 6.0.6000.16386 (Vista Service Pack 2 in this example), where both stubbornly reject HLP files, showing the following dialog box:

Windows Help and Support, Windows 7 WinHlp32.exeWhy can't I get Help from this program?

[This content is preliminary and subject to change.]

The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows. However, you can download a program that will allow you to view Help created in the Windows Help format.

For more information, go to the Microsoft Help and Support website.

Starting with the release of Windows Vista and Windows Server 2008, Microsoft has decided to no longer include in WinHlp32.exe as a component of the Windows operating system. Microsoft made this decision because WinHlp32.exe has not had a major update for many years, and it does not meet their standards for all new Microsoft programs. Microsoft realizes that this may cause some problems for customers who want to upgrade to Windows Vista or to Windows Server 2008 but still rely on 32-bit .hlp files. Therefore, Microsoft is making WinHlp32.exe available as a download from the Microsoft Download Center.

Starting with the release of Windows Vista and Windows Server 2008, third-party software developers are no longer authorized to redistribute WinHlp32.exe with their programs.

Microsoft still refuses to support the WinHlp32 as an update to Windows 7, and cites that at this time, there is no WinHlp32.exe download available for Windows 7 or for Windows Server 2008 R2. However, separate downloads for Windows 7 and Windows Server 2008 R2 will be offered after the RTM versions of these products are available to public.

So I collected all various WinHlp32 updates needed for different editions of Windows Vista, Windows Server 2008, and Windows 7 inside my WinHlp32 trunk.

Windows Help (WinHlp32.exe) for Windows 7 64-bit and Windows 7 32-bit

Download Windows Help (WinHlp32) program installer for Windows 7 x64 / Windows 7 x86 as a 151 kB (155,046 bytes) CAB file which will extract to a 325 kB (333,119 bytes) folder, containing the following 3 files:

  • winhlp32.exe, version: 50.0.6000.16387, size: 290 kB (296,960 bytes)
  • winhlp32.exe.mui, size: 30.5 kB (31,232 bytes)
  • Install.cmd, revision: 2, size: 4.81 kB (4,927 bytes)

I gathered both winhlp32.exe and winhlp32.exe.mui needed for the installation and along with an installer batch file (CMD) created a package which will easily install Windows Help on a Windows 7 machine. Just extract the CAB file’s content into a folder and run (as administrator) Install.cmd.

Download Links

Please note users who have tried to replace winhlp32.exe manually in Windows folder and winhlp32.exe.mui in Windows\en-US folder of Windows 7, was faced with overwrite restrictions due to ownership and permission problems. Also there’s a Microsoft known issue with macros and not opening HLP files over Intranet. My batch (CMD) file successfully overrides these problems, if it’s run as administrator. The Install.cmd file uses takeown and icacls commands to overrule ownership and permission restrictions only granted to the TrustedInstaller inside Windows Vista / 2008 / 7. It also fixes both the macro and Intranet restrictions and is able to terminate any possible running instances of winhlp32.exe right before the update process is set to begin.

Windows Help (WinHlp32.exe) for Windows Vista and Windows Server 2008

If you’re willing to download KB917607 from Microsoft, please note although the filenames for either of 64-bit or 32-bit files are the same for Windows Vista and Windows Server 2008, but the files are different in size and also refuse to install on a wrong OS, showing the following error:

“The update does not apply to your system.”

In other words, there are two different files with the same name of “Windows6.0-KB917607-x64.msu” for Windows Vista 64-bit and Windows Server 2008 64-bit, and also two different files with the same name of “Windows6.0-KB917607-x86.msu” for Windows Vista 32-bit and Windows Server 2008 32-bit.

17 comments:

Anonymous said...

Thank you very much!!! Rafael

Anonymous said...

many thnx 2 U, and 2 MS, ppfffftt

Restless said...

On RC1 I was unable to patch via provided cmd file - it just failed to copy files needed.
I had to manually take ownership&delete old files, then copy new ones and add reg keys - then it worked.
Maybe something with group policy?!

Great job!

Anonymous said...

I didn't read the bit that said Run As Administrator so it failed the first time, but worked the second. Many thanks!

Anonymous said...

I agree with the second Anonymous. So much for MicroSoft caring for their customers. More thanks.

Anonymous said...

thank you.
it reeeeeeeeeally helps me :)

laba101 said...

i dont get it. how do i extract the .cab file?

thank you

Komeil Bahmanpour said...

laba101, CAB is Microsoft's own archive format, just like ZIP, RAR, etc. Windows Explorer is able to open CAB files, show their content, and allow you to copy files from within. Archive utilities like PowerArchiver and WinRAR also support CAB files.

Anonymous said...

Thanks Komeil. Your patch works fine. With the MS one, I got an error 8007371B when I tried to install KB917607. I was a little anxious when I saw you are sending the Mui file to Windows\en-US because my system is a French one, which uses Windows\fr-FR Apparently it's not a problem. Both values can co-exist. Thanks again.

Carlos Pacheco said...

Hi, Thanks, it works perfect for win7 64bits.

Regards from Mexico

Carlos

Anonymous said...

Didn't work for me. Ran as Admin, cmd prompt came up and disappeared and still not able to read help files :(

Komeil Bahmanpour said...

Anonymous, it shouldn't come up and disappear before you can read my script's welcome notes / press "c" to continue / "q" to quit prompt. I think your Windows is infected with a virus that's controlling your command processor ("cmd.exe") and preventing it from being run. Forget "I have this thousand-dollar anti-virus, this can't be the case" and check your startup apps with Sysinternals Autoruns for suspicious threats. Autoruns' Hide Signed Microsoft Entries option helps you to zoom in on third-party auto-starting apps.

Anonymous said...

Thank you very much Komeil for this site as I have been going round and round for ages in the microsoft pages.
We have a 32 bit laptop and the download worked fine.
My wife made me have a haircut before I pulled my hair out in frustration.
Regards
Bob

ivectord said...

I tried several times and ways - was able to extract the files to a separate folder, but the installation seemed to be foiled in the command window by an ownership issue. I am administrator - checked properties of file, etc. for ownership, which seemed right, but "access is denied" followed by granting permission then another access denied followed.

Anonymous said...

thanks very much

Sabs said...

Thanks A Ton!! Works Perfectly

Adonilson said...

work fine

Post a Comment


Copyright © 1999-2010 Komeil Bahmanpour. All rights reserved.

Reproduction is permitted provided that the source is acknowledged and a link is included to the relevant article.