diff --git a/windows/Toolbox.iss b/windows/Toolbox.iss index 0ab2fef7ef..8b0ad9d2fd 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