IT:AD:Chocolatey:HowTo:Create a Package
Summary
Process
Prerequisites
You'll need:
- The product you want to package
- You'll need to create an xml
*.nuspec
file to describe your package: - You'll need to create a custom
chocolateyInstall.ps1
script file:
Getting your Files together
The Nuspec File
How you create the .nuspec file is described here: IT:AD:Chocolatey:HowTo:Create a Package/Nuspec File
The ChocolateyInstall.ps1
Chocolatey will pull down the package and crack it open looking for a ps1 file called ChocolateyInstall.ps1
file.
How you create the .ps1 file is described here: IT:AD:Chocolatey:HowTo:Create a Package/Chocolateyinstall.ps1