Y lo prometido es deuda, hay va otra forma de hacerlo
Esta función devuelve la ruta del navegador predeterminado:
Código Delphi
[-]
uses Registry;
function Navegador: string;
var
Cliente: String;
begin
Result:= '';
with TRegistry.Create do
try
RootKey:= HKEY_LOCAL_MACHINE;
Cliente:= '';
if OpenKey('\SOFTWARE\Clients\StartMenuInternet' ,FALSE) then
begin
Cliente:= ReadString('');
CloseKey;
end;
if OpenKey('\SOFTWARE\Clients\StartMenuInternet\' + Cliente + '\shell\open\command' ,FALSE) then
begin
Result:= ReadString('');
CloseKey;
end;
finally
Free;
end;
end;