On Mon, 2009-10-19 at 21:26 -0400, Ralph Hempel wrote:
> Steve Hall wrote:
> > On Fri, 2009-10-16 at 14:52 +0000, Jesse Hathaway wrote:
> > > 
> > > The installer for 7.2.264 does not populate the "Add or Remove
> > > Programs" on my WinXP box, is this a known issue? It is a nice
> > > feature to have to for automated package management.
> > > 
> > > thanks for the great software,
> > 
> > Hmm, not sure how to do this with NSIS. Is it just a reg key?
> 
> Steve, does cream install or touch any files outside of the
> main vim install directory? Windows users are so used to having
> to mess with Add/Remove that they might miss the fact that uninstall
> is as easy as deleting the directory  - as long as no other files
> or registry keys are left lying around...

In order to have anything work easily (read: typically) across just
two versions of Windows you could install stuff all over the place:

1. Registry (several places)
2. Start Menu (all users)
3. Start Menu (current user)
4. Desktop (all users)
5. Desktop (current users)
6. Program Files\
7. Program Files (x86)\
8. Windows\System\

Cream, by default only does four: 1, 2/3, 4/5, 6/7 of which the
possible choices are handled automatically by NSIS. (Dialog: "All
users or just me?")

 ...a little more research into this issue...

Ok, the "Add or Remove Program" string is just a reg entry. In fact,
we used to write these strings, but abandoned it because numerous
different versions were being written. (Now I remember: I became
concerned that future installers/uninstallers wouldn't know or be able
to find all the potential builds by name.) 

But I think the solution is to simply write a more generic Uninstall
key:

  HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim

and only record the exact install version within the key value.

Anybody have concerns that Cream's installer would uninstall registry
entries created by non-Cream Vim installers? Or that this would
preclude someone trying to run two versions at the same time? These
would be the only potential conflicts I can imagine.


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



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to