Solved

How can I make my setup project to install .NET framework without asking for confirmation from the user?

Posted on 2008-10-07
5
620 Views
Last Modified: 2013-11-07
Hi
I am making a setup project for my c# application in visual studio 2005. When I run the setup on a machine that .net framework is not installed on, the setup start bothering the user with a confirmation for installing .net framework and then some questions during installation which I don't like.
How can I make my setup project avoid asking any confirmation if it needs to install .net framework.
A link to some good samples would be appriciated.
0
Comment
Question by:Elham_Seif
  • 2
  • 2
5 Comments
 
LVL 13

Expert Comment

by:SameerJagdale
Comment Utility
check the launch conditions in setup project. and set the installURL property to the folder that will contain the dotnetruntime.. you can add this runtime as a part of setup project.
0
 

Author Comment

by:Elham_Seif
Comment Utility
I already changed the installURL to dotnetfx.exe in my setup folder. But the message property of the launch condition can't be empty and again needs confirmation.
.... If I add the runtime as a part of my project, it'll always run even if .net framework is already installed on target computer.
Please pay attention to my question. I'd like .net framework to be installed on target compute if it's needed and I'd like it to be installed without showing any message which needs confirmation.
0
 
LVL 13

Expert Comment

by:SameerJagdale
Comment Utility
create a custom action then
0
 
LVL 15

Accepted Solution

by:
angus_young_acdc earned 500 total points
Comment Utility
I think the following link may help you achieve what you want.

http://www.codeproject.com/KB/dotnet/clickOnce.aspx

It also has plenty of comments from people trying to create an installer with the .Net framework in it.
0
 

Author Closing Comment

by:Elham_Seif
Comment Utility
It's a good link. Actually, I found it myself before you introduce it to me but the points are yours.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now