Bram suggested that I send this patch to vim-dev so more people can try it out.
install.exe writes entries to the Windows registry to set up the Edit with Vim context menu entry that you get when you right-click in Explorer. If you run a 32-bit install.exe on Win64, it will write into a redirected copy of the registry, which won't work properly. http://blogs.msdn.com/b/greggm/archive/2004/03/09/86766.aspx When running on Win64, you must run a 64-bit gvimext.dll to implement the Edit with Vim functionality. Gvim.exe need not be 64-bit; indeed, a 32-bit gvim.exe integrates better with the other language interfaces, as many of them are not available in a 64-bit flavor. Bram proposes that the NSIS installer, gvim.nsi, will use a 32-bit version of install.exe to install a 64-bit gvimext.dll on Win64 and a 32-bit gvimext.dll on Win32. Either way, a 32-bit gvim.exe would be installed. This patch uses KEY_WOW64_64KEY to write to the native, non-redirected registry. It should do the right thing, whether install.exe is 32-bit or 64-bit, regardless of whether it's run on Win32 or Win64. -- /George V. Reilly [email protected] Twitter: @georgevreilly http://www.georgevreilly.com/blog http://blogs.cozi.com/tech -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
dosinst.c.registry.patch
Description: Binary data
