App Manager updates with Winget

Support forums for the Habitat Automate plugin
Post Reply
Rich.H
Posts: 6
Joined: Wed Dec 04, 2024 1:21 pm

App Manager updates with Winget

Post by Rich.H »

Hi,

I have enabled the new App manger with Winget in Habitat 1.0.1.48.

I have enabled Chocolatey Approved, Chocolatey Installed, Chocolatey Standard Deployment and Use Winget on all workstations on 1 site. Which was the recommended setup for using Winget.

How do I now just update apps for eg, 7-Zip and Notepad++, but not install the app if it is not installed. I understand I need to add the winget versions of the apps into the application list. Do I just enable the app in the list?

I am a bit worried that I may push out/Install an app to all workstations/servers by accident that is not required.

Thanks,

Richard

User avatar
Cubert
Posts: 2645
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: App Manager updates with Winget

Post by Cubert »

If you do not want to have applications auto install when not present on agent. Make sure that at the client level the Auto install box is uncheked. You can then verify any agent by looking at the edf's for Auto install and verify they are unchecked. If the state of unchecked is true then no packages will be pushed to agent. Enabled or not. Enabled at the client level will allow packages to be manually pushed via the plugin is no automation is selected.



Screenshot 2025-01-14 152424.jpg
Screenshot 2025-01-14 152424.jpg (136.31 KiB) Viewed 15282 times

Rich.H
Posts: 6
Joined: Wed Dec 04, 2024 1:21 pm

Re: App Manager updates with Winget

Post by Rich.H »

Thanks for the info.

Will enabling just "Approved Applications Installed" only. allow updates to approved apps to be pushed out?

Thanks,

Richard

User avatar
Cubert
Posts: 2645
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: App Manager updates with Winget

Post by Cubert »

Will have null effect.

They work together but only if the Auto Install Approved Applications is checked first. Then if the "Approved Applications Installed" is checked the system will believe the job was done and completed. No new action on this agent will take place until somthing in the environment changes. At which time the environment will uncheck "Approved Applications Installed" which if the agent has "Auto Install Approved Applications" checked, the system will force agent to retest all currently installed applications against the current Approved applications list. If there is an application missing on the agent, the agent will install the new application and after completion will recheck "Approved Applications Installed".

Rich.H
Posts: 6
Joined: Wed Dec 04, 2024 1:21 pm

Re: App Manager updates with Winget

Post by Rich.H »

Arr ok thanks, got it the wrong way around. If I tick these options as you have previously said will it also install the approved apps if they are not there. Which I am trying to avoid.

Thanks.

User avatar
Cubert
Posts: 2645
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: App Manager updates with Winget

Post by Cubert »

We will always update what ever applications have been installed through Chocolatey. So if you do not check to auto intall approved application the the plugin will only update and not install. If nothing is installed on agent it will update nothing. If agent has previous installs or manual installs then those will be updated during normal update schedules.

Rich.H
Posts: 6
Joined: Wed Dec 04, 2024 1:21 pm

Re: App Manager updates with Winget

Post by Rich.H »

Ok thanks, I will test and see what happens.

Post Reply

Return to “Habitat”