This is a recipe for creating a Chocoatey nuget package for Intel HAXM: https://github.com/intel/haxm
https://community.chocolatey.org/packages/haxm/
Code:
# clone repo from here:
git clone https://github.com/gsmitheidw/haxm.git
# edit the tools\ChocolateyInstall.ps1 to change the url to local repo/smb share for hosting the zip
# Build nupkg:
choco pack
# Copy the nupkg to a default chocolatey source location or install with --source eg:
choco install haxm --source \\YourLocalRepo\share\