Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2007
    Posts
    12

    Exclamation Fixing Visual C++ Runtime Issues

    If you get errors with Visual C++ runtimes, including errors mentioning VCR/VCP runtimes, please do the following:

    1.) Download in Order:
    • Visual C++ 2005 Redistributable (x86) (SP1) [1]
    • Visual C++ 2005 Redistributable (x64) (SP1) [1]
    • Visual C++ 2008 Redistributable (x86) (SP1) [1]
    • Visual C++ 2008 Redistributable (x64) (SP1) [1]
    • Visual C++ 2010 x86 Redistributable (SP1) [1]
    • Visual C++ 2010 x64 Redistributable (SP1) [1]

    2.) Open Control Panel -> Programs and Features
    3.) Search for C++ in the Search Box
    4.) Remove in reverse order (All combinations):
    • Visual C++ 2010 x64 Redistributable
    • Visual C++ 2010 x86 Redistributable
    • Visual C++ 2008 Redistributable (x64)
    • Visual C++ 2008 Redistributable (x86)
    • Visual C++ 2005 Redistributable (x64)
    • Visual C++ 2005 Redistributable (x86)

    5.) Install in order (Open each, let it succeed, then close the installer):
    • Visual C++ 2005 Redistributable (x86) (vcredist_x86.exe)
    • Visual C++ 2005 Redistributable (x64) (vcredist_x64.exe)
    • Visual C++ 2008 Redistributable (x86) (vcredist_x86(1).exe)
    • Visual C++ 2008 Redistributable (x64) (vcredist_x64(1).exe)
    • Visual C++ 2010 x86 Redistributable (vcredist_x86(2).exe)
    • Visual C++ 2010 x64 Redistributable (vcredist_x64(2).exe)

    6.) Check Windows Updates for available security patches and install them
    7.) (Not Mandatory, but I have OCD)
    • Open Control Panel -> System -> Advanced System Settings
      • -> Environment Variables ->

      (User variables) Path -> Edit
      • -> Copy the variable value string to Notepad++
      • -> Press "Cancel" Button
      • -> Delete Path (Useless variable, most paths are shared anyways, or supposed to be)

      (System variables) Path -> Edit
      • -> Copy the variable value string to the end of the other string in Notepad++
    • -> Search -> Find -> Replace
      • -> "Find what" -> ';' (Without the single quotes)
      • -> "Replace with" -> ';\n' (Without the single quotes)
      • -> Tick "Extended" under Search Mode
      • -> Press "Replace All" Button
    • -> Add a semicolon to the end of any string missing a semicolon in Notepad++
    • -> Edit -> "Select All" -> TextFX (Notepad++ ~5.8) -> TextFX Tools -> "Sort lines case-insensitive"
    • -> Select lines with Windows or %SYSTEMROOT% and move them above the other lines
    • -> Remove trailing semicolon at far bottom right of the document
    • -> Add the following lines under the last Windows or %SYSTEMROOT% line (Without quotes)
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    • -> On each line, starting from the bottom, use home to return the cursor to the front of each string
    • -> Remove one character starting at the beginning of that string until all lines are combined
    • -> Copy the new string and paste it over the variable value string and press Ok -> Ok

    7.) When in doubt, Reboot!
    8.) Try what you were doing before again...
    Last edited by sparcdr; 05-08-2013 at 07:54 PM. Reason: moar syntax

  2. #2
    Join Date
    Aug 2016
    Posts
    0
    Quote Originally Posted by sparcdr View Post
    [*]-> Add a semicolon to the end of any string missing a semicolon in Notepad++[*]-> Edit -> "Select All" -> TextFX (Notepad++ ~5.8) -> TextFX Tools -> "Sort lines case-insensitive"[*]-> Select lines with Windows or %SYSTEMROOT% and move them above the other lines[*]-> Remove trailing semicolon at far bottom right of the document[*]-> Add the following lines under the last Windows or %SYSTEMROOT% line (Without quotes)
    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    [*]-> On each line, starting from the bottom, use home to return the cursor to the front of each string[*]-> Remove one character starting at the beginning of that string until all lines are combined[*]-> Copy the new string and paste it over the variable value string and press Ok -> Ok
    Can you please paste an examples of how the lines should look after the above processing has been done? I think I am doing some mistake in the above due to which things are not working for me but I am not able to figure out where the issue is... Thanks in advance!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •