https://groups.google.com/d/msg/vim_dev/W5bHwWqHZ9g/FBMGJP8OAQAJ
Hi Steve,
My original post was talking about NSIS ftplugin/indent/syntax plugins,
not about the install script of Vim, but it's okay. ;-)
2018/1/16 Tue 7:22:34 UTC+9 Steve Hall wrote:
> On Mon, Jan 15, 2018 at 1:56 PM, Bram Moolenaar <Bram moolenaar net>
> wrote:
> > Steve Hall wrote:
> > >
> > > Any interest in moving the entire Vim installer to NSIS?
> >
> > There have been a few attempts at this, but they all dropped some
> > funcationality. Best would be to do this step by step, making sure
> > it still works for all different kinds of users.
>
>
> Maybe why nobody has tackeled this. Going through dosinst.c I find all
> these options:
>
>
> * (Find existing non-standard installation)
> * Installation location
> * Runtime location
> * Working directory location
> * Plugins location ($VIM or $HOME)
> * Vi, Vim, or Vim+ behavior
> * Remap some keys to Windows behavior
> * Mouse right button behavior (Unix, Windows, visual)
> * Install vim.bat and/or gvim.bat in %PATH%
> * Install vimrc
> * Install diff.exe
> * Install explorer right-click menu (gvimext.dll)
Recently I changed this to install both 64-bit and 32-bit version on
64-bit platform. (Including iconv and gettext DLLs.)
> * Create Start Menu shortcuts
> * Create Desktop shortcuts
> * Register OLE
>
>
> Why not just install with sane defaults? Cream's Vim installer (0.5m
> downloads) uses just one pick in three choice screens:
>
>
> * Forced acceptance of license (only choice actually required)
> * Confirm default behaviors (tick/untick):
> + Start Menu shortcut
> – (No Desktop shortcut)
> + Add Windows Explorer right-click menu
> + Native language support
> + Install vimrc (prompt to back up if existing)
> – (No command prompt .bat files)
> + Install Vim extension for MS Visual Studio
> – (No plugin directories in %HOMEDRIVE%%HOMEPATH%)
> * Confirm default installation path (C:\Program Files (x86)\vim)
Where can I find your NSIS script (for cream)?
Does it use MUI or MUI2?
> There is one more prompt to overwrite if there is already a (g)vimrc.
>
>
> Our assumption is that experts don't need a GUI installer, so the NSIS
> is for newbies or casual users. It puts runtimes, plugins, diff, etc.
> in the sofware directory, registers OLE, installs a single windows
> explorer right-click "Edit" menu item, and uses Vim's default options.
>
>
> A similar structure to Vim's NSIS would avoid it (and dosinst.c) being
> too complex to write and maintain. [Please take as Einstein and Occam
> simplicity, not BSB (
http://dilbert.com/strip/2017-12-25 ff). ;) ]
Regards,
Ken Takata