I´m starting to use Chocolatey in the network of my hotel for software installs. I have a domain set on Win 2008 and all my users are not admins.
So, lets say I have a user JOE that is not an admin on the domain (neither on the machine) and a user PETER that is admin on both, and that I'm logged in as JOE. When I open a prompt (or powershell) as admin, windows UAC asks for a admin username/password. So I fill it with PETER's credentials. Then I can install Chocolatey (in
C:\ProgramData\Chocolatey) and install packages on
C:\ProgramData\Chocolatey\libs. And that is fine.
If the app is a install for all users (such as Sublime Text 3, installed at
C:\Program Users folder), everything goes OK. But when I run a "single user" install (such as Wunderlist, which is installed at
C:\Users\USERNAME\AppData\...) it get's installed at PETER's
AppData and not JOE's
If I run the installer manually, it asks me for PETER's credentials, but the app gets installed in JOE's user path.
Can I get the same behavior with Chocolatey? Am I doing something wrong or can I workaround this some way?