How to deploy a dotnet win application WITHOUT DotNetFramework 2.0

Hello.I created a setup and deployment
project for my windows application and deployed in another machine which
doesn't have the framework 2.0 and it is asking for download of
framwork. I tried to include the prerequisites along with my application
but it is costing heavy memory nearly 22 mb where my application is
about 6 mb. Can you tell me is there any way to create a setup
application including neccessary files only from framework.



Answer this question

How to deploy a dotnet win application WITHOUT DotNetFramework 2.0

  • Nandagopal

    or you can use the download from prequisits website.

    I have a 400kb app that needs dot net 2 and I dont think that making it 22.4MB is worth it lol.

    so they download the 400kb app and as long as the bootstrapper that checks client computer for dot net 2 is run (i.e the setup.exe file and not the .deploy install file) It will check for dot net 2 and if not installed with download it from MS and install it then install your app.

    saves you distrubuting a massive file


  • GeorgeIT

    I agree. Download is good solution, there is at least 2 reasons for this:

    • MS is provider of .NET 2.0 and it's better take download from them directly
    • your setup package is smaller by 20 megs

    But if you plan to ship setup with CD or other non-internet connected solutions - you have to deal with 20 megs. And final user always have to deal with such size, even if he needs only small & simple app. Also not every user have DSL, sometimes they are on 28.8kbps modems... 1.5 hours to load and start small app



  • ElroySkimms

    Hi!

    .NET setup is about 22MB. You can't fix anything here.



  • How to deploy a dotnet win application WITHOUT DotNetFramework 2.0