From 80b9ebee15d33a741e6d6fa5ca976f4867690aba Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 12 Aug 2015 16:04:13 -0700 Subject: [PATCH] Check if DockerMachine was selected before continuing Signed-off-by: Jeffrey Morgan --- windows/Toolbox.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/Toolbox.iss b/windows/Toolbox.iss index 0ab2fef7..8b0ad9d2 100644 --- a/windows/Toolbox.iss +++ b/windows/Toolbox.iss @@ -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