Talk:VC 8.0 Redistributables

From NSIS Wiki

Thanks for your posting, I used your code to look to see if Microsoft Visual C++ 2005 Redistributables are installed.

They have a different key than your example, but after finding the appropriate key it worked fine.

I used REGEDIT, then looked in SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/UNINSTALL, then browsed the entries until I found the VC++ 2005 Redistributable:

My key was: A49F249F-0C91-497F-86DF-B2585E8E76B7

using that key it works great. I needed this for a project that was using SkinCrafter with the installed program and they require the VC++ libraries to function properly.

Again, thanks for posting your example, without it I'm not sure if I would have figured out how to make it work.

Kminear 21:21, 10 August 2007 (PDT)kminear

Same here, my key is {A49F249F-0C91-497F-86DF-B2585E8E76B7} too. So what would be correct - check for both keys?

Depends on whether you want to check for VC8 (VS2005), or VC8 SP1. See new "Registry Keys" section below. ZeBoxx 16:20, 17 July 2008 (PDT)

Registry Keys

Use SetRegview to access the correct registry (32bit vs 64bit) depending on your installer's needs.

  • VC8 (VS2005) non-SP1
  * x86: {a49f249f-0c91-497f-86df-b2585e8e76b7}
  * x64: {6e8e85e8-ce4b-4ff5-91f7-04999c9fae6a}
  * ia64: {03ed71ea-f531-4927-aabd-1c31bce8e187}

( source: http://blogs.msdn.com/astebner/archive/2007/01/16/mailbag-how-to-detect-the-presence-of-the-vc-8-0-runtime-redistributable-package.aspx )

  • VC8 (VS2005) SP1
  * x86: {7299052b-02a4-4627-81f2-1818da5d550d}
  * x64: {071c9b48-7c32-4621-a0ac-3f809523288f}
  * ia64: {0f8fb34e-675e-42ed-850b-29d98c2ece08}
  • VC8 (VS2005) SP1 + ATL Update
  * x86: {837b34e3-7c30-493c-8f6a-2b0f04e2912c}
  * x64: {6ce5bae9-d3ca-4b99-891a-1dc6c118a5fc}
  * ia64: {85025851-a784-46d8-950d-05cb3ca43a13}

( source: http://blogs.msdn.com/astebner/archive/2007/01/24/updated-vc-8-0-runtime-redistributable-packages-are-included-in-visual-studio-2005-sp1.aspx )

VC9 (VS2008)

  • VC9 (VS2008)
  * x86: {FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}
  * x64: {350AA351-21FA-3270-8B7A-835434E766AD}
  * ia64: {2B547B43-DB50-3139-9EBE-37D419E0F5FA}

( source: http://blogs.msdn.com/b/astebner/archive/2009/01/29/9384143.aspx How to detect the presence of the Visual C++ 9.0 runtime redistributable package )

  • VC9 (VS2008) SP1
  * x86: {9A25302D-30C0-39D9-BD6F-21E6EC160475}
  * x64: {8220EEFE-38CD-377E-8595-13398D740ACE}
  * ia64: {5827ECE1-AEB0-328E-B813-6FC68622C1F9}
  • VC9 (VS2008) SP1 + ATL Update
  * x86: {1F1C2DFC-2D24-3E06-BCB8-725134ADF989}
  * x64: {4B6C7001-C7D6-3710-913E-5BC23FCE91E6}
  * ia64: {977AD349-C2A8-39DD-9273-285C08987C7B}
  • VC9 (VS2008) SP1 + MFC Security Update
  * x86: {9BE518E6-ECC6-35A9-88E4-87755C07200F}
  * x64: {5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}
  * ia64: {515643D1-4E9E-342F-A75A-D1F16448DC04}

VC10 (VS2010)

How to detect the presence of the Visual C++ 2010 redistributable package

"HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\<x86|x64|ia64>" DW:"Installed" = 1

* x86 - {196BB40D-1578-3D01-B289-BEFC77A11A1E}
* x64 - {DA5E371C-6333-3D8A-93A4-6FD5B20BCC6E}
* ia64- {C1A35166-4301-38E9-BA67-02823AD72A1B}

"HKLM\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\<x86|x64|ia64>" DW:"Installed" = 1

* x86 - {F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
* x64 - {1D8E6291-B0D5-35EC-8441-6616F567A0F7}
* ia64- {88C73C1C-2DE5-3B01-AFB8-B46EF4AB41CD}
Personal tools
donate