Thursday, August 26, 2010

RE: WIN7 Can not set vim 7.3 as default program

On Fri, 2010-08-27 at 11:16 +1000, John Beckett wrote:
> Gary Johnson wrote:
> > From my experience, it appears that the installer from vim.sf.net
> > does set up the ability to make those associations but the Cream
> > installer does not.
>
> Steve Hall: Would you please confirm this.

I'll triple-check tomorrow when I'm on a Windows box but I'm 99%
positive this is correct for our installer. (Our build script for the
installer does not contain any of this code.)

The Cream installer never did this because the gVim installer did not,
which is counter to the first assumption above. (Perhaps this recently
changed?)


> I suppose some work with the NSIS installer config would allow an
> option (default?) to register Vim during install?

Extremely easy to do this (two lines), but I'd need overwhelming
support here for me to add it since:

* The default Vim installer doesn't do this. (Somebody?)
* It is bad behavior for an installer to modify OS defaults.
* It is bad behavior for an installer to modify OS defaults without
first warning.
* It is bad behavior for an installer to modify OS defaults without
first warning, by default...

* ...so, we would put this in a "custom" option that a user would have
to specifically select. But then it's not by default, even if
someone picks "Full".

* It is already super-easy to right-click on a .txt file, pick "Open
With...", and select Vim. Same as with any other association, and
the "correct" way to modify an OS default IMO.


--
Steve Hall [ digitect dancingpaper com ]
:: Cream for Vim http://cream.sourceforge.net


--
You received this message from the "vim_use" 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

No comments: