[RESOLVED] Does chef knows if a .EXE package is installed on a windows node or it try to install the .EXE package on every run?

I have noticed chef-client run take the same time on a windows node every time i run it, even tho the package is already installed.

Does chef knows if a .EXE package is installed on a windows node or it try to install the .EXE package on every run?

I used the windows_package resource.

it actually take have of the time.

Looking at the code, it appears that .exe installers are idempotent
One way it determines if a .exe is installed, is it checks the full list of programs available for uninstallation. If the program can be uninstalled, chef assumed it is installed.