Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Dont proceed on windows 10
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <[email protected]>
  • Loading branch information
jmorganca committed Aug 13, 2015
1 parent f3bf0a7 commit a5b8346
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions windows/Toolbox.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5b8346

Please sign in to comment.