Reputation: 344
I added .NET Framework 4 to my setup package as a prerequisite. When installing this package, an error reports that installing .NET 4 requires WIC "windows imaging component", which I've also added as a prerequisite.
But the installation failed due to a newer version of this component being already installed.
I want to ask how to check whether this WIC is installed or not and skip installing it when there is a newer version?
Upvotes: 4
Views: 501
Reputation: 2661
At your package add check condition for the prerequisites so that if it is already installed then don't install.
Upvotes: 0
Reputation: 5165
You are correct. .NET does depend on this component. You could consider creating your own bootstrapper package using this: http://archive.msdn.microsoft.com/bmg
Upvotes: 1