Coder Social home page Coder Social logo

Comments (13)

chrisbra avatar chrisbra commented on June 6, 2024

Isn't that a problem with winget then, if it works when manually installing?

from vim.

jonathan-b-wiebe avatar jonathan-b-wiebe commented on June 6, 2024

Manually installing the latest version from the vim-win32-installer site (9.1.0368) will update the registry key to 9.1.0000, which is still incorrect. The registry key should be set to 9.1.0312.

from vim.

chrisbra avatar chrisbra commented on June 6, 2024

I don't think this is true, here on my current system (Win10), it shows the correct version:
grafik
grafik

from vim.

jonathan-b-wiebe avatar jonathan-b-wiebe commented on June 6, 2024

I have re-installed using the same version you are running (9.1.0136) and it indeed works correctly.
I will uninstall and reinstall with newer versions to determine when this behavour started.
Thanks for your help!

from vim.

jonathan-b-wiebe avatar jonathan-b-wiebe commented on June 6, 2024

I can now confirm that this behaviour started somewhere between version 9.1.0282 and 9.1.0296. I cannot get move exact then this because these are two consecutive released on the vim-win32-installer site and I am not set up to compile vim in order to test the intermediate versions between these.
Installing version 9.1.0282 shows the following in the registry:
image
Installing version 9.1.0296 shows the following:
image
Re-installing version 9.1.0282 returns the key to the correct value.

from vim.

RestorerZ avatar RestorerZ commented on June 6, 2024

@jonathan-b-wiebe
And can you please install the latest version with “vim-win32-install” and see what you get in your registry?
https://github.com/vim/vim-win32-installer/releases/tag/v9.1.0368

from vim.

chrisbra avatar chrisbra commented on June 6, 2024

Hm, I don't see any potential changes between v9.1.282 and v9.1.296 that could cause this.

from vim.

chrisbra avatar chrisbra commented on June 6, 2024

I guess this one here: vim/vim-win32-installer@672d8c5 ?

from vim.

jonathan-b-wiebe avatar jonathan-b-wiebe commented on June 6, 2024

Installing gvim_9.1.0368_x64.exe results in the following registry key:
image

from vim.

RestorerZ avatar RestorerZ commented on June 6, 2024

I'm afraid it has to do with this pull request #338 and #14471

from vim.

RestorerZ avatar RestorerZ commented on June 6, 2024

Installing gvim_9.1.0368_x64.exe results in the following registry key:

Thank you. I'll check it out now.

from vim.

RestorerZ avatar RestorerZ commented on June 6, 2024

That's probably it.

vim/src/dosinst.c

Line 1657 in a4c085a

sprintf(version_string, VIM_VERSION_SHORT "." VIM_VERSION_PATCHLEVEL_STR);

It's possible that this should fix it.

diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index aec9efaf9..4d03a722b 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -1321,6 +1321,10 @@ $(OUTDIR):
 
 CFLAGS_INST = /nologo /O2 -DNDEBUG -DWIN32 -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) $(CFLAGS_DEPR)
 
+!IFDEF PATCHLEVEL
+CFLAGS_INST=	$(CFLAGS_INST) -DVIM_VERSION_PATCHLEVEL=$(PATCHLEVEL)
+!ENDIF
+
 install.exe: dosinst.c dosinst.h version.h
 	$(CC) $(CFLAGS_INST) dosinst.c kernel32.lib shell32.lib \
 		user32.lib ole32.lib advapi32.lib uuid.lib \

I'll have to check it again.

from vim.

RestorerZ avatar RestorerZ commented on June 6, 2024

Yeah, everything seems to be working as it should.
prg-vim-inst-ptchlvl
reg-vim-inst-ptchlvl

from vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.