New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong DisplayVersion registry key written in Windows 11 #14629
Comments
Isn't that a problem with winget then, if it works when manually installing? |
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. |
I have re-installed using the same version you are running (9.1.0136) and it indeed works correctly. |
@jonathan-b-wiebe |
Hm, I don't see any potential changes between v9.1.282 and v9.1.296 that could cause this. |
I guess this one here: vim/vim-win32-installer@672d8c5 ? |
Thank you. I'll check it out now. |
That's probably it. Line 1657 in a4c085a
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. |
Steps to reproduce
Expected behaviour
Version of Vim
9.1.0312
Environment
Windows 11-23H2
Logs and stack traces
No response
The text was updated successfully, but these errors were encountered: