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
FOLLOW US
Get the latest news in Application Packaging