diff --git a/apache.json b/apache.json index 54502f0d16..2ec2539c09 100644 --- a/apache.json +++ b/apache.json @@ -25,6 +25,7 @@ "bin\\logresolve.exe", "bin\\rotatelogs.exe" ], + "depends": "visual-c-14", "post_install": " # set directory in httpd.conf $conf = \"$dir/conf/httpd.conf\" diff --git a/php.json b/php.json index 8421c5cc26..6901c7c853 100644 --- a/php.json +++ b/php.json @@ -13,6 +13,7 @@ } }, "bin": "php.exe", + "depends": "visual-c-14", "post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"", "checkver": { "url": "http://windows.php.net/download/", diff --git a/visual-c-14.json b/visual-c-14.json new file mode 100644 index 0000000000..17818b9ac5 --- /dev/null +++ b/visual-c-14.json @@ -0,0 +1,49 @@ +{ + "homepage": "https://www.visualstudio.com", + "version": "2015", + "license": "https://www.visualstudio.com/DownloadEula/en-us/mt171552", + "architecture": { + "64bit": { + "url": "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe", + "hash": "sha256:5eea714e1f22f1875c1cb7b1738b0c0b1f02aec5ecb95f0fdb1c5171c6cd93a3", + "installer": { + "file": "vc_redist.x64.exe", + "args": [ + "/install", + "/quiet", + "/norestart" + ], + "keep": "true" + }, + "uninstaller": { + "file": "vc_redist.x64.exe", + "args": [ + "/uninstall", + "/quiet", + "/norestart" + ] + } + }, + "32bit": { + "url": "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe", + "hash": "sha256:fdd1e1f0dcae2d0aa0720895eff33b927d13076e64464bb7c7e5843b7667cd14", + "installer": { + "file": "vc_redist.x86.exe", + "args": [ + "/install", + "/quiet", + "/norestart" + ], + "keep": "true" + }, + "uninstaller": { + "file": "vc_redist.x86.exe", + "args": [ + "/uninstall", + "/quiet", + "/norestart" + ] + } + } + } +}