Open tnyard opened 1 month ago
I am working on bring up my own winget-cli-restsource repository, but that has been delayed and I would like to start using winget format to prepare for when I get the repository in place.
Edit: I might have misunderstood the other Issue.
This could also be useful for testing a large download - could be downloaded once then installed and uninstalled numerous times. Might also be possible to do for large dependencies, and speed up validations.
Description of the new feature / enhancement
I would like to be able to install a Winget application on an offline computer (not connected to the internet). example:
Download the package with the following command (on a computer connected to the internet) Winget download Winmerge.winmerge--download-directory c:\software --Scope machine
Copy the files downloaded to c:\software to the offline computers c:\software (Yaml file and program install file)
run the command "winget settings --enable LocalManifestFiles" to enable installing with Yaml files.
install the winget application with "winget install --manifest c:\software\WinMerge_2.16.40_Machine_X64_inno_en-US.yaml"
Proposed technical implementation details
another switch for a location of downloaded winget files, and if they don't exist or don't match the hash try to download.