vim-win32-installer
vim-win32-installer copied to clipboard
Standard user installation fails
Description
When trying to install gvim_8.1.0885_x64.exe as a standard (non-administrator) user.
Observed
An error dialog appeared, saying:
Error opening file for writing: C:\Program Files\Vim\vim81\gvim.exe

Expected
When a non-administrator user starts the installer, then the User Account Control window asks for the administrator password.
What works
Right clicking on the installer and choosing Run as administrator, completes the installation without any issues.
if you try to install as an non-admin, please select a directory that is writable for your user.
It was the default choice.
Could it be using the same path that was chosen for the previously installed application?
That installer must have asked for the admin password since it was able to install to that location.