Page 1 of 1

.NET 2.0 does not install if .NET 4 is already installed

Posted: Tue Mar 27, 2012 4:07 pm
by frankv
I have two applications that both use InstallAware.

Application A requires:

Microsoft .NET Framework 2.0 with Service Pack 2
Microsoft .NET Framework 2.0
Microsoft .NET Framework 3.0 with Service Pack 2
Microsoft .NET Framework 3.0

Application B requires:

Microsoft .NET Framework 4
Microsoft .NET Framework Client 4 (x64)
Microsoft .NET Framework Client 4

If I install B before A on a fresh Windows XP SP3 machine I get the following error when attempting to install A:

".NET Framework 2.0 could not be installed. Please use Windows Update to manually install this update on your system."

The presence of .NET 4 seems to be what is triggering the problem. But if I download the standalone .NET Framework 2.0 installer from Microsoft and run it then install A proceeds successfully.

I think the installer for application A was built prior to InstallAware 9 so maybe this issue is fixed in a later version of InstallAware. I have only witnessed the issue on Windows XP SP3.

-Frank

Re: .NET 2.0 does not install if .NET 4 is already installed

Posted: Wed Mar 28, 2012 11:47 am
by FrancescoT
I will check it!

Regards

Re: .NET 2.0 does not install if .NET 4 is already installed

Posted: Fri Aug 31, 2012 9:52 am
by fticcheng
Has there been any resolution with this issue and if so what is it? This has just been discovered in our testing environment for our IA installer with .net framework 2.0 as a pre-req install.

The current workaround seems to be either manually remove .net framework 4.0 before using our IA installer or manually installing .net framework 2.0 to bypass the pre-req.

Current IA version is 2012 moooya.9.26.11

Re: .NET 2.0 does not install if .NET 4 is already installed

Posted: Fri Aug 31, 2012 11:02 am
by FrancescoT
Dear Frank,

Actually, NET frameworks runtimes has been extensively updated with the new InstallAware NX release.
I personally tested it and currently, the problem does not occur.

Regards

Re: .NET 2.0 does not install if .NET 4 is already installed

Posted: Mon Nov 05, 2012 7:39 pm
by tofutim
I see this error in InstallAware 15 when installing .NET 2.0 SP2 x64.

Re: .NET 2.0 does not install if .NET 4 is already installed

Posted: Tue Nov 06, 2012 9:24 am
by FrancescoT
Dear Tofutim,

I just tested and it works fine.

Please verify that your project is not using an old version of the net installer script.
If so, uncheck those runtimes in your project, remove the corresponding the net scripts from the project folder and then add once again the runtimes.

Please don't use different topic for the same question.

Regards