This answer is based on the output of the following command:
choco outdated
![Output from choco outdated command](https://cdn.statically.io/img/i.sstatic.net/d7ra8.png)
As mentioned in another answer, there is no automatic way in the Open Source version of Chocolatey to update the Chocolatey Package version, based on the version of the application being updated in another way. In a licensed version of Chocolatey, this feature is available.
If you want to do the initial install of an application with Chocolatey, i.e.
choco install paint.net
and then leave the application to update itself, then the best advice would be to pin the package using the pin
command. This would be done with the following command:
choco pin add -n="paint.net"
This will mean that when you run the choco upgrade all
command, assuming that you are using it, that this package will no longer be considered for an upgrade, even if a new version is found. Additionally, the output from the choco outdated
command will change to the following:
![Output from choco outdated after pin command](https://cdn.statically.io/img/i.sstatic.net/pLsIR.png)
If you REALLY want to remove the entry from the choco outdated
report, but you also want to rely on the application's ability to update itself, then you should be able to run the following command:
choco upgrade paint.net --skip-automation-scripts
This tells Chocolatey to upgrade the package to the currently available version, but it will also prevent the execution of the chocolateyInstall.ps1 (and other files) file, which will mean that the application installer will never be executed. As shown here:
![Output from choco upgrade command when skipping automation scripts](https://cdn.statically.io/img/i.sstatic.net/v6xsF.png)
After running the above command, the output of the choco outdated
command then becomes:
![Output from choco outdated after upgrade](https://cdn.statically.io/img/i.sstatic.net/1XaoZ.png)