On Sat, Sep 27, 2014 at 9:57 PM, Bram Moolenaar <[email protected]> wrote: > > Tim Lebedkov wrote: > >> the NSIS installer expects the installation directory to end with >> "Vim", which is not always possible or desired (e.g. "Vim huge"). This >> patch removes this restriction. > > I believe the main problem is that when installing a new version, Vim > won't find the old version. Would it be possible to ask for > confirmation that the user really intended to install in a different > directory? > > Perhaps it's sufficient to check that the path contains "vim" in the > last part of the path? > > > -- > hundred-and-one symptoms of being an internet addict: > 192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites. > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ > \\\ an exciting new programming language -- http://www.Zimbu.org /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Hello Bram, uninstall_check() in dosinst.c actually scans the registry for keys that start with "Vim" and extracts the directory from the path to the uninstaller. This means that the name of the installation directory may be arbitrary. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
