I am trying to install Chocolately on our servers at work, but I have a problem due certain McAfee rules that prevent us from unzipping or running an executable's from the Temp directory (From reviewing the Chocolately code, the $env:TEMP variable is used in a few places). I have tried to update the $env:TEMP variable myself, but there are policies that set it back immediately. I have even tried to update the $env:TEMP variable and install Chocolatey in the same powershell session, but it seems to set it back again.
Does anyone have any other suggestions / ideas? Any help is much appreciated. Thank you