mirror of https://github.com/docker/docs.git
Dont proceed on windows 10
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
parent
f3bf0a748a
commit
a5b8346153
|
|
@ -201,7 +201,16 @@ function InitializeSetup(): boolean;
|
||||||
var
|
var
|
||||||
ResultCode: integer;
|
ResultCode: integer;
|
||||||
WinHttpReq: Variant;
|
WinHttpReq: Variant;
|
||||||
|
Version: TWindowsVersion;
|
||||||
begin
|
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
|
try
|
||||||
WinHttpReq := CreateOleObject('WinHttp.WinHttpRequest.5.1');
|
WinHttpReq := CreateOleObject('WinHttp.WinHttpRequest.5.1');
|
||||||
WinHttpReq.Open('POST', 'https://api.mixpanel.com/track/?data={#EventStartedData}', false);
|
WinHttpReq.Open('POST', 'https://api.mixpanel.com/track/?data={#EventStartedData}', false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue