1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00

Check if DockerMachine was selected before continuing

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan
2015-08-12 16:04:13 -07:00
parent 13a8ca268a
commit 80b9ebee15

View File

@@ -305,7 +305,7 @@ function MigrateVM() : Boolean;
var
ResultCode: Integer;
begin
if not FileExists('C:\Program Files\Oracle\VirtualBox\VBoxManage.exe') or not FileExists(ExpandConstant('{app}\docker-machine.exe')) then
if not IsComponentSelected('DockerMachine') or not FileExists('C:\Program Files\Oracle\VirtualBox\VBoxManage.exe') or not FileExists(ExpandConstant('{app}\docker-machine.exe')) then
begin
Result := true
exit