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

Got a problem you cannot solve? Try here.
frankv
Posts: 3
Joined: Tue Mar 06, 2012 7:35 pm

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

Postby frankv » Tue Mar 27, 2012 4:07 pm

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Wed Mar 28, 2012 11:47 am

I will check it!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

fticcheng
Posts: 3
Joined: Fri May 01, 2009 11:54 am

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

Postby fticcheng » Fri Aug 31, 2012 9:52 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Fri Aug 31, 2012 11:02 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

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

Postby tofutim » Mon Nov 05, 2012 7:39 pm

I see this error in InstallAware 15 when installing .NET 2.0 SP2 x64.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

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

Postby FrancescoT » Tue Nov 06, 2012 9:24 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 41 guests