📝 NOTE Originally posted on Puppet's blog. Reposted with permission.
Sometimes creating packages from scratch can be an involved process. Not all software installers are created equal (and not all are easily automated either)! Thankfully there is already a tremendous resource you can use to make the process of getting your software all packaged up even smoother.
On chocolatey.org, you will find packages with all of the install logic you need to automatically install your software. However, many of these publicly available packages also rely on software that is available from official distribution points because they are subject to software licensing and copyright law. Unless you’re granted the right to distribute the software via the license, you can’t redistribute it publicly. These laws do not apply when you use internal packages, and that is a good thing!
Why? Downloading software from the internet creates a failure point because it may not be available, the software vendor site could go down, etc. With internal packages, you don’t have to worry about any of that. You can create internal packages and embed the software directly in the package and/or use internal file shares.
This is where recompiling packages comes in. Recompiling a package lets you take an existing package and internalize all of the resources to embedded/internal resources so you can reuse the install logic without the hassle of downloading stuff from the internet. This guarantees complete control, trust, reliability, and repeatability of a package for organizations that have a low tolerance for production issues.
Creating your own recompiled packages is easy. In fact, we already have documentation that walks you through the process step by step!
Recompiling a Chocolatey package at a high level involves:
- Downloading and unpacking the existing package as a zip file.
- Downloading the resources the package has and putting them in the package.
- Editing the install script to point to the internal software.
- Packaging it back up.
- Pushing it to your internal server.
And that’s it!
Recompiling is a great way to quickly get your organization up to speed on managing software with Chocolatey packages . When you are ready, we have documentation that takes you through all of the necessary steps. We also have Package Internalizer which will do this for you automatically.
- #news 27 Number of post with tag news
- #press release 19 Number of post with tag press release
- #chocolatey for business 7 Number of post with tag chocolatey for business
- #how to 5 Number of post with tag how to
- #packaging 4 Number of post with tag packaging
- #announcements 3 Number of post with tag announcements
- #conference 3 Number of post with tag conference
- #deployments 3 Number of post with tag deployments
- #infrastructure 2 Number of post with tag infrastructure
- #status 2 Number of post with tag status