ChocolateyInstallPS1 - Nilzor/chocolatey GitHub Wiki
ChocolateyInstall.ps1
Chocolatey uses powershell and will look for this file in the package. If it finds it, it will execute the contents of the file, attaching the helper modules. Check out the Helper Reference for more information on each of the helpers you can include.
It really is just powershell, so you can use regular powershell here and it should run fine.
Example?
This is what it takes to install StExBar:
Install-ChocolateyPackage 'StExBar' 'msi' '/quiet' 'http://stexbar.googlecode.com/files/StExBar-1.8.3.msi' 'http://stexbar.googlecode.com/files/StExBar64-1.8.3.msi'
The Install-ChocolateyPackage helper uses the url, msi, and silent args to download and silently install and update stexbar.
Templates?
The latest templates are in Chocolatey/ChocolateyTemplates.
Check out the main one
For getting these setup with WarmuP for moving really fast, review the Templates ReadMe