From a5b83461537effb1dd6fb195ff1d3467f2d7179d Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 13 Aug 2015 10:57:29 -0700 Subject: [PATCH] Dont proceed on windows 10 Signed-off-by: Jeffrey Morgan --- windows/Toolbox.iss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/windows/Toolbox.iss b/windows/Toolbox.iss index 0c54d632a8..40d2a43113 100644 --- a/windows/Toolbox.iss +++ b/windows/Toolbox.iss @@ -201,7 +201,16 @@ function InitializeSetup(): boolean; var ResultCode: integer; WinHttpReq: Variant; + Version: TWindowsVersion; begin + GetWindowsVersionEx(Version); + if (Version.Major = 10) then + begin + SuppressibleMsgBox('Windows 10 is not currently supported by the Docker Toolbox, due to an incompatibility with VirtualBox. There is a Windows 10 test build available at github.com/docker/toolbox/releases', mbCriticalError, MB_OK, IDOK); + Result := False; + Exit; + end; + try WinHttpReq := CreateOleObject('WinHttp.WinHttpRequest.5.1'); WinHttpReq.Open('POST', 'https://api.mixpanel.com/track/?data={#EventStartedData}', false);