nvs icon indicating copy to clipboard operation
nvs copied to clipboard

Suggested docs update: mention windows 11 administrator permissions to install through choco

Open briosheje opened this issue 3 years ago • 7 comments

Installing through choco in windows 11 gave me permissions issues (I wasn't even able to install tbh), although installing trorugh powershell with administrator rights works just as intended.

I didn't see that in the windows section mentioned, so I guess it would be a good docs addition to do so: https://github.com/jasongin/nvs#windows

briosheje avatar Feb 05 '22 09:02 briosheje

I don't recommend installing as an administrator, because that means you'll need admin access for most operations. The setup instructions for Windows should work without admin privileges. (I don't know about choco.)

jasongin avatar Feb 05 '22 09:02 jasongin

I don't recommend installing as an administrator, because that means you'll need admin access for most operations. The setup instructions for Windows should work without admin privileges. (I don't know about choco.)

Are you sure you can actually manage to install through choco without administration privileges in windows?

I've just tried on another windows machine and had to do the same thing, I guess this is either because choco was installed with administration privileges or (maybe) because the choco script is downloading and executing an MSI?

My point is just that if someone tries to install through choco, he might (or possibili will) encounter this scenario, despite I perfectly do agree that administration privileges should not be needed.

briosheje avatar Feb 05 '22 09:02 briosheje

Sorry, as I said above, I don't know about choco. I don't use it; the choco setup is built and supported by others.

jasongin avatar Feb 05 '22 09:02 jasongin

Ahh I didn't realize choco was prominently featured on the main page as a suggested way of setting up on Windows. If it does require admin privilege then maybe it shouldn't be promoted there.

If choco doesn't work I'd suggest using either the MSI or manual setup instructions at https://github.com/jasongin/nvs/blob/master/doc/SETUP.md#windows

jasongin avatar Feb 05 '22 09:02 jasongin

I think most straightforward windows setup is MSI install. But it's currently little bit outdated. Latest version is from 2020, and there were some important (for me - git bash related) changes last year. Can you @jasongin release new version please?

MirKml avatar Feb 06 '22 17:02 MirKml

Ahh I didn't realize choco was prominently featured on the main page as a suggested way of setting up on Windows. If it does require admin privilege then maybe it shouldn't be promoted there.

If choco doesn't work I'd suggest using either the MSI or manual setup instructions at https://github.com/jasongin/nvs/blob/master/doc/SETUP.md#windows

Indeed that's definitely the solution.

I can also confirm that I had to install today nvs on another windows 10 machine and I was unable to install without admin privileges, so I went with the manual installation progress instead.

briosheje avatar Feb 15 '22 12:02 briosheje

.. But it's currently little bit outdated. Latest version is from 2020, and there were some important (for me - git bash related) changes last year. Can you @jasongin release new version please?

MSI install is up to date 🎉 👍, thanks @jasongin

MirKml avatar Apr 29 '22 17:04 MirKml