This setup required .net framework version 1.1.4322 but you have .Net framework v2.0

If you try to install an application with the MSI installer and you only have.Net Framework 2.0 installed you sometimes get a message: “This setup required.net framework version 1.1.4322. Do you want to download it now?”.

!(/images/pavelka/69425/ff9705e6-requires_small_thumb1.jpg)

The error is resulting from a two custom actions inside the msi file: DIRCA_CheckFX and VSDCA_VsdLaunchConditions.

If you delete those actions from the MSI file the installer won’t check for the Net Framework.

Editing of an msi file is possible with the help of Orca.

Orca is a Microsoft utility for modifying and validating Windows Installer packages. You can use Orca to open and modify MSI files. Orca is included in the or you can download Orca directly from.

If you open the msi file with Orca navigate to the Custom Action Node and delete those two actions. ( Drop Row from Context Menu)

!(/images/pavelka/69425/c229273d-req2_small_thumb.jpg)

Save the msi file and you should be ready to go.

If you still can’t install you can delete CheckFx and VsdLaunchConditions from the InstallUISequence and InstallExecuteSequence tables.

The installed application will most likely run without problems. But there are (seldom) cases where an application developed for 1.1 won’t run with 2.0.

This article is part of the GWB Archives. Original Author: Hannes Pavelka

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.