We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Hemanth
Posts: 2
Joined: Thu Aug 09, 2012 12:28 pm

What is the Install Condition for the .NET FW 4 Update 4.0.3

Hi All,

Our software needs the Microsoft .NET Framework 4 Update 4.0.3 as a prerequisite (http://www.microsoft.com/en-in/download ... x?id=29053). Can anybody know the Install Condition for the Microsoft .NET Framework 4 Update 4.0.3 prerequisite?

Thank you for helping.
-Hemanth
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: What is the Install Condition for the .NET FW 4 Update 4

Hello Hemanth and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

After I've made a small research I found that in order to install these updates, .Net Framework 4.0 and Windows Installer 3.1 or a later version should be installed on computer target. Also, these updates can be installed only on the following operating systems: Windows 7, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP.

In order to achieve what you want you can try this:
- Go to "Prerequisites" page and add ours "Windows Installer 3.1" and ".Net Framework 4.0" predefined prerequisites.
- Add "Update 4.0.3 for Microsoft .NET Framework 4" package ("NDP40-KB2600211-x86-x64.exe") as prerequisite to your project.
- From "Install Condition" tab -> "Supported Windows Versions" group select the 32-bit and 64-bit versions of the following operating systems: Windows 7, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP.
- From "Install Condition" tab -> "Install Conditions" group select "Install prerequisite based on conditions" option and add the following conditions:
  • Criteria: Registry key exists
    Registry Key: HKLM\Software\Microsoft\Updates\Microsoft .NET Framework 4 Extended\KB2600211

    Criteria: Registry key exists
    Registry Key: HKLM\SOFTWARE\Microsoft\Updates\Microsoft .NET Framework 4 Client Profile\KB2600211
- Enable "Install only if all conditions are false" option.
- Build and run your project.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Hemanth
Posts: 2
Joined: Thu Aug 09, 2012 12:28 pm

Re: What is the Install Condition for the .NET FW 4 Update 4

Thanks Daniel. That really helps.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: What is the Install Condition for the .NET FW 4 Update 4

You're welcome, glad to help.
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”