Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

409,795

Downloads of v 0.6.13.0:

385,080

Last Update:

10 Jun 2017

Package Maintainer(s):

Software Author(s):

  • Rob Reynolds

Tags:

chocolatey package automatic updater

Chocolatey Automatic Package Updater (for package maintainers)

  • 1
  • 2
  • 3

0.6.13.0 | Updated: 10 Jun 2017

Downloads:

409,795

Downloads of v 0.6.13.0:

385,080

Maintainer(s):

Software Author(s):

  • Rob Reynolds

Chocolatey Automatic Package Updater (for package maintainers) 0.6.13.0

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Rob Reynolds. The inclusion of Rob Reynolds trademark(s), if any, upon this webpage is solely to identify Rob Reynolds goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Failed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Chocolatey Automatic Package Updater (for package maintainers), run the following command from the command line or from PowerShell:

>

To upgrade Chocolatey Automatic Package Updater (for package maintainers), run the following command from the command line or from PowerShell:

>

To uninstall Chocolatey Automatic Package Updater (for package maintainers), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade chocolateypackageupdater -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade chocolateypackageupdater -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install chocolateypackageupdater
  win_chocolatey:
    name: chocolateypackageupdater
    version: '0.6.13.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'chocolateypackageupdater' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.6.13.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller chocolateypackageupdater
{
    Name     = "chocolateypackageupdater"
    Version  = "0.6.13.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'chocolateypackageupdater':
  ensure   => '0.6.13.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 09 Jul 2020.

Description

ChocolateyPackageUpdater (chocopkgup) - your automatic package updating solution for package maintainers.

This works in conjunction with ketarin to keep the chocolatey packages you maintain automatically updated. So you don't even have to think about updating a package or keeping it up to date. It just happens. Automatically, in the background, and even faster than you could make it happen. It's almost as if you were the application/tool author.

See https://chocolatey.org/docs/automatic-packages for creating automatic packages.

FAQs

  1. Is it magic? I'm not sure.
  2. Does it work? Is like Schwarzenegger hard to spell?
  3. How does it work? See the project url for more information.
  4. Is it harder than maintaining a package myself? Not really. You pay an initial upfront cost, but it's small compared to maintenance over time.
  5. Is it perfect? Is anything?
  6. Is it free? Yes! As long as you release your packages openly at chocolatey.org, this is free! If you want to use it for private packages, you will need to pony up some $$.

tools\chocolateyInstall.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 
$installDir = Join-Path $toolsDir 'chocopkgup' 
$installDirBackup = $installDir.Replace("\lib\","\lib-bkp\")

$binRoot = Get-BinRoot
$oldInstallDir = Join-Path $binRoot 'ChocolateyPackageUpdater'
$oldInstallDirBackup = Join-Path $binRoot 'ChocolateyPackageUpdater.backup'

if ([System.IO.Directory]::Exists($oldInstallDir)) {
  Copy-Item "$($oldInstallDir)\chocopkgup.exe.config" "$installDir" -Force -Recurse
  Copy-Item "$($oldInstallDir)\chocopkgup.exe.config" "$installDirBackup" -Force -Recurse
  if (![System.IO.Directory]::Exists($oldInstallDirBackup)) {[System.IO.Directory]::CreateDirectory($oldInstallDirBackup)}
  Copy-Item "$($oldInstallDir)\*" "$oldInstallDirBackup" -Force -Recurse -ErrorAction Continue
  Write-Warning "Inspect and delete '$oldInstallDirBackup' - new install location is with package"
  [System.IO.Directory]::Delete($oldInstallDir, $true)
}
tools\chocopkgup\chocopkgup.exe
md5: 29D4E00F763A418DA5CD1651DEC3C59E | sha1: 880C775B7F8B0A308BF151EE260A14173105D02D | sha256: 50417DDD1A945581DB5056E4D85A596869E8753963691FA81DCA56C0CEB820CA | sha512: 86DFFC5217AD97A42C7BE927AB8E8679129675C5DA92947B85DC16A6BBB1AF51867AF515635CFC5533852C9F24E466854A6CD93E00455D08338AA6501379BE00
tools\chocopkgup\chocopkgup.exe.config
<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="PackagesFolder" value="C:\code\mine\chocolateyautomaticpackages" />
    <add key="TokenReplaceFileSearchPattern" value="*.txt|*.nuspec|*.ps1|*.config" />
    <add key="PS1FileToExecute" value="ChocoPkgUp.ps1" />
    <add key="LatestPackageVersionOnly" value="true" />
  </appSettings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
</configuration>
tools\chocopkgup\chocopkgup.exe.config.install.xdt
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <appSettings>
    <add key="PackagesFolder" value="C:\code\mine\chocolateyautomaticpackages" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
    <add key="TokenReplaceFileSearchPattern" value="*.txt|*.nuspec|*.ps1|*.config" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
    <add key="PS1FileToExecute" value="ChocoPkgUp.ps1" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
    <add key="LatestPackageVersionOnly" value="false" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
  </appSettings>
</configuration>
tools\chocopkgup\ketarinupdate.cmd
@echo off
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c%%a%%b)
For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a%%b)

