mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #110] Feature Request: auto update software using chocolatey #2005
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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.
@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.
@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.
@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
@dinger1986 commented on GitHub (Apr 18, 2021):
Going to close this as can be looked at once winget is installed