How to create an Edit-with-Vim context menu entry for Vim 8.1 on Windows 10

By | June 13, 2018

The Explorer context menu entry does not get created by the installer. Windows 10 Pro v1803 (64-bit).

What I have already tried:

  1. Installed Vim 8.1 using the stock Windows installer https://ftp.nluug.nl/pub/vim/pc/gvim81.exe.

    Took the installer option "Add an Edit-with-Vim context menu entry".

    Used a Windows user profile with administrator rights. Also tried starting the installer "Run as administrator".

  2. Referred to article “Adding Vim to MS-Windows File Explorer Menu” at Vim Tips Wiki and verified the registry entries, including correct path names. Here is what I actually have on the problem PC:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Vim\Gvim]
    "path"="C:\\Program Files (x86)\\Vim\\vim81\\gvim.exe"
    
    [HKEY_CLASSES_ROOT\CLSID\{51EEE242-AD87-11d3-9C1E-0090278BBD99}]
    @="Vim Shell Extension"
    
    [HKEY_CLASSES_ROOT\CLSID\{51EEE242-AD87-11d3-9C1E-0090278BBD99}\InProcServer32]
    @="C:\\Program Files (x86)\\Vim\\vim81\\GvimExt64\\gvimext.dll"
    "ThreadingModel"="Apartment"