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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user