On Mon, 2007-06-04 at 14:29 +0900, Dmitry Timoshkov wrote:
"Misha Koshelev" mk144210@bcm.edu wrote:
--- a/tools/wine.inf +++ b/tools/wine.inf @@ -134,8 +134,14 @@ HKCR,txtfile\shell\open\command,,2,"%11%\notepad.exe %1" HKCR,txtfile\shell\print\command,,2,"%11%\notepad.exe /p %1" HKCR,wrifile\shell\open\command,,2,"%11%\wordpad.exe %1" HKCR,wrifile\shell\print\command,,2,"%11%\wordpad.exe /p %1" -HKCR,http\shell\open\command,,2,"winebrowser" -HKCR,https\shell\open\command,,2,"winebrowser" +HKCR,http\shell\open\command,,2,"winebrowser /dde" +HKCR,http\shell\open\ddeexec,,2,"""%1""" +HKCR,http\shell\open\ddeexec\Application,,2,"WineBrowser" +HKCR,http\shell\open\ddeexec\Topic,,2,"WWW_OpenURL" +HKCR,https\shell\open\command,,2,"winebrowser /dde" +HKCR,https\shell\open\ddeexec,,2,"""%1""" +HKCR,https\shell\open\ddeexec\Application,,2,"WineBrowser" +HKCR,https\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
Why are you making DDE the default way for the ShellExecute command? That's not the case in the default Windows install. Also please make sure that the items of the Help menu in Picasa still work after your changes, as it was broken several times after attempts to change default registry setup or ShellExecute behaviour.
Btw the reason for the /dde parameter is simply so that if the user runs winebrowser from the command line he/she does not have to wait for the 5 second timeout before they get a usage message.
On windows there is no such parameter passed to iexplore (although -nohome is passed so it doesn't open a homepage) as iexplore will actually open a window that will then sit and wait for the DDE server request. Since winebrowser does no such thing, and will exit once it starts the appropriate unix browser, we have to have a timeout, but if we pass a special command line parameter we will know only to wait for a dde request if it is passed, so a commandline user can see his usage message right away.
Misha