locked
Microsoft Visual C++ Error Installation RRS feed

  • Question

  • hi, 

    I encountered a problem error when I install microsoft visual c + + 2008

    SS: 

    I've tried to install Microsoft Visual C + + 2008 SP1 Redistributable Package (x86) 
    and I megalami the same thing that the error 

    SS:

    please its support,thanks before.

    Wednesday, July 16, 2014 8:45 AM

Answers

  • What do you see in event logs? Event ID and other details ?

    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by arnavsharma Wednesday, June 7, 2017 1:29 AM
    Wednesday, July 16, 2014 3:26 PM
  • Hi,

    This is because An unsuccessful install of prior Windows Updates OR Custom MSI packages

     could have left over faulty registry keys under HKEY_LOCAL_MACHINE\COMPONENTS, in this case, I suggest to run the tool below:

    http://support.microsoft.com/kb/970652/en-us

    or you can manually modify the registry key in this way:

    1.Open the Registry Editor by clicking the Start button Picture of the Start button, typing regedit into the Search box, and then pressing ENTER.‌

    2.In the left pane, find and double-click 

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Components

    3.Right-click COMPONENTS, and then click Export. By default, this file is saved to your desktop, but you can choose any folder.

    4.In the File Name text box, type COMPONENTS. You have now created a back up copy of the registry values you're going to be removing.

    5.In the right pane, search for PendingXmlIdentifier, right-click it, and then click Delete. PendingXmlIdentifier might not be listed.

    6.In the right pane, search for NextQueueEntryIndex, right-click it, and then click Delete. NextQueueEntryIndex might not be listed.

    7.In the right pane, search for AdvancedInstallersNeedResolving, right-click it, and then click Delete. AdvancedInstallersNeedResolving might not be listed.

    8.Restart your computer and then run Windows Update again.

    Regards


    Wade Liu
    TechNet Community Support


    • Edited by Wade__Liu Friday, July 25, 2014 7:12 AM
    • Marked as answer by arnavsharma Wednesday, June 7, 2017 1:29 AM
    Thursday, July 17, 2014 10:20 AM
  • Hi,

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files, after SFC process is finished, try download and install the package here:

    http://www.microsoft.com/en-us/download/details.aspx?id=29

     And note that: run application in compatibility mode windows 7 in this way:

    1. Download the package and right click at the file, the select properties.

    2. Select Compatibility, in Compatibility mode, choose Run this program in compatibility mode for: Windows 7

    Detailed steps can be found at:

    http://windows.microsoft.com/en-us/windows/make-older-programs-run#1TC=windows-7

    Regards


    Wade Liu
    TechNet Community Support

    • Marked as answer by arnavsharma Wednesday, June 7, 2017 1:29 AM
    Monday, July 28, 2014 9:12 AM

All replies

  • What do you see in event logs? Event ID and other details ?

    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by arnavsharma Wednesday, June 7, 2017 1:29 AM
    Wednesday, July 16, 2014 3:26 PM
  • Hi,

    This is because An unsuccessful install of prior Windows Updates OR Custom MSI packages

     could have left over faulty registry keys under HKEY_LOCAL_MACHINE\COMPONENTS, in this case, I suggest to run the tool below:

    http://support.microsoft.com/kb/970652/en-us

    or you can manually modify the registry key in this way:

    1.Open the Registry Editor by clicking the Start button Picture of the Start button, typing regedit into the Search box, and then pressing ENTER.‌

    2.In the left pane, find and double-click 

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Components

    3.Right-click COMPONENTS, and then click Export. By default, this file is saved to your desktop, but you can choose any folder.

    4.In the File Name text box, type COMPONENTS. You have now created a back up copy of the registry values you're going to be removing.

    5.In the right pane, search for PendingXmlIdentifier, right-click it, and then click Delete. PendingXmlIdentifier might not be listed.

    6.In the right pane, search for NextQueueEntryIndex, right-click it, and then click Delete. NextQueueEntryIndex might not be listed.

    7.In the right pane, search for AdvancedInstallersNeedResolving, right-click it, and then click Delete. AdvancedInstallersNeedResolving might not be listed.

    8.Restart your computer and then run Windows Update again.

    Regards


    Wade Liu
    TechNet Community Support


    • Edited by Wade__Liu Friday, July 25, 2014 7:12 AM
    • Marked as answer by arnavsharma Wednesday, June 7, 2017 1:29 AM
    Thursday, July 17, 2014 10:20 AM
  • hi, 
    Could you please tell me at number 2, namely "and then click Components." where i can get? Components 

    thank you before
    Friday, July 18, 2014 10:57 AM
  • Hi,

    Sorry for the mis-spelling,the second step is to help find the pending.xm file and delete, you can also find it at  C:\Windows\winsxs\pending.xml and delete it.

    if there is not a pending.xml file generated,You can also 

    Run the System File Checker tool (SFC.exe)in this way: 

    1.Open an administrative Command Prompt window.

    2.At the command prompt, type sfc /scannow, and then press Enter.

    3.After the scan is finished, try to install updates again.

    Any other problem you can post it back.

    Regards


    Wade Liu
    TechNet Community Support


    • Edited by Wade__Liu Friday, July 25, 2014 7:28 AM
    Friday, July 25, 2014 7:27 AM
  • Hi, 
    I do not get pending.xml files on my pc so I tried the way 
    Run the System File Checker tool (SFC.exe) in this way: 
    1.Open an administrative Command Prompt window. 
    2.At the command prompt, type sfc / scannow, and then press Enter. 
    3.After the scan is finished, try to install updates again. 
    Any other problem you can post it back. 

    and I already do it that I ask when it's done that I've been able to install mvc ++ no such error? or still need to do anything else?

    thank you before

    Friday, July 25, 2014 8:47 AM
  • Hi,

    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files, after SFC process is finished, try download and install the package here:

    http://www.microsoft.com/en-us/download/details.aspx?id=29

     And note that: run application in compatibility mode windows 7 in this way:

    1. Download the package and right click at the file, the select properties.

    2. Select Compatibility, in Compatibility mode, choose Run this program in compatibility mode for: Windows 7

    Detailed steps can be found at:

    http://windows.microsoft.com/en-us/windows/make-older-programs-run#1TC=windows-7

    Regards


    Wade Liu
    TechNet Community Support

    • Marked as answer by arnavsharma Wednesday, June 7, 2017 1:29 AM
    Monday, July 28, 2014 9:12 AM