Replies: 7 comments 6 replies
-
I think one or two settings make a lot of sense here, at least from the perspective of hitting the most pain points. The first would be a The accompanying setting would be the The second portion of the cache, which would be the download only, could be accomplished through a new cache command. If the settings above are implemented, it would only make sense to have commands to manage the cache.
It would be imperative that multiple versions of the same package could be in the cache. It would also be required that file names be unique such that even if the download for two versions would normally result in the same file name, files aren't overwritten unless they are for the same package identifier and version. This would probably involve creating a cache.db file that can correlate file path to PackageIdentifier, PackageVersion, Source, and Retention Period, but specific implementation details can be addressed later. This would address the use case of This would also necessitate an admin setting (and probably a group policy) for
|
Beta Was this translation helpful? Give feedback.
-
wow this is still not a thing? :( Any workarounds in the meantime?? |
Beta Was this translation helpful? Give feedback.
-
Also related question |
Beta Was this translation helpful? Give feedback.
-
Issues I have faced with:
I'd like to have two (or maybe even more sometimes) different stages: downloading and installation. Possible scenarios except solving issues above:
And thanks a lot for WinGet. It is a huge step for Windows ecosystem. |
Beta Was this translation helpful? Give feedback.
-
We currently use the paid version of Ninite. The pro version has some switches (https://ninite.com/help/features/switches.html) like /cachepath which we can specify where installers are located (and it updates them if needed, so other computers can use them) and also /cleancache which removes old versions of installers. |
Beta Was this translation helpful? Give feedback.
-
@denelon We have a usecase with Intune EPM where we wan't to be able to automatically elevate certain installers that require it. At this time it looks like the setup files are removed before EPM is able to validate the file, which crashes the EPM process. An option to configure a time period before the cache is cleared or some sort of |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm new here...
|
Beta Was this translation helpful? Give feedback.
-
We've seen a few issues related to where WinGet downloads installers, and their removal after installation.
*#343
*#2740 (comment)
We've also gotten the explicit ask for a "download" only command:
*#658
Let's have some discussion about what might make sense from an explicit cache management perspective so we can understand the scenarios and requirements a bit better.
Beta Was this translation helpful? Give feedback.
All reactions