mirror of https://github.com/docker/docs.git
Check if DockerMachine was selected before continuing
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
parent
13a8ca268a
commit
80b9ebee15
|
|
@ -305,7 +305,7 @@ function MigrateVM() : Boolean;
|
||||||
var
|
var
|
||||||
ResultCode: Integer;
|
ResultCode: Integer;
|
||||||
begin
|
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
|
begin
|
||||||
Result := true
|
Result := true
|
||||||
exit
|
exit
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue