Added methods to check if there are installed runtimes avoiding
duplicate dialogs