setup.exe that doesn't require .NET 2.0

I've created a setup project with VS2005 and can run my install fine on systems with .NET 2.0. On many of my customer's systems, they do not want to install .NET. Currently when I run my setup.exe it goes off and tries to install .NET 2.0 first and fails if I don't.

How do I create a setup.exe/.msi that does not require .NET 2.0 on the system doing the install



Answer this question

setup.exe that doesn't require .NET 2.0

  • MetalReview.com

    You go to the setup project properties, click the Pre-requisites dialog, and unselect .NET Fx 2.0

    Unless you are deploying via the web though, or have another package that you do want to install, you might as well either:

    Uncheck "Build Bootstrapper" instead on the dialog

    Just give the customer the built .MSI instead including the setup.exe.

    However, if your app is a VB or C# application, then you must install the .NET Frameworks on the machine in order to run your app. I'm fairly certain .NET Frameworks 1.0 or 1.1 will not be able to run applications built with VS 2005. Unmanaged C++ apps can run without the .NET Frameworks, of course.



  • Mark from NH

    When you click on the prerequisites button you can "The operation could not be completed. The system cannot find the specified file." Do you know what file it is looking for. I tried a re-install of VS.

    Thanks,

    Stuart


  • Syed Atheeque Pasha

    David,

    In case I would to have the .net 2.0 redistributable as light install (Like online mode) Is it possible

    So when the user close the application also the .net 2.0 remove and no footprint remains on client computer, maybe having this advantage can be used on end-user computer which do not want (or the IT) install third party application while trying to simulate web application on their machine, Also in case we have such light .net 2.0 redistributable, we can achieve that no install on registry is required and privileges is out of scope.

    10x.

    Yaron Karni

    www.attunity.com


  • WinFormsUser13232

    No, there's no way to do that. There's only one installer for the .NET Frameworks 2.0, it's a system/platform component that once installed allows a bunch of applications to run on it.

    One of the great things about our bootstrapper is that if the Frameworks is already installed, it won't download or re-install it.



  • setup.exe that doesn't require .NET 2.0