user1872329
user1872329

Reputation: 361

MSI fails to install because of missing .NET 3.5 although .NET 4.5 is installed

I have a problem with msi installer made with WiX. It works on Win 7, but when I run it on Windows Server 2012 R2 it fails. It tries to install .NET framework 3.5 which you can't do that easily on Windows Server. The thing I don't understand is that .NET 4.5 framework is already installed on this machine.

Windows Features - The following feature couldn't be installed

Why does my wix installer look for .NET 3.5?

Is there a way how to disable it?

Thank you.

Update: So I found the problem. One of components used in the installation was taken from an older source and this file wasn't compatible with .Net 4.0 and higher. Thank you all who tried to help.

Upvotes: 0

Views: 973

Answers (1)

Tobias Knauss
Tobias Knauss

Reputation: 3539

Do you need both .net 3.5 and 4.0 installed or just .net 4?

Not exactly what you're looking for, but it says that sometimes .net 3.5 is not fully replaced by .net 4.0 and higher. So you also need .net 3.5

Upvotes: 1

Related Questions