I am installing a msi installer by making use of the windows_package or package resource in Chef.
The problem i am seeing is that, the windows_package or the package resource doesn’t seem to be comparing the versions of the already installed msi package with the current msi package.
As a result of this, there are cases where the current msi package is run even though a higher version of the msi package is already installed. This results in the resource returning a failure exit code.
Is there an easy way to install msi packages where the version check if in built into the chef resource?
I was thinking maybe i could use a powershell script in the guard interpreter or make use of the msi library in ruby
Has anyone ever done this in an easier way?
I am still picking up Ruby, hence using Windows API’s is something i am trying to accomplish.