chocolatey / cChoco

Community resource to manage Chocolatey
Apache License 2.0
154 stars 99 forks source link

cChocoInstaller changes $env:temp #137

Closed mh185277 closed 3 years ago

mh185277 commented 4 years ago

After install by cChocoInstaller InstallChoco { InstallDir = "$env:ALLUSERSPROFILE\Chocolatey" } The $env:temp is changed from C:\Windows\TEMP to C:\Windows\system32\config\systemprofile\AppData\Local\Temp\

The operating system the target node is running OsName : Microsoft Windows 10 Enterprise LTSC OsOperatingSystemSKU : 125 OsArchitecture : 64-bit WindowsVersion : 1809 WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434 OsLanguage : en-US OsMuiLanguages : {en-US}

Version and build of PowerShell the target node is running Name Value

PSVersion 5.1.17763.771 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.771 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

pauby commented 4 years ago

I'm not able to reproduce this in a Windows Server 2016 Vagrant environment using your code above.

pauby commented 4 years ago

Just tried this on a Windows 10 Enterprise Build 18362 and I'm still not able to reproduce it.

pauby commented 3 years ago

I'm going to go ahead and close this now. We can always reopen it later if we get more information that allows us to reproduce.