arcgis-powershell-dsc icon indicating copy to clipboard operation
arcgis-powershell-dsc copied to clipboard

Request: provide installer extraction path option

Open widsuoids opened this issue 1 year ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

*4.1.0

Affected Resource(s)

Allow to specify an extract installers path other than c:\windows\temp{....} Sometimes it is not possible to write to C:\ or there is not enough free space.

widsuoids avatar Jul 11 '23 14:07 widsuoids

Hi @widsuoids,

This is a great suggestion. The Module uses the GetTempPath() method which checks for the existence of environment variables in the following order and returns the first path found:

  1. The path specified by the TMP environment variable.
  2. The path specified by the TEMP environment variable.
  3. The path specified by the USERPROFILE environment variable.
  4. The Windows directory.

If it is not possible to write to C:\ or there is not a enough space, as a workaround, you can change or set the TMP/TEMP environment variable to a different location and the setups will be extracted to that location.

Screenshot 2023-07-14 at 8 49 18 AM

Thanks, Cameron K.

cameronkroeker avatar Jul 14 '23 15:07 cameronkroeker