PHP Install fails with -n regarding C++ 2008 runtime

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP Install fails with -n regarding C++ 2008 runtime

Postby pmcmicha » 03. February 2017 23:34

I get the message stating that this is failing even though the 2008 C++ runtimes are already installed on my system. I can run the same command from my command line and everything works perfectly. Not sure where the issue lies during the installation process, however I did note that in the test_php.bat file, that it was not testing for this key:
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}


I added the following to the test_php.bat file:
Code: Select all
After line 16, added:
set runtime8_k=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}

After line 71, added:
reg query "%runtime8_k%" /v DisplayVersion
if %ERRORLEVEL% EQU 0 (
    goto runtime_success
)
pmcmicha
 
Posts: 2
Joined: 03. February 2017 21:45
XAMPP version: 5.6.30
Operating System: Win 7 Pro

Re: PHP Install fails with -n regarding C++ 2008 runtime

Postby Nobbie » 04. February 2017 12:19

pmcmicha wrote:I get the message stating that this is failing even though the 2008 C++ runtimes are already installed on my system. I can run the same command from my command line and everything works perfectly.


What is "this" (from. "this is failing") and which command do you mean by "run the same command"? The subject "PHP Install fails with -n regarding C++ 2008 runtime" does not tell me anything, i dont understand it. What exactly are you doing?

pmcmicha wrote:I added the following to the test_php.bat file:


i dont know a test_php.bat file, where did you get this file?
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 72 guests