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. C / C++ / MFC
  4. Determine if VC++ 2005 SP1 runtime is installed?

Determine if VC++ 2005 SP1 runtime is installed?

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
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.
  • M Offline
    M Offline
    mid 5741
    wrote on last edited by
    #1

    What's the best way to determine if this runtime is installed?

    G 1 Reply Last reply
    0
    • M mid 5741

      What's the best way to determine if this runtime is installed?

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      Go to the Control Panel and open "Add or Remove Programs" and should be under "Microsoft Visual Studio ..."!

      "We make a living by what we get, we make a life by what we give." --Winston Churchill

      M 1 Reply Last reply
      0
      • G George L Jackson

        Go to the Control Panel and open "Add or Remove Programs" and should be under "Microsoft Visual Studio ..."!

        "We make a living by what we get, we make a life by what we give." --Winston Churchill

        M Offline
        M Offline
        mid 5741
        wrote on last edited by
        #3

        I meant programmatically determining if it's installed. -- modified at 22:46 Saturday 8th September, 2007 Nevermind. I found it: 1. Call the MsiQueryProductState API 2. Pass in the product code {7299052b-02a4-4627-81f2-1818da5d550d} for the x86 package, {071c9b48-7c32-4621-a0ac-3f809523288f} for the x64 package or {0f8fb34e-675e-42ed-850b-29d98c2ece08} for the ia64 package 3. Check the return value of this API. If it is anything other than INSTALLSTATE_DEFAULT, the package is not yet installed

        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