narasimhakashyap
Posts: 16
Joined: Thu Dec 27, 2012 3:36 pm

.Net framework not installed on Windows XP SP2

Hello,

I've created a setup using Advanced Installer. The prerequisites for us are as follows:
- Windows Installer 3.1 if the target machine has an older version of Windows XP
- .Net Framework 2.0, 3.0 and 3.5 if not installed
- Windows XP Service Pack 3 if the target machine OS is XP SP2
- .Net Framework 4.0
- MS SQL Express 2005 SP4
- SAP Crystal Reports Runtime Engine for .Net 4.0
All the prerequisites are installed perfectly except for .net Framework 4.0. I've tried on machines having Windows XP SP3, Vista and 7 where it's installed perfectly. But on a machine having XP SP2, the .Net Framework 4.0 is not getting installed. Can you help me in finding out where I'm going wrong.

Thanks in advance.
Narasimha Kashyap
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: .Net framework not installed on Windows XP SP2

Hi Narasimha,

It looks like .Net Framework 4.0 does not work on Windows XP SP2. You can find a list of system requirements on the Microsoft .NET Framework 4 page.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
narasimhakashyap
Posts: 16
Joined: Thu Dec 27, 2012 3:36 pm

Re: .Net framework not installed on Windows XP SP2

I've included the prerequisites in the same order that I've mentioned. My assumption is the prerequisites are installed in the same order what we have given in the Prerequisites Tab. Please correct me if I'm wrong. And one more thing. The system is restarted after SP3 is installed and I thought the installer would install .Net Framework 4.0 when it resumes the installation after restart. Please guide me.

Thanks.
Narasimha Kashyap
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: .Net framework not installed on Windows XP SP2

Hi,

When the installation package is launched the conditions found in the "Install conditions" tab are verified for every prerequisite and based on those conditions the prerequisite is marked or not for installation.

In your case, after the "Windows XP Service Pack 3" prerequisite is installed and the system is restarted, the ".NET Framework 4.0" prerequisite installation does not start because it was already unmarked for the installation when its install conditions were verified and SP3 were not installed.

As a workaround for this you can go in the "Install conditions" tab of the ".NET Framework 4.0" prerequisite and check all the "Windows XP x86" checkboxes from the "Supported Windows Versions" list, but in this case the "Windows XP Service Pack 3" prerequisite must always be installed before the ".NET Framework 4.0" prerequisite on a non-"Windows XP Service Pack 3" system.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”