Install icon indicating copy to clipboard operation
Install copied to clipboard

Add OfflineSourceFolder parameter for offline installation

Open rprieto opened this issue 5 months ago • 3 comments

This pull-requests implements an offline installation for Scoop. I documented the usage in the updated README.

  1. Pre-download the following files into a folder of your choice

https://github.com/ScoopInstaller/Scoop/archive/master.zip as ScoopInstaller-Scoop.zip https://github.com/ScoopInstaller/Main/archive/master.zip as ScoopInstaller-Main.zip

  1. Later, run
# From a local folder
.\install.ps1 -OfflineSourceFolder 'C:\Local\Path\To\Zip\Files'

# From a network path
.\install.ps1 -OfflineSourceFolder '\\UNC\Path\To\Zip\Files'

The files are not deleted, which means they can be re-used for other installations. This should address https://github.com/ScoopInstaller/Scoop/issues/3505.

rprieto avatar Sep 03 '24 14:09 rprieto