Archive: Default browser/e-mail/audio/media player/texteditor/image viewer


Default browser/e-mail/audio/media player/texteditor/image viewer
How can I detect default browser, e-mail client, audio/media player, text editor, image viewer, im client?


I think you'd have to read from the registry from certain file extensions in HKCR.

This should read default browser (tested on WinXP):
ReadRegStr $R0 HKCR ".htm" ""
ReadRegStr $R1 HKCR "$R0\shell" ""
ReadRegStr $R0 HKCR "$R0\shell\$R1\command" ""
; $R0 = "C:\Program Files\Internet Explorer\iexplore.exe" %1

-Stu


Now how can I set a URL in that internet explorer??Any idea?? I mean is there any way to set URL by the nsis script?