Skip to content

Commit

Permalink
fixed: don't add installation entry if registry key is empty/corrupte…
Browse files Browse the repository at this point in the history
…d/invalid
  • Loading branch information
plathub authored and Memnarch committed May 7, 2019
1 parent f5fa222 commit afb78f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DN.DelphiInstallation.Provider.pas
Expand Up @@ -77,7 +77,10 @@ procedure TDNDelphiInstallationProvider.LoadInstallations;
for LKey in LKeyNames do
begin
LInstallation := TDNDelphInstallation.Create(TPath.Combine(CRootKey, LKey));
FInstallations.Add(LInstallation);
if LInstallation.Application <> '' then
begin
FInstallations.Add(LInstallation);
end;
end;
RemoveIgnoredInstallations();
end;
Expand Down

0 comments on commit afb78f4

Please sign in to comment.