Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Detecting whether or not WinHelp is installed in Vista

Detecting whether or not WinHelp is installed in Vista

Scheduled Pinned Locked Moved Windows API
visual-studiosysadminwindows-adminhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    luweewu
    wrote on last edited by
    #1

    Since Microsoft is not letting developers include the WinHelp installer for Vista and Win2k8 Server, I need my installer to be able to detect the absence of WinHelp and then make a call into it to get the OS to pop up the window containing the download link. My problem is, since winhlp32.exe is always there, even if WinHelp is not installed, I need another way to detect the absence of WinHelp. Can someone point me to a Registry entry or file that is not there unless WinHelp is installed or a Registry entry that is different when WinHelp is installed vs when it is not? If possible, I would like my detection method to be a generic as possible (i.e., it shouldn't depend on whether it is being run on Vista, Win2k8 or a newer OS).

    Rob Holstein (BSc) Software Developer Delta Controls, Inc.

    S 1 Reply Last reply
    0
    • L luweewu

      Since Microsoft is not letting developers include the WinHelp installer for Vista and Win2k8 Server, I need my installer to be able to detect the absence of WinHelp and then make a call into it to get the OS to pop up the window containing the download link. My problem is, since winhlp32.exe is always there, even if WinHelp is not installed, I need another way to detect the absence of WinHelp. Can someone point me to a Registry entry or file that is not there unless WinHelp is installed or a Registry entry that is different when WinHelp is installed vs when it is not? If possible, I would like my detection method to be a generic as possible (i.e., it shouldn't depend on whether it is being run on Vista, Win2k8 or a newer OS).

      Rob Holstein (BSc) Software Developer Delta Controls, Inc.

      S Offline
      S Offline
      Sgt Riggs
      wrote on last edited by
      #2

      Hi, Rob! I think the following info will help you: Unless WinHelp update is installed, the file %SystemRoot%\WinHlp32.exe weights 9 KB (9,216 bytes). After you have this update installed, its weight increases up to 290 KB. So, you can just check, if WinHlp32.exe's size is less than, for example, 50 KB. I hope it will help you.

      L 1 Reply Last reply
      0
      • S Sgt Riggs

        Hi, Rob! I think the following info will help you: Unless WinHelp update is installed, the file %SystemRoot%\WinHlp32.exe weights 9 KB (9,216 bytes). After you have this update installed, its weight increases up to 290 KB. So, you can just check, if WinHlp32.exe's size is less than, for example, 50 KB. I hope it will help you.

        L Offline
        L Offline
        luweewu
        wrote on last edited by
        #3

        That doesn't seem to be the case. I'm looking at a Vista machine that has not had WinHelp installed, and its WinHlp32.exe weighs in at about 277 kB. I'm afraid I'm going to need a different solution.

        Rob Holstein (BSc) Software Developer Delta Controls, Inc.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups