I added the .NET Framework 4 to my installation package as a prerequisite. When installing this package, an error message states that installing .NET 4 requires the WIC "Windows Image Processing Component", which I also added as a prerequisite.
But the installation failed due to the fact that a newer version of this component is already installed.
I want to ask how to check if this WIC is installed or not, and skip the installation when there is a newer version?
Hadad source share