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
1 changed files with 1 additions and 1 deletions

View File

@ -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