vim-win32-installer icon indicating copy to clipboard operation
vim-win32-installer copied to clipboard

Standard user installation fails

Open duianto opened this issue 6 years ago • 5 comments

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

gvim_8 1 0885_x64_2019-02-10_11-51-52

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.

duianto avatar Feb 10 '19 12:02 duianto

if you try to install as an non-admin, please select a directory that is writable for your user.

chrisbra avatar Feb 12 '19 10:02 chrisbra

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.

duianto avatar Feb 12 '19 11:02 duianto