windowsterminal-shell icon indicating copy to clipboard operation
windowsterminal-shell copied to clipboard

install.ps1 doesn't work if you're logged in a non admin account

Open federico-ntr opened this issue 4 years ago • 2 comments

I tried to run the install script on my work computer, where I'm not the admin and it doesn't work.

I logged in to my account, opened ps7 as admin (of course an admin put his password) and ran the script but it looked for windows terminal in the user directory of the aforementioned admin so it couldn't find wt.exe. I tried to edit the script putting the right path in $executable and $file and the script runs til the end, however the registry and the context menu are not modified.

I don't know if this is intended or unfixable, but I thought it was worth reporting it here.

Thanks

federico-ntr avatar Dec 14 '20 10:12 federico-ntr

This is intended as the registry keys go to the account that runs the script only, not all accounts on the machine.

lextm avatar Dec 14 '20 14:12 lextm

Thanks for the answer, I'm far from understanding how this works but I'll investigate, feel free to close this "issue" :smile:

federico-ntr avatar Dec 15 '20 18:12 federico-ntr