You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading https://github.com/vim/vim-win32-installer/releases/download/v9.0.1672/gvim_9.0.1672_x64.exe
██████████████████████████████ 10.4 MB / 10.4 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Successfully installed
It says successful, but nothing happens. No prompts, no windows, nothing.
However, when I download the exe file (gvim_9.0.1672_x64.exe) and run it from the web browser or Windows file manager, I do get an error message -- the following popup, and the only option is a button that says "Don't run":
Windows protected your PC
Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
App: gvim_9.0.1672_x64.exe
Publisher: Unknown publisher
[Don’t run]
So winget fails because the executable is blocked.
Expected behaviour
I expected the installer to run.
The unsigned installers keep being blocked by Microsoft Defender SmartScreen.
All the signed installers seem to work normally.
For this reason, I suspect that the published winget package should use a signed installer, to avoid being blocked by Windows.
Version of Vim
9.0.1672
Environment
Windows version: Windows 11, 22H2 (OS Build 22621.1992)
Installer package: gvim_9.0.1672_x64.exe
The text was updated successfully, but these errors were encountered:
For this reason, I suspect that the published winget package should use a signed installer, to avoid being blocked by Windows.
yes, that would be nice, but that is still a half-manual step, so not easily possibly at the moment. There is nothing we can do here to convince Defender to run the installer unfortunately.
To be clear, the signed installers work perfectly.
If it were possible to automate the winget YAML pipeline to only update whenever the latest signed installer is available, it would always work even if the signing is half manual.
Steps to reproduce
winget install vim.vim
It says successful, but nothing happens. No prompts, no windows, nothing.
However, when I download the exe file (
gvim_9.0.1672_x64.exe
) and run it from the web browser or Windows file manager, I do get an error message -- the following popup, and the only option is a button that says "Don't run":So winget fails because the executable is blocked.
Expected behaviour
I expected the installer to run.
For this reason, I suspect that the published winget package should use a signed installer, to avoid being blocked by Windows.
Version of Vim
9.0.1672
Environment
Windows version: Windows 11, 22H2 (OS Build 22621.1992)
Installer package: gvim_9.0.1672_x64.exe
The text was updated successfully, but these errors were encountered: