Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Check if DockerMachine was selected before continuing
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <[email protected]>
  • Loading branch information
jmorganca committed Aug 12, 2015
1 parent 13a8ca2 commit 80b9ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/Toolbox.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80b9ebe

Please sign in to comment.