"Ketarin.exe" /silent /log=C:\ProgramData\chocolateypackageupdater\ketarin.%mydate%_%mytime%.log
tools\chocopkgup\License.txt
Chocolatey Package Updater
Copyright (C) 2012-Present RealDimensions Software, LLC ("RDS")
===================================================================
Grant of License
===================================================================
You may use Chocolatey Package Updater with this notice and the provided license.xml file if you use it only to keep packages up to date on (and only on) the feed(s) for http://chocolatey.org. 

The use of feeds other than chocolatey.org ("proprietary feeds") is strictly prohibited.

You can use other means to copy said packages from chocolatey.org to proprietary feeds provided the following criteria are met:
 1. The packages on chocolatey.org are not hidden or otherwise unusable from the site and client(s) that would connect to chocolatey.org. 
 2. Packages are updated first on chocolatey.org prior to being copied to proprietary feeds.
 3. Packages must remain available on chocolatey.org indefinitely or until the package is no longer usable. 
 4. The package must be removed from proprietary feeds at the same time as the package is hidden on chocolatey.org.
 3. This is the only grant of private/proprietary use and subject to change at any time with or without notice.

If you would like to use this for private, proprietary, or other feeds that are not chocolatey.org, you must obtain a personal or commercial license to do so. To do that you must contact RDS at ferventcoder.com.

This software is not free to distribute and should only be packaged on authorized sources, such as but not limited to chocolatey.org. If you would like to distribute this software, you must receive written permission from the software owner.

===================================================================
End-User License Agreement
===================================================================
EULA - Chocolatey Package Updater 

IMPORTANT- READ CAREFULLY: This RealDimensions Software ("RDS") End-User License Agreement ("EULA") is a legal agreement between you("End User") and RDS for all RDS products, controls, source code, demos, intermediate files, media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT(S)") contained with this distribution. 

RDS grants to you as an individual, a personal, nonexclusive license to install and use the SOFTWARE PRODUCT(S) for the sole purposes of keeping packages up to date on the feed(s) of http://chocolatey.org ("chocolatey.org"). By installing, copying, or otherwise using the SOFTWARE PRODUCT(S), you agree to be bound by the terms of this EULA. If you do not agree to any part of the terms of this EULA, DO NOT INSTALL, USE, OR EVALUATE, ANY PART, FILE OR PORTION OF THE SOFTWARE PRODUCT(S). 

ALL SOFTWARE PRODUCT(S) are licensed not sold. If you are an individual, you must acquire an individual license for the SOFTWARE PRODUCT(S) from RDS or its authorized resellers. If you are an entity, you must acquire an individual license for each Developer End User and each Build Machine Running the SOFTWARE PRODUCT(S) within your organization from RDS or its authorized resellers. Both Virtual and Physical Build Machines running the SOFTWARE PRODUCT(S) must be counted in the SOFTWARE PRODUCT(S) licenses quantity of the organization.

