Click here to Skip to main content
13,831,582 members
Click here to Skip to main content
Add your own
alternative version


8 bookmarked
Posted 8 Feb 2005
Licenced CPOL

Remove .NET dependency from .MSI file

, 8 Feb 2005
Rate this:
Please Sign up or sign in to vote.
Have an MSI that is forcing installation of the .NET Framework even though your application doesn't use it? Here's how to fix it.


I created an application that needs to be deployed to many different machines running many versions of Windows. My app is pretty basic and does not require the .NET Framework. I created a setup project in Visual Studio .NET 2003 and tested it on a new install of Windows 98. The installer popped up a message notifying to me that I HAD to install the .NET Framework before continuing with the installation. I looked for an option to turn off that install condition, but could find none.

I did some research and learned about ORCA, the .MSI editor. I downloaded ORCA, which is part of Microsoft's Windows Installer SDK, and went to work trying to remove the .NET dependency.

After a few minutes of experimentation, I found the solution. I went to Edit->Find and searched for all instances of the string VSDCA_VsdLaunchConditions. I deleted every row that contained that string and saved the .MSI file. Lo and behold! The installer no longer asked for the .NET Framework.

Hope this helps someone out there that's as frustrated as I was.


  • 8th February, 2005: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Al Forno
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

SuggestionWay on how to do in in Visual Studio Pin
Vojtěch Klíma2-Feb-18 7:14
memberVojtěch Klíma2-Feb-18 7:14 
QuestionAll setup projects with cutom dll(.net dependent or not) requires .net framework..? Pin
Amit Bhatia20-Jul-09 23:12
memberAmit Bhatia20-Jul-09 23:12 
GeneralAnd even another method Pin
PCV-Cameroon10-Oct-06 5:00
memberPCV-Cameroon10-Oct-06 5:00 
GeneralRe: And even another method Pin
Al Forno22-May-07 8:56
memberAl Forno22-May-07 8:56 
GeneralA more human way: "how to do it via script" Enjoy Pin
Cohen Shwartz Oren24-Jul-06 3:49
memberCohen Shwartz Oren24-Jul-06 3:49 
GeneralDocumented way for same issue via Visual Studio UI Pin
Gene Gorokhovsky11-Apr-06 8:21
memberGene Gorokhovsky11-Apr-06 8:21 
GeneralRe: Documented way for same issue via Visual Studio UI [modified] Pin
Al Forno24-Jul-06 7:06
memberAl Forno24-Jul-06 7:06 
GeneralRe: Documented way for same issue via Visual Studio UI Pin
howenActions8-Aug-07 20:30
memberhowenActions8-Aug-07 20:30 
GeneralDIRCA_CheckFX and VSDCA_VsdLaunchConditions Pin
Hannes Pavelka15-Feb-06 4:27
memberHannes Pavelka15-Feb-06 4:27 
GeneralRemove .NET dependency from .MSI file Pin
jj_maniz15-Feb-05 14:09
memberjj_maniz15-Feb-05 14:09 
GeneralRe: Remove .NET dependency from .MSI file Pin
Mark Harmon (aka Alforno)15-Feb-05 14:29
sussMark Harmon (aka Alforno)15-Feb-05 14:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web04 | 2.8.190114.1 | Last Updated 8 Feb 2005
Article Copyright 2005 by Al Forno
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid