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 RC for example is a 9.50 kB (9,728 bytes) file detailed with version 6.1.7100.0 (same version as Windows 7 RC 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 SupportWhy 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.

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

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

Download Link
  • Download Windows Help (WinHlp32) program installer for Windows 7 x64 / Windows 7 x86 by Komeil Bahmanpour
Contents

The CAB file size is 151 kB (155,046 bytes) 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)

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.

Important Notice about .GID Files [Updated July 25, 2010]

If your .HLP file had been viewed on an earlier version of Windows (primarily Windows 95 / Windows 98) in the past, a hidden .GID file might have been created alongside. A .GID file has the same name as its corresponding Help file (but with a .gid extension) and is stored as a hidden file at the same folder as the corresponding Help file. If the Help file is in a folder to which you do not have write privileges (such as on a CD-ROM or network drive), the .GID file is created in the Windows\Help folder. This hidden file with the GID extension is a Global Index file created by Microsoft Windows help viewer engine to accompany WinHelp (.HLP and .CNT) files that helps speed up future access to help file topics. In other words, you can delete a GID file without harming your system, but Windows will automatically recreate the file next time you open the corresponding help file. As commenter Sampath stated, please note if exist, you may not be able to open .HLP files unless you delete their corresponding .GID files. Also please note aged .GID files are hidden by nature, therefore make sure to set the relevant Windows Explorer option so it’s capable of showing you any hidden files.

Windows Help Program (WinHlp32.exe) Archive [Updated October 20, 2009]

The archive can conveniently be used to replace the winhlp32.exe and winhlp32.exe.mui in the WinHelp Installer Package with another version, possibly to upgrade, downgrade, or rollback to a previous version (uninstall).

Download Link
  • Download Windows Help (WinHlp32) Program Archive
Contents

The 7-Zip archive file contains the following versions of WinHlp32:

Version Files Windows Source Opens HLP Files
50.1.7600.16386 winhlp32.exe, winhlp32.exe.mui Windows 7, Windows Server 2008 R2 KB917607
50.0.6001.18001 winhlp32.exe, winhlp32.exe.mui Windows Vista, Windows Server 2008 KB917607
50.0.6000.16387 winhlp32.exe, winhlp32.exe.mui Windows Vista, Windows Server 2008  
6.1.7600.16385 winhlp32.exe, winhlp32.exe.mui Windows 7, Windows Server 2008 R2    
6.1.7100.0 winhlp32.exe Windows 7 RC    
6.0.6000.16386 winhlp32.exe, winhlp32.exe.mui Windows Vista, Windows Server 2008    
5.2.3790.3959 winhlp32.exe Windows Server 2003  
5.1.2600.0 winhlp32.exe Windows XP  
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.

83 comments:

  1. Thank you very much!!! Rafael

    ReplyDelete
  2. many thnx 2 U, and 2 MS, ppfffftt

    ReplyDelete
  3. 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!

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

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

    ReplyDelete
  6. thank you.
    it reeeeeeeeeally helps me :)

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

    thank you

    ReplyDelete
  8. 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.

    ReplyDelete
  9. 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.

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

    Regards from Mexico

    Carlos

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

    ReplyDelete
  12. 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.

    ReplyDelete
  13. 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

    ReplyDelete
  14. 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.

    ReplyDelete
  15. Thanks A Ton!! Works Perfectly

    ReplyDelete
  16. Thanks for a great utility! I manually installed your files and they work great. Had some ownership issues but soon solved those.
    Really helped on some old apps I had.
    Thanks again.

    Bill

    ReplyDelete
  17. It worked perfectly for me on Win7 Enterprise! Thanks!!

    - Mitja

    ReplyDelete
  18. Having issues on Windows 7 x64. Downloaded the x64 version of Winhlp32.exe from http://support.microsoft.com/kb/917607

    Now can open .hlp files that are stored on the local PC disk (C: drive). Still cannot open any .hlp files that are on a shared folder (intranet). Get the message "Cannot display this help file. Try opening the help file again, and if you still get this message, copy the help file to a different drive, and try again."

    As per the same article it has two fixes to overcome this issue (1. Check Policy settings and 2. Add regkeys AllowIntranetAccess and AllowProgrammaticAccess to the HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\). So I have added both these keys but still does not work.

    Have tried this both on a Windows 7 64-bit and Windows 2008 which is 64-bit.

    Anybody can help me with this?

    ReplyDelete
  19. I had an old copy of corel draw 7 and that help message appeared everytime I clicked in the program. Thank you so much this fix worked perfectly! I am very grateful. BTW I had to download a separate program to open the cab file for all people that have limited computer knowledge like myself. Once I extracted everything was super easy just right click the installer and run as administrator.

    ReplyDelete
  20. If the old .GID files (say created under XP) exist, then it's not opening the hlp file and winhlp32.exe crashes.

    If you delete those old .GID files (may need admin rights), then you are able to view those hlp files.

    - Sam

    ReplyDelete
  21. Thank you very much, just you haven't new version of this programs link or ...
    thank you again
    M.M

    ReplyDelete
  22. thank u very much! nice job! very very helpful
    :)

    ReplyDelete
  23. tkx! it was usefull! great job!

    ReplyDelete
  24. Awesome. Thanks for that man. Appears to be working.

    ReplyDelete
  25. Procedure works good. (Windows 7 x64)
    However, Help files with Full-Text Search (such as old Office applications) do not open with the "Find" tab.
    The MS mui's for Vista and Server 2008 restore this feature.
    But this is great.
    Thanks,
    Mike

    ReplyDelete
  26. it works.. thanks!

    ReplyDelete
  27. Hello!! Can anybody tell me how to install the file above?

    ReplyDelete
  28. 1. Unzip.
    2. Install.

    Thank you very much!!! :)

    Rafael

    ReplyDelete
  29. why i follow your way but didn't work? i used window 7 ultimate. my problem is i can't use offline window help and support, but online support can use, so i need to find the solution. THX

    ReplyDelete
  30. My solution is to fix Windows 7's problem with opening old HLP files (.hlp extension) like ones in Borland C++Builder 6, etc. It has nothing to do with Windows' own Help and Support (F1).

    ReplyDelete
  31. Thank you very much !
    Been looking for this windows7 fix for some days now !
    Finally a working solution!!

    ReplyDelete
  32. Thanks for the files. Adonilson, you may need to do what I had to do, run the Install.cmd as administrator and it work fine. No work if not run as administrator.

    ReplyDelete
  33. Great! I had almost given up hope... ;-)

    ReplyDelete
  34. Thanks a lot, its a great package.

    ReplyDelete
  35. Komeil - 10

    Microsoft so called "Help and Support" - 0

    Many thanks!

    ReplyDelete
  36. Komeil,
    Thank you very much for a great package!!!

    John

    ReplyDelete
  37. Worked like a charm. Thanks for this.

    ReplyDelete
  38. I have included it as comment in your site (commented with signature "- Sam" on April 26, 2010)

    You may include that info as a note near the download link. I was not able to view the hlp files for months and only after I tried deleting the old .GID files (created under Windows XP), I could view the hlp files.

    If I had not tried deleting the old .GID files, I would have come to the conclusion that your winhlp32 wouldn't work (or doesn't work for me).

    Thanks,
    Sampath

    ReplyDelete
  39. i am having problem with u r download. some ownership issue. please guide

    ReplyDelete
  40. I'm not a seer and "some ownership issue" is unclear, at least post the error message. Make sure you are the Administrator, otherwise, run the installer as administrator.

    ReplyDelete
  41. Dude, awesome package! soloved the problem rightaway. Thanx!!
    Greetings from Argentina!

    ReplyDelete
  42. This package was helpful in my situation: MS has no winhlp32 available for ukrainian [uk-UA] locale of Windows 7, so i had to find something else.

    ReplyDelete
  43. Thanks for helping me. Now I can read the Delphi help files.

    Ben from Montreal

    ReplyDelete
  44. Unfortunatelly I couldn't install it. It looks like it can not find my Windows 7 folder so installation is aborted. Could it be a problem that I'm using Windows 7 in German?

    ReplyDelete
  45. I just want to add that the problem is that the system can not find the specified path. After the script aked if the path leads to a file name or a folder name I chose "V" for "Verzeichnis" (folder in German. Than it says "Error installing WinHlp32" and aborts installation.

    ReplyDelete
  46. Thnaks !! worked like charm :) Although I had to run it as administrator.

    ReplyDelete
  47. Installation failed due to an Access Denied error.

    It looks like the batch file took ownership correctly but when it tried to copy the new .mui file Access denied.

    I tried Run AS.. and I am the administrator.

    Does this require local admin rights?

    ReplyDelete
  48. Obrigado... instalou legal... JOEL

    ReplyDelete
  49. Access is denied to exe.mui after runnimg install.cmd and I am operating as administrator. Can you suggest a course of action, please? All the permissions in the Properties, Security tab seem OK
    Tony

    ReplyDelete
  50. Gracias amigo, muchas gracias por el aporte

    ReplyDelete
  51. Dear Komeil,

    Thanks a lot for your free package, it is very useful.

    Chakeeretim

    ReplyDelete
  52. On my Windows 7 x64, installation seems to work fine judging by the Cmd Prompt (all 'successful' statuses and no errors) but trying to open a help file yields a simple OK Dialog box: "Cannot display this help file. Try opening the help file again, and if you still get this message, copy the help file to a different drive, and try again." I've tried opening the file from every partition on my hard drive... any ideas?

    -beerman

    ReplyDelete
  53. Nevermind... found the answer to the...
    "Cannot display this help file. Try opening the help file again, and if you still get this message, copy the help file to a different drive, and try again."
    ...issue here if anyone else needs it (you have to 'click here' to show the relevant info):

    http://support.microsoft.com/kb/917607#3

    Cheers Komeil!

    -beerman

    ReplyDelete
  54. sooooo... I spoke too soon and the registry hack still didn't help even after reboot. Here is an awesome last ditch effort that does actually let you get some kind of useful info from your help file, the Help File Decompiler:
    http://www.helpscribble.com/decompiler.html

    -beerman

    ReplyDelete
  55. Thanks for the help.
    Worked great after I read the directions a few times.
    I always rush in and miss something.

    Thanks again

    Joe

    ReplyDelete
  56. Download Link is down.

    ReplyDelete
  57. Posted December 11, 2011 @ 12:40 PM

    Download server is back after a virtual directory problem made it unresponsive.

    ReplyDelete
  58. Thank you very much.
    Have a licensed x64 win7 and the installer downloaded from ms support did not work.
    This one works fine.

    ReplyDelete
  59. I tried the download
    in Windows 7 Home on an x86 laptop,
    while logged on as administrator,
    and it failed as follows...

    ┌────────────────────────────────────────────────────────────────────────────┐
    │ Windows Help program (WinHlp32) installer for Windows 7 │
    │ Revision 2 │
    │ June 14, 2009 │
    │ Copyright (c) 2009 Chortkeh. All rights reserved. │
    │ Command-line scripting by Komeil Bahmanpour. │
    └────────────────────────────────────────────────────────────────────────────┘

    Setup is detecting Windows version...
    Microsoft Windows 7 [Version 6.1] detected.

    Terminating all possible running instances of WinHlp32...
    ERROR: The process "winhlp32.exe" not found.

    Taking the ownership of system's existing winhlp32.exe.mui...
    ERROR: The current logged on user does not have ownership privileges on
    the file (or folder) "C:\Windows\en-US\winhlp32.exe.mui".

    Granting mandy full-access permission to system's existing winhlp32.exe.mui...
    C:\Windows\en-US\winhlp32.exe.mui: Access is denied.
    Successfully processed 0 files; Failed processing 1 files

    Copying winhlp32.exe.mui to system...
    Access denied

    Error installing WinHlp32

    Setup will now exit.

    Press any key to continue . . .

    .....ANY SUGGESTIONS?

    ReplyDelete
  60. The course of events suggests your user is not the Administrator himself. Remember, an administrative account with a different name than the Administrator belonging to the Administrators Local User Group is not as highly-privileged as the Administrator himself. Try RUN AS ADMINISTRATOR.

    ReplyDelete
    Replies
    1. Windows 7 pro will not let me run the installer as an Administrator it says cannot find the files associated with the program use file association in the control panel to associate files. All three files are in the same directory after being extracted so I do not understand this

      Delete
  61. Thank you very much.
    Have a licensed x83 win7 and the installer downloaded from ms support did not work.
    This one works fine.
    You make my day.
    Respect...

    ReplyDelete
  62. Works great thanks. Clever script too.

    No way am I going to run Microsofts authentication program after it crashed on me last time forcing a complete system re-build. Can't believe they will not support it. Lots of very expensive software out there running older help files.

    ReplyDelete
  63. Ευχαριστώ Κομεΐλ!

    ReplyDelete
  64. A smooth and quick fix. Good work and thanks a bunch!!

    ReplyDelete
  65. Thanks from Germany
    Thumbs UP!!!

    ReplyDelete
  66. Thanks it works the first time....appreciate it

    ReplyDelete
  67. Thanks a bundle you're an angel. I put it on my 2 i5 laptops running win7 premium no bother.
    When it came to the i7 desktop running win7 pro it was a lot harder. I took ages trying to get the right permission, what a rigmarole. When I got the right permission it still didn't work until I entered it in the Command monitor then "hey presto". It makes the winhelp file a lot fatter and it works. Your next job Komeil is to devise a program to stop the task bar sticking in windows 7 even though it should disappear when unlocked. No-one can do this and Microsoft is aware of this problem. They are absolutely useless and don't care about end users. Windows XP never had this problem. If you solve this you will be a supremo. I know the way round it is to stop explorer.exe in the task manager then restart it from the run prompt but their must be an easier way with your clever scripting.

    ReplyDelete
  68. Your fix worked PERFECTLY for me on my Win 7 new PC...

    Many, MANY thanks!

    Robert
    Riverside, CA

    ReplyDelete
  69. Thanks it worked well

    ReplyDelete
  70. Hello Komeil
    Thank you for your winhlp32 installer.‎
    I installed an old favorite program of 1990s for a temporal use and I needed to read its ‎help file. I searched for an hlp reader and found your installer. The installation was ‎successful but now I do not need it any more. How can I uninstall this new winhlp32.exe? ‎
    I examined the Install.cmd and renamed 2 installed files and found a copy of ‎‎‘winhlp32.exe’ in ‘winsxs’ and renamed it and renamed registry keys too. Then I ran ‎sfc.exe but it couldn’t add original winhlp32.exe to windows.‎
    CBS log file says that:‎
    ‎< .…Could not reproject corrupted file […. C:\Windows"\ ....]"winhlp32.exe"; source file ‎in store is also corrupted …. >‎
    Now clicking an hlp file, Windows shows usual unassigned extensions’ table.‎
    I will undo renaming of files and registry keys, but I wish I could go back to original ‎windows 7 files. I think being over sixties it may be natural to trap into some casual ‎obsessions!‎
    Why Microsoft doesn’t recommend winhlp32.exe for Win7? May keeping this file ‎cause any security problems in Windows 7? ‎
    ممنون از شما

    ReplyDelete
    Replies
    1. I'd like to tell you why: Because just like other companies on the face of the earth, Microsoft is all about greed and customer dissatisfaction. I don't think it's cautious and wise to believe your 14 GB of Windows installation containing nearly 80,000 files nested in over 15,000 folders--which has been getting tons of security update every now and then--is safe and secure, but this tiny 290 kB file--which is only up and running when an old HLP file is being opened--is unsafe.

      Obsession or whatever, you have the right to peace of mind. So, there's no modified Registry keys, and no reason to worry about a security breach because all that Microsoft has been trying to do were towards depreciating the old HLP format. Please note WinHelp has been available as a legit Windows update (KB917607) download since October 14, 2009.

      Finally, if you're not convinced yet, to rollback to your Windows original WinHlp32, download the WinHlp32 archive and depending on your Windows version, select one of the following archive folders:

      6.1.7600.16385: Windows 7 / Windows Server 2008 R2 original nonfunctional winhelp file
      6.0.6000.16386: Windows Vista / Windows Server 2008 original nonfunctional winhelp file

      Now replace both winhlp32.exe and winhlp32.exe.mui in my installer package with the ones in the folder and try the installer.

      Next time, use Microsoft's own KB917607, because they feature inbuilt uninstaller.

      Delete
    2. Hello ‎
      I asked about a way to uninstall winhlp32 and sure I didn’t mean that there is anything ‎wrong with your installer. It is written professionally and I know that what was exactly done ‎installing this file. I downloaded your installer just because in numerous sites and ‎forums they said that windows own installer may cause issues installing on windows 7 ‎x64 and some offered your installer.‎
      My post was just a friendly question from an expert and thank you for your answer.‎

      Delete
    3. Hi. How can I be unfriendly towards a reader thanking me like that? Don't take my tone the wrong way. I was only blaming Microsoft, trying to describe that things they said about it being unsafe is only because they wanted to kill WinHlp32 and provide no further support; because one less product to support equals one less guy to pay. As I said earlier, to uninstall, replace the files next to my installer with the original (nonfunctional) files matching your Windows version that can be found in the archive. I don't know whether those sites and forums are right or wrong about mine or Microsoft's being preferred, but I think for a temporary HLP usage, Microsoft 917607 is a hassle-free install and uninstall.

      Delete
  71. Thank you Komeil, for the useful patch!

    ReplyDelete
  72. Muito obriado

    TKS!!!

    ReplyDelete




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

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