Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: provide installer extraction path option #483

Open
widsuoids opened this issue Jul 11, 2023 · 1 comment
Open

Request: provide installer extraction path option #483

widsuoids opened this issue Jul 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@widsuoids
Copy link

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.

@cameronkroeker
Copy link
Contributor

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 cameronkroeker added the enhancement New feature or request label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants