[GH-ISSUE #110] Feature Request: auto update software using chocolatey #63

Closed
opened 2026-03-02 02:13:14 +03:00 by kerem · 5 comments
Owner

Originally created by @dinger1986 on GitHub (Sep 16, 2020).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/110

Originally assigned to: @wh1te909 on GitHub.

It would be good if software other than Microsoft software can be maintained at the newest version. I have found this https://chocolatey.org/packages/choco-upgrade-all-at#files can it be integrated?

Originally created by @dinger1986 on GitHub (Sep 16, 2020). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/110 Originally assigned to: @wh1te909 on GitHub. It would be good if software other than Microsoft software can be maintained at the newest version. I have found this https://chocolatey.org/packages/choco-upgrade-all-at#files can it be integrated?
kerem 2026-03-02 02:13:14 +03:00
Author
Owner

@wh1te909 commented on GitHub (Sep 17, 2020):

Good request I have been planning to add this eventually. Although chocolatey can only update software that was installed via chocolatey, at least in the free version. I think the paid version can upgrade all software even if it wasn't installed with choco.

<!-- gh-comment-id:694409381 --> @wh1te909 commented on GitHub (Sep 17, 2020): Good request I have been planning to add this eventually. Although chocolatey can only update software that was installed via chocolatey, at least in the free version. I think the paid version can upgrade all software even if it wasn't installed with choco.
Author
Owner

@dinger1986 commented on GitHub (Sep 17, 2020):

Ok.

So a way round that I guess would be to reinstall software with choco, is that possible? I’m sure that could be scripted as well. As in if it’s there already and needs updated reinstall with choco.

I’ll do some reading.

Daniel Lamb

Technical Director

[cid:logo_2094e808-adcc-455a-a5fd-54265dc137fa.jpg]http://www.flonix.co.uk/

Flonix Limited
Willowview
Redgorton
Perth
PH1 3EL

Phone: 01738 500400

http://www.flonix.co.uk

Company Reg: SC341802

[cid:fb_11c7c55d-b85e-4b3e-b8d8-daabbed1905e.png]https://www.facebook.com/Flonixltd/


From: wh1te909 notifications@github.com
Sent: Thursday, September 17, 2020 7:12:30 PM
To: wh1te909/tacticalrmm tacticalrmm@noreply.github.com
Cc: Daniel Lamb | Flonix Ltd daniel.lamb@flonix.co.uk; Author author@noreply.github.com
Subject: Re: [wh1te909/tacticalrmm] Feature Request: auto update software using chocolatey (#110)

Good request I have been planning to add this eventually. Although chocolatey can only update software that was installed via chocolatey, at least in the free version. I think the paid version can upgrade all software even if it wasn't installed with choco.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/wh1te909/tacticalrmm/issues/110#issuecomment-694409381, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXIVHZNDNBVFF25TK5FZLLSGJGQ5ANCNFSM4RPOXRBA.

<!-- gh-comment-id:694423771 --> @dinger1986 commented on GitHub (Sep 17, 2020): Ok. So a way round that I guess would be to reinstall software with choco, is that possible? I’m sure that could be scripted as well. As in if it’s there already and needs updated reinstall with choco. I’ll do some reading. Daniel Lamb Technical Director [cid:logo_2094e808-adcc-455a-a5fd-54265dc137fa.jpg]<http://www.flonix.co.uk/> Flonix Limited Willowview Redgorton Perth PH1 3EL Phone: 01738 500400 http://www.flonix.co.uk Company Reg: SC341802 [cid:fb_11c7c55d-b85e-4b3e-b8d8-daabbed1905e.png]<https://www.facebook.com/Flonixltd/> ________________________________ From: wh1te909 <notifications@github.com> Sent: Thursday, September 17, 2020 7:12:30 PM To: wh1te909/tacticalrmm <tacticalrmm@noreply.github.com> Cc: Daniel Lamb | Flonix Ltd <daniel.lamb@flonix.co.uk>; Author <author@noreply.github.com> Subject: Re: [wh1te909/tacticalrmm] Feature Request: auto update software using chocolatey (#110) Good request I have been planning to add this eventually. Although chocolatey can only update software that was installed via chocolatey, at least in the free version. I think the paid version can upgrade all software even if it wasn't installed with choco. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://github.com/wh1te909/tacticalrmm/issues/110#issuecomment-694409381>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABXIVHZNDNBVFF25TK5FZLLSGJGQ5ANCNFSM4RPOXRBA>.
Author
Owner

@dinger1986 commented on GitHub (Sep 23, 2020):

Reading more into this and testing as well, installing an already installed bit of software with choco allows me to then update using choco, guess then this and my other choco request kinda works together, if you can select multiple software and then reinstall it then having an update button or being able to schedule it would work.

<!-- gh-comment-id:697978038 --> @dinger1986 commented on GitHub (Sep 23, 2020): Reading more into this and testing as well, installing an already installed bit of software with choco allows me to then update using choco, guess then this and my other choco request kinda works together, if you can select multiple software and then reinstall it then having an update button or being able to schedule it would work.
Author
Owner

@bradhawkins85 commented on GitHub (Oct 23, 2020):

@dinger1986
Try this powershell, I am using it to upgrade packages currently.
Basically gets a list of outdated packages then kills the processes for any apps that are outdated to prevent the upgrade from being blocked.

I will work on adding support for force re-installing packages that are installed but not via chocolatey in the future, if its possible.

$outdated = choco outdated
$outdated
if ($outdated -match 'GoogleChrome') {
Start-Process -FilePath taskkill -ArgumentList "-f -t -im chrome.exe"
}

if ($outdated -match 'winrar') {
Start-Process -FilePath taskkill -ArgumentList "-f -t -im winrar.exe"
}

if ($outdated -match 'firefox') {
Start-Process -FilePath taskkill -ArgumentList "-f -t -im firefox.exe"
}

if ($outdated -match 'msedge') {
Start-Process -FilePath taskkill -ArgumentList "-f -t -im msedge.exe"

}

&choco upgrade all -y

<!-- gh-comment-id:715030059 --> @bradhawkins85 commented on GitHub (Oct 23, 2020): @dinger1986 Try this powershell, I am using it to upgrade packages currently. Basically gets a list of outdated packages then kills the processes for any apps that are outdated to prevent the upgrade from being blocked. I will work on adding support for force re-installing packages that are installed but not via chocolatey in the future, if its possible. $outdated = choco outdated $outdated if ($outdated -match 'GoogleChrome') { Start-Process -FilePath taskkill -ArgumentList "-f -t -im chrome.exe" } if ($outdated -match 'winrar') { Start-Process -FilePath taskkill -ArgumentList "-f -t -im winrar.exe" } if ($outdated -match 'firefox') { Start-Process -FilePath taskkill -ArgumentList "-f -t -im firefox.exe" } if ($outdated -match 'msedge') { Start-Process -FilePath taskkill -ArgumentList "-f -t -im msedge.exe" } &choco upgrade all -y
Author
Owner

@dinger1986 commented on GitHub (Apr 18, 2021):

Going to close this as can be looked at once winget is installed

<!-- gh-comment-id:822013912 --> @dinger1986 commented on GitHub (Apr 18, 2021): Going to close this as can be looked at once winget is installed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#63
No description provided.