win_chocolatey does not update programs/features list on the windows target os

Hi cheers,

When using win_chocolatey module to deploy a package, it install the package but do not update programs/features list on the OS.Installing directly with choco do not have this behaviour

Is anyone can confirm this behaviour.

Can it be a bug to report ?

regards

Hi, am not a user of Chocloatey yet but have been doing a lot of .msi installs … the Progs/Features screen seems to automatically refresh sometimes but not always. Could it be that ? Regards, Straff

The win_chocolatey module just calls choco install just like you would do locally. There’s no reason that I can think off that would not have it appear in the list. I use win_chocolatey and can verify that most of the packages I install appear in that list. The ones that don’t aren’t actually programs so I don’t expect them to appear there.

If you are seeing this behaviour, please share the package name so we can try and verify whether it’s a bug with the module or something else.

Thanks

Jordan

Hi, Did your problem get solved? Another possibility is that if the account being used to install software is different to the one looking at “Programs and Features” / “Uninstall Programs” and that “ALLUSERS=1” (or some sort of equivalent) was not specified (either as an arg to win_package or baked into the .msi package itself as a default) then it won’t show up. I’ve been caught out by this before. Just a thought.

Hello,

no problem is not really solved.
But as you mentionned, sometimes, list is updated, i have to check this with my system admins team.
The package is a custom package and params in the chocolateyinstall.ps1 are
silentArgs = “/qn /norestart /l*v "$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log”"

ok, you could check that MsiInstall.log for value of ALLUSERS - if it’s not ‘1’ and you are installing via a different account to that for viewing Progs/Features then it makes sense.
You could try adding ALLUSERS=1 as a property/arg and see what you get

Regards, Straff