[Windows] Win7 installation of Visual C + + Redistributable x64 failed

Source: Internet
Author: User



When you install Visual C + + redistributable x64 in Win7, you get stuck because Visual C + + Redistributable x64 requires Kb2999226,wusa.exe (Windows System Console application,Windows Update Standalone installer ) will extract the downloaded WINDOWS6.1-KB2999226-X64.MSU to the C packing directory



Opening the folder will find the Windows6.1-kb2999226-x64.xml file as follows:


 
 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
        <package action="install">
            <assemblyIdentity  name="Package_for_KB2999226" version="6.1.1.7" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"/>
            <source location="%configsetroot%\Windows6.1-KB2999226-x64.CAB" />
        </package>
     </servicing>
</unattend>


The reason for the card owner is that the path to the package cannot be found, there is a <source/> node in the XML file, and its path is identified as <source location= "%configsetroot%\ Windows6.1-kb2999226-x64.cab "/>,%configsetroot% is a user environment variable, but does not exist by default, So Wusa.exe will not find Windows6.1-kb2999226-x64.cab.



Workaround:



Create configsetroot environment variable, open My computer in the address bar input%configsetroot%, enter, will jump to the environment variable set path, Copy the Windows6.1-kb2999226-x64.cab (extracted from the above mentioned Wusa.exe in a folder in the C packing directory) to the path.



Rerun the Setup program.



[Windows] Win7 installation of Visual C + + Redistributable x64 failed


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.