But I discovered in my registry that for Opera is missing shell\open\command key
and there is only Protocols\MailTo\shell\open\command with value "C:\PROGRAM FILES\OPERA\OPERA.EXE" "%1"
So due to "%1" it's not possible to use Run()
Ideas:
Also you should make SetError() in some cases (after RegRead):
And maybe make FileExists() test before Run(), but this is maybe unnecessary because in these registry keys should be always correct paths (to existing EXE's).
But I discovered in my registry that for Opera is missing shell\open\command key and there is only Protocols\MailTo\shell\open\command with value "C:\PROGRAM FILES\OPERA\OPERA.EXE" "%1"
So due to "%1" it's not possible to use Run()
Ideas: Also you should make SetError() in some cases (after RegRead):