Setup project.net 4 prerequisite

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?

+4
source share
2 answers

You are right..NET depends on this component. You might consider creating your own bootstrapper package using this: http://archive.msdn.microsoft.com/bmg

+1
source

In your package, add a verification condition for the necessary conditions, so that if it is already installed, do not install.

0
source

Source: https://habr.com/ru/post/1387931/


All Articles