![]() %ChocolateyInstall%\lib\package-name - Package directory.%ChocolateyInstall% - Chocolatey installation directory.1.0 or 2.4.0.16 - except for prerelease packages version is a dot-separated identifier containing a maximum of 4 numbers.Yes, we realize there are a lot of older packages not following this convention. should separate spaces in the software name with - e.g.should contain no spaces and weird characters.id is the package name and should meet the following criteria:.choco push package-name.1.1.0.nupkg -source - nupkg file can be omitted if it is the only one in the directory.Copy the API key from your Chocolatey account.Push the package to the Chocolatey community package repository:.(package-name is the id element in the nuspec) Testing should probably be done on a Virtual Machine."Successfully created package-name.1.1.0.nupkg".You must save your files with UTF-8 character encoding without BOM.Use Universal Silent Switch Finder, which is available as a Choco package: choco install ussf Make sure you figure out the installer's silent mode.tools/chocolateyInstall.ps1 install script. Edit the package-name.nuspec configuration file.Once you figured out all of your options, you should move forward with generating your template.choco new -h will get you started seeing options available to you. ![]() A package may contain an installation script.A package may contain embedded software.You've read What are Chocolatey Packages? first.Problem? Read the detailed version: Creating Chocolatey Packages Prerequisites Follow these steps to create a simple package. ![]() Here's a TL DR quick start version of the package creating tutorial. Creating Chocolatey Packages - TL DR version ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |