wine.inf: Add shell handler for .url files.

Damjan Jovanovic damjan.jov at gmail.com
Fri Apr 8 02:35:17 CDT 2011


On Fri, Apr 8, 2011 at 9:22 AM, Hans Leidekker <hans at codeweavers.com> wrote:
> See http://bugs.winehq.org/show_bug.cgi?id=26673
> ---
>  tools/wine.inf.in |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/tools/wine.inf.in b/tools/wine.inf.in
> index d4a457b..048b5bb 100644
> --- a/tools/wine.inf.in
> +++ b/tools/wine.inf.in
> @@ -161,6 +161,7 @@ HKCR,.lnk,,2,"lnkfile"
>  HKCR,.msi,,2,"Msi.Package"
>  HKCR,.msp,,2,"Msi.Patch"
>  HKCR,.rtf,,2,"rtffile"
> +HKCR,.url,,2,"InternetShortcut"
>  HKCR,.wri,,2,"wrifile"
>  HKCR,chm.file,,2,"Compiled HTML Help File"
>  HKCR,chm.file\shell\open\command,,2,"%10%\hh.exe %1"
> @@ -215,21 +216,25 @@ HKCR,xmlfile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
>  HKCR,xmlfile\shell\open\ddeexec,"NoActivateHandler",2,""
>  HKCR,xmlfile\shell\open\ddeexec\Application,,2,"IExplore"
>  HKCR,xmlfile\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
> +HKCR,ftp,"URL Protocol",2,""
>  HKCR,ftp\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
>  HKCR,ftp\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
>  HKCR,ftp\shell\open\ddeexec,"NoActivateHandler",2,""
>  HKCR,ftp\shell\open\ddeexec\Application,,2,"IExplore"
>  HKCR,ftp\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
> +HKCR,http,"URL Protocol",2,""
>  HKCR,http\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
>  HKCR,http\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
>  HKCR,http\shell\open\ddeexec,"NoActivateHandler",2,""
>  HKCR,http\shell\open\ddeexec\Application,,2,"IExplore"
>  HKCR,http\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
> +HKCR,https,"URL Protocol",2,""
>  HKCR,https\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
>  HKCR,https\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
>  HKCR,https\shell\open\ddeexec,"NoActivateHandler",2,""
>  HKCR,https\shell\open\ddeexec\Application,,2,"IExplore"
>  HKCR,https\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
> +HKCR,mailto,"URL Protocol",2,""
>  HKCR,mailto\shell\open\command,,2,"%11%\winebrowser %1"
>  ; FIXME: the following should be done by the dll registration
>  HKCR,TypeLib\{00020430-0000-0000-C000-000000000046}\1.0\0\win16,,,"stdole.tlb"
> --


Aren't most Internet-related file associations created by
dlls/mshtml/mshtml.inf instead of tools/wine.inf.in, and should we
maybe change that or move your patch there?

Damjan



More information about the wine-devel mailing list