Wrox Programmer Forums
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 13th, 2006, 08:24 AM
Registered User
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default .Net dependency in .Net Setup project

This is the first time for me to create a setup project using .Net setup projects.

It is easy and powerful to use .Net setup project for this issue. Anyway, I search for something and I didn't find much answers on net for my question. After I solved it I decided to send it here, perhaps there is someone else looking for answer of the same question.

Question is, if I made a setup project, the prerequisite of this setup is .Net framework setup on this machine. If not, setup doesn't work. How to embed .Net framework in your setup project?

Create a new C# project? Add New project to the solution of that project. this new Project is .Net setup project. Add the target project primary output.

Now to insert dot net framework setup, write click the setup project in the solution explorer, choose view, Launch Conditions. You will see in the conditions list item called ".NET Framework". Click this icon, in the properties window choose InstallURL, modify it to be the .net framework exe (after you set it with your project)

Eng Ahmed Abu El Ella
Software Developer
Old September 18th, 2006, 09:10 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts

There's no way to install the Framework from a setup project that requires the Framework in order to run. It has to be installed separately. You can give your users the redistributable version and include instuctions for them to run it.

Or you could write an unmanaged setup that can install the Framework. That's not something I can help you with.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Net Access! abhjos Linux 1 May 5th, 2006 06:09 PM
Unable to find dependency (VB.net setup) AlexSu General .NET 0 September 9th, 2005 06:05 AM
setup asp.net dhaywirex Javascript How-To 4 April 2nd, 2004 01:17 PM
How can I setup .Net framework from 1.0 to 1.1 kasie General .NET 1 March 7th, 2004 09:19 AM
.NET setup project launch condition irene_yip General .NET 0 February 25th, 2004 06:18 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.