How to install Chocolatey offline?

Hello,

I’m trying to make a task to install Chocolatey on Windows. I have a remote windows host with the Chocolatey installer package at: C:\updater\ chocolatey.0.10.13.nupkg

I don’t think I can use “win_chocolatey” because it wants the source to be a URL and I think it wants the installer package to be un-zipped as well because it asks for the location of the “install.ps1” script. – so I guess that means I need a task that will:

1 rename chocolatey.0.10.13.nupkg to chocolatey.0.10.13.zip
2 unzip it
3 cd to the unzipped folder where “install.ps1” script lives
4 run “install.ps1”

Does that sound right or am I missing a better way to do this?
Thanks much for any help

I don’t have access to my environment right now, but you’ll have to modify the install.ps1 script following chocolatey’s instruction for offline installation. They have it well published on their site. Hope this leads you the right way