Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 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 April 30th, 2007, 12:53 AM
Registered User
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Avoid .net frame work installation with setup inst

Hi,

I created a windows application and its working fine.

I've created a set up for it (Setup & deployment application).

The setup is working fine on computers on which .Net or its framework is installed.

But each time I try to install it on a computer with neither .Net nor its frame work installed, it gives me a message "install .net framework..."

Is there a way to develop/install setup applications and run them on computers with no .Net or its frame work, just to run the setup.
 
Old May 1st, 2007, 03:36 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Nope.

The framework is literally the framework. Installing a .NET application without the framework would be like putting up a roof without walls.

-Peter
 
Old May 2nd, 2007, 04:00 AM
Registered User
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for the reply.

1)
The setup is always trying to go online to get the framework, instead is there a way
to say get framework setup from local system "c:..." or giving IP address for setup present on a remote computer.

2)
Is there any way to embedd the installation of frame work in my setup.
What I mean is single setup should install both framework and my setup
one after the other.

Thanks
Kalyan
 
Old May 2nd, 2007, 06:57 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Go here: http://msdn2.microsoft.com/en-us/library/ms994395.aspx

scroll about half way down to the section titled:

"Creating a Single Setup Project to Install a .NET Framework Application and Dotnetfx.exe"

This should get you started.

-Peter
 
Old May 4th, 2007, 06:45 AM
Authorized User
 
Join Date: Dec 2004
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to DZukiewicz
Default

Hi,

The framework is about 22MB in size, so it can be done.

If you are packaging it through the IDE, you can include the dotnetfx.exe with the install if you wish.

Anyone who keeps up with the WindowsUpdates will have this installed, and since .NET 3.0 has been released it may be best getting them to update their computer.

Regards,

Dominic





Similar Threads
Thread Thread Starter Forum Replies Last Post
How Can I Use EXE file without .NET Frame Work Saudan C# 1 August 9th, 2008 05:35 AM
Quiet Installation of prereq's in setup.exe Arsi Visual Studio 2005 1 December 21st, 2007 01:55 PM
how to avoid a frame from getting submitted premnaath ASP.NET 2.0 Professional 1 November 5th, 2007 08:24 AM
installation setup ! anukagni Access 1 October 18th, 2006 06:54 AM
about .net frame work Ramakrishna.G General .NET 8 September 27th, 2004 04:06 AM





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