Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Make the temp directory configurable #554

Closed

Commits on Aug 8, 2014

  1. Make the temp directory configurable

    Enable users to specify an alternate temp directory in the chocolatey configuration.
    If <tempDir> is not present, then $env:TEMP is used as a default.
    
    This enables companies with IT policies that prevent executing files
    in the %TEMP% directory to continue to use Chocolatey.
    
    Sample Configuration File with value specified:
    
    <?xml version="1.0"?>
    <chocolatey>
        <tempDir>%USERPROFILE%\Temp</tempDir>
        <useNuGetForSources>false</useNuGetForSources>
        <checksumFiles>true</checksumFiles>
        <virusCheck>false</virusCheck>
        <sources>
            <source id="chocolatey" value="https://chocolatey.org/api/v2/" />
        </sources>
    </chocolatey>
    Carolyn Van Slyck committed Aug 8, 2014
    Configuration menu
    Copy the full SHA
    27307df View commit details
    Browse the repository at this point in the history