Received message that microsoft visual CC ++ Runtime 9. Service Pack 1 could not be installed and to use windows update to manually install. Visual CC ++ Runtime. My Dell desktop system is Win 7 Ultimate, Service Pack 1, 12gb ram and 64. The exact same issue occurs on my Dell laptop with is also Win 7. Ultimate, Service Pack 1, 16gb and 64 bit Operating System. The 32 bit CS6 Photoshop opens with no errors on either PC. I re-installed the laptop from the Set-up.exe. The were no errors during.
I posted an item last week that described how to detect the presence of the Visual C++ 8.0 runtime files redistributable packages. Over the weekend, a customer pointed out to me that Visual Studio 2005 SP1 includes modified versions of the VC redist packages.
The SP1 versions of the VC redist packages include the following changes:
- The Windows Installer 3.1 requirement has been eliminated by rewriting a custom action included in the original MSIs so it does not use APIs that only exist in Windows Installer 3.x
- The product codes were changed for each of the MSIs
- The MSIs now implement the Windows Installer major upgrade feature to automatically upgrade systems that have the original VS 2005 version to the SP1 version
Because the product codes were changed, the detection mechanism that I described in my previous blog postwill not work for the SP1 versions of the VC redist MSIs. The following steps can be used to check for the existence of the modified VC redist packages that are included in VS 2005 SP1:
- Call the MsiQueryProductStateAPI
- Pass in the product code for the package that you want to detect based on the list below
- Check the return value of this API. If it is anything other than INSTALLSTATE_DEFAULT, the package is not yet installed
Visual C++ 2005 runtime files
- Visual C++ 2005 Redistributable Package (x86) - {A49F249F-0C91-497F-86DF-B2585E8E76B7}
- Visual C++ 2005 Redistributable Package (x64) - {6E8E85E8-CE4B-4FF5-91F7-04999C9FAE6A}
- Visual C++ 2005 Redistributable Package (ia64) - {03ED71EA-F531-4927-AABD-1C31BCE8E187}
![Microsoft Visual C Runtime 8.0 Service Pack 1 Microsoft Visual C Runtime 8.0 Service Pack 1](/uploads/1/2/5/8/125836694/267926021.jpg)
Visual C++ 2005 SP1 runtime files
- Visual C++ 2005 SP1 Redistributable Package (x86) - {7299052B-02A4-4627-81F2-1818DA5D550D}
- Visual C++ 2005 SP1 Redistributable Package (x64) - {071C9B48-7C32-4621-A0AC-3F809523288F}
- Visual C++ 2005 SP1 Redistributable Package (ia64) - {0F8FB34E-675E-42ED-850B-29D98C2ECE08}
Visual C++ 2005 SP1 ATL Security Update runtime files
- Visual C++ 2005 SP1 ATL Security Update Redistributable Package (x86) - {837B34E3-7C30-493C-8F6A-2B0F04E2912C}
- Visual C++ 2005 SP1 ATL Security Update Redistributable Package (x64) - {6CE5BAE9-D3CA-4B99-891A-1DC6C118A5FC}
- Visual C++ 2005 SP1 ATL Security Update Redistributable Package (ia64) - {85025851-A784-46D8-950D-05CB3CA43A13}
Visual C++ 2005 SP1 MFC Security Update runtime files
![Pack Pack](/uploads/1/2/5/8/125836694/471144807.jpg)
- Visual C++ 2005 SP1 MFC Security Update Redistributable Package (x86) - {710F4C1C-CC18-4C49-8CBF-51240C89A1A2}
- Visual C++ 2005 SP1 MFC Security Update Redistributable Package (x64) - {AD8A2FA1-06E7-4B0D-927D-6E54B3D31028}
- Visual C++ 2005 SP1 MFC Security Update Redistributable Package (ia64) - {C2F60BDA-462A-4A72-8E4D-CA431A56E9EA}
One additional note - the data files included with the Visual Studio deployment bootstrapper tool were not updated with the new SP1 detection mechanism. This means that if you build a setup project in VS 2005 SP1 and include the VC redist package as a prerequisite, your setup will end up downloading and installing the VC redist package on systems that already have the original VS 2005 version of this redist package installed. Because of the major upgrade functionality, this will not harm users' systems at all, but it will result in a slight time delay due to an unnecessary download and install.
<update date='11/19/2009'> Added information about VC++ 2005 and VC++ 2005 SP1 ATL Security Update packages. </update>
<update date='1/17/2012'> Added information about VC++ 2005 SP1 MFC Security Update packages. </update>