Talk:VC 8.0 Redistributables: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Added ATL update bits)
(Added VC10 info (Maybe we need a shared page for all versions?))
Line 35: Line 35:
   * ia64: 85025851-a784-46d8-950d-05cb3ca43a13
   * 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 )
( 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 )
== VC10 ==
[http://blogs.msdn.com/astebner/archive/2010/05/05/10008146.aspx 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
* Visual C++ 2010 redistributable package [http://msdn.microsoft.com/en-gb/library/aa370363.aspx#MsiQueryProductState product codes]:
* x86 - {196BB40D-1578-3D01-B289-BEFC77A11A1E}
* x64 - {DA5E371C-6333-3D8A-93A4-6FD5B20BCC6E}
* ia64- {C1A35166-4301-38E9-BA67-02823AD72A1B}

Revision as of 00:50, 7 May 2010

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 )


VC10

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}