===================================================================
Commercial / Personal Licensing
===================================================================
Chocolatey Package Updater is also offered under personal and commercial licenses.
You can learn more about this option by contacting RDS at http://ferventcoder.com
tools\chocopkgup\license.xml
<?xml version="1.0" encoding="utf-8"?>
<license id="d8e9752b-1cd2-443f-bc95-bf25954271bb" expiration="2018-06-02T00:00:00.0000000" type="Standard">
  <name>Chocolatey.org Updates Only - Bound By Licensing Agreement in License.txt File</name>
  <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>muWal+dJlO1USdMsNk/MdpzthwY=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>JDJ2IN7FT+i8u1jQaAyVdhJctN0g35+OCHas+osD7lYmoL/0EGdfsetdmWIGHzgHdCFJnhEEgyEG9F/oWp/A6kQEo98YybXQqv6bWM9fniHG7UjlvB/cUaMy7aZU3J2jlbyQp+3lpBrvIpbgh2KUFqz5IMkWUGmhEhzypWVGJdA=</SignatureValue>
  </Signature>
</license>

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Chocolatey Automatic Package Updater (for package maintainers) 0.6.12.0 2561 Tuesday, January 3, 2017 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.11.0 3174 Monday, August 22, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.10.0 548 Monday, August 22, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.9.0 716 Thursday, August 18, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.8.0 914 Thursday, June 30, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.7.0 1897 Thursday, December 31, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.6.0 1976 Tuesday, June 30, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.5.0 2065 Wednesday, February 18, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.4.0 1484 Thursday, January 1, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.3.0 618 Wednesday, December 31, 2014 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.2.0 2551 Monday, June 30, 2014 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.1.0 1801 Tuesday, October 22, 2013 Approved
ChocolateyPackageUpdater 0.6.0.0 624 Tuesday, October 22, 2013 Approved
ChocolateyPackageUpdater 0.5.6.0 1504 Sunday, February 24, 2013 Approved
ChocolateyPackageUpdater 0.5.5.0 675 Sunday, February 24, 2013 Approved
ChocolateyPackageUpdater 0.5.1.0 799 Thursday, January 3, 2013 Approved
ChocolateyPackageUpdater 0.5.0.0 808 Saturday, September 29, 2012 Approved

v0.6.13

  • Update license to 6/2/2018

v0.6.12

  • Update license

v0.6.11

  • Fix - Allow only keeping the latest of each package in the _output folder. This time with feeling.

v0.6.10

  • Fix - Allow only keeping the latest of each package in the _output folder.

v0.6.9

  • Allow prerelease versions passed in as the version string (- in the version or 1.0.0-beta1) - #12
  • Do not edit the version, pass in --beta - #18
  • Pass in checksumType and checksumTypex64 - #25
  • Only keep the latest files for each package in the _output folder - #5
  • Use the package directory instead of Get-BinRoot - #26

v0.6.8

  • Don't fail on invalid license until after packages are generated
  • Update license

v0.6.7

  • Update license

v0.6.6

  • Update license

v0.6.5

  • Use choco to push packages.

v0.6.4

v0.6.3

  • License does not expire until 06/30/2014

v0.6.2

  • License does not expire until 12/31/2014

v0.6.0

  • License does not expire until 6/30/2014
  • You can define a PS1 file in the package folder to be called by the updater just before packaging. Use it to download files or whatever else might be necessary. The file that it looks for is named ChocoPkgUp.ps1 by default.

v0.5.6

  • License does not expire until 12/31/2013
  • The output folder is now a subfolder "_output" of your package folder, allowing you to commit for others to look at later and provide fix pull requests.

Discussion for the Chocolatey Automatic Package Updater (for package maintainers) Package

Ground Rules:

  • This discussion is only about Chocolatey Automatic Package Updater (for package maintainers) and the Chocolatey Automatic Package Updater (for package maintainers) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Chocolatey Automatic Package Updater (for package maintainers), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus