-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Define Download Directory #1208
Comments
We have a change coming in the next release to change the download location to %TEMP% #1146. |
This looks like it might be the same thing as #970. |
This would not help us as the temp directory is the main directory for malicious scripts and programs and therefore also blocked by AppLocker. Like I said, everyone with AppLocker needs a configuration option for the path from which the exe, msi and so on will be started. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@denelon I stubled across this issue as well. In my opinion this is not the same as #970. This issue is about the temp folder that is used by winget to download and run the installer. #970 is about the target directory of the software to be installed into. Both of these locations are blocked by AppLocker software, since all of them base in %LOCALAPPDATA%. The applications are installed in \Programs\ and the installer is run from \Temp. As a target install directory I can image people might want to install into the C:\Program Files\ folder, or something else. This location a user will not want to use for the temporary data stored by winget during installation, which this issue is about. I can image that you'd might to set this folder to C:\Temp\ or something different. |
@paalders I'll discuss this with the team. If there aren't any major blocking reasons associated with a user specified location, I'll re-open the Issue and mark the appropriate comments "No longer applicable". If not, I'll share the reasons so we can look for alternative solutions. One of the benefits we might lose is the ability to use the "Disk Cleanup" behavior associated with "Temporary Files". |
We still have some concerns regarding long path names, but it looks like this is a different ask than what I initially understood. |
@denelon Whats the status about this issue. We are still struggling with winget because we cannot set the temporary folder for the package content. |
We will be tackling standalone .exe and .zip packages in 1.3. I'm highly expecting we will be looking at how we handle paths for those types of packages. It will likely make sense to bring this in with that effort. We will also need to include the information via |
@michha this didn't make the cut for 1.3, and .zip will be moved to 1.4 as well. I'll put this into the 1.4 milestone to see if the team can fit this in. |
This didn't make it in v1.4? |
Sadly, no. We did get .zip support included in 1.4, but there wasn't enough time to look at supporting alternate paths for where we download and run installers from. |
In the latest 1.5 preview I couldnt find any reference to this issue. We really need an environment variable to give winget a hint for the temporary folder it should use. |
[Policy] Area-Settings |
Brief description of your issue
Expected behavior
We should be able to set the package directory where the packages are downloaded and executed.
A option within
winget settings
should be added to override the default location.Actual behavior
With AppLocker enabled, we can not use winget, because executables cannot be run inside the users profile path.
Environment
The text was updated successfully, but these errors were encountered: