I want to add .net framework with a checkbox to the user to ask whether they want the .NET framework to be installed it or not in the setup project can u please help.......
Thank You
Printable View
I want to add .net framework with a checkbox to the user to ask whether they want the .NET framework to be installed it or not in the setup project can u please help.......
Thank You
Don't ask the user. They need it to run your app so just install it if it's not already there. A .NET 2.0 installer will bootstrap the Framework installer by default. If the user doesn't already have the Framework installed it will be downloaded and installed on demand. You can also include the Framework with your installer by selecting the appropriate option when creating your installer.
But i want a checkbox to be added which will let the user decide whether he wants to install it or notQuote:
Originally Posted by jmcilhinney
Why? What point is there in asking the user whether they want to install a component that is essential for the running of the application they are installing. That's like a car dealer asking you whether you want an engine. If the user chooses not to install the Framework then they can't run your app, so why are they installing it?
you can use inno setup for that...
include the .net installer, define component and run if user selects that component... search in the newsgroups
http://news.jrsoftware.org/cgi-bin/h...ords=framework
but why do you want an option for the user...??? it must be installed to run your application...