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:

379,559

Downloads of v 0.6.8.0:

896

Last Update:

30 Jun 2016

Package Maintainer(s):

Software Author(s):

  • Rob Reynolds

Tags:

chocolatey package automatic updater

Chocolatey Automatic Package Updater (for package maintainers)

This is not the latest version of Chocolatey Automatic Package Updater (for package maintainers) available.

  • 1
  • 2
  • 3

0.6.8.0 | Updated: 30 Jun 2016

Downloads:

379,559

Downloads of v 0.6.8.0:

896

Maintainer(s):

Software Author(s):

  • Rob Reynolds

Chocolatey Automatic Package Updater (for package maintainers) 0.6.8.0

This is not the latest version of Chocolatey Automatic Package Updater (for package maintainers) available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Pending


Verification Testing Pending


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'" --version="'0.6.8.0'" [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'" --version="'0.6.8.0'" 
$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.8.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.8.0'
end

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


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

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


package { 'chocolateypackageupdater':
  ensure   => '0.6.8.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 by moderator dtgm on 30 Jun 2016.

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://github.com/chocolatey/chocolatey/wiki/AutomaticPackages 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
try { 

  $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 
  $installFromDir = Join-Path $toolsDir 'chocopkgup' 

  $binRoot = Get-BinRoot
  $installDir = Join-Path $binRoot 'ChocolateyPackageUpdater'
  Write-Host "Adding `'$installDir`' to the path and the current shell path"
  Install-ChocolateyPath "$installDir"
  $env:Path = "$($env:Path);$installDir"
  
  if (![System.IO.Directory]::Exists($installDir)) {[System.IO.Directory]::CreateDirectory($installDir)}
  Copy-Item "$($installFromDir)\*" "$installDir" -Force -Recurse

  Write-ChocolateySuccess 'ChocolateyPackageUpdater'
} catch {
  Write-ChocolateyFailure 'ChocolateyPackageUpdater' "$($_.Exception.Message)"
  throw 
}
tools\chocopkgup\chocopkgup.exe
md5: B5190A83F9DA1F99EEAEBD69598B9751 | sha1: 204A11386CC59D46B12431EF70301433C2F8DE48 | sha256: E216E24FA63AE04DD7BA7F4ACFCA4C40010CD1F15C174FFD2CDE6D481BFF7DE7 | sha512: 7D3EC8A48874E3257471F0562CB86B6F613972EF825E7977EE7F7584DB1D130D137686231EAEFFA25114E285F36A6F4E9DE9F56A9BFCE99A6D88F24CE1659ED9
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"/>
  </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" />
  </appSettings>
</configuration>
tools\chocopkgup\chocopkgup.exe.ignore
 
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="34f134e4-9277-4a5c-8b75-ce5a99b48461" expiration="2017-01-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>mP9BFYmKupMJC5fOPNn5pVBHDgk=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>M0rejYPzK8MKVBOR9+tsGcMQgQ1Iy1jQd68Dee7pm/KVbuFrilRNmBsU8QdgNsogbcMq4O2xKyuaPvOxIGy9frraz5kFHPECZZLjJMcLsLzZFEpe0EdjUQ/5VBtf2I3PGE360TwA/IOGaX5+6ba3gjzKITjajmrcWv1r0CNaE6s=</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 2535 Tuesday, January 3, 2017 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.11.0 3150 Monday, August 22, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.10.0 528 Monday, August 22, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.9.0 692 Thursday, August 18, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.8.0 896 Thursday, June 30, 2016 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.7.0 1881 Thursday, December 31, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.6.0 1959 Tuesday, June 30, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.5.0 2046 Wednesday, February 18, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.4.0 1464 Thursday, January 1, 2015 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.3.0 591 Wednesday, December 31, 2014 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.2.0 2534 Monday, June 30, 2014 Approved
Chocolatey Automatic Package Updater (for package maintainers) 0.6.1.0 1786 Tuesday, October 22, 2013 Approved
ChocolateyPackageUpdater 0.6.0.0 597 Tuesday, October 22, 2013 Approved
ChocolateyPackageUpdater 0.5.6.0 1480 Sunday, February 24, 2013 Approved
ChocolateyPackageUpdater 0.5.5.0 655 Sunday, February 24, 2013 Approved
ChocolateyPackageUpdater 0.5.1.0 781 Thursday, January 3, 2013 Approved
ChocolateyPackageUpdater 0.5.0.0 780 Saturday, September 29, 2012 Approved

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