cut taken from https://github.com/adorepump/chocolatey-package