Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 November 19th, 2003, 12:53 PM
Authorized User
 
Join Date: Jun 2003
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding Dotnetfx.exe to Windows App installer

Hi

I have created a windows application and setup a 'Setup and Deployment' project. When I compile this I get the message -

 'This setup does not contain the .NET Framework which must be installed on the target machine by running dotnetfx.exe before this setup will install. You can find dotnetfx.exe on the Visual Studio .NET 'Windows Components Update' media. Dotnetfx.exe can be redistributed with your setup.'

I have found the file (dotnetfx.exe) but have been unsuccessful in incorporating this with the msi setup file. I have tried various ways but when I go to install it on a client machine the installer wont run because the framework is not on the machine.

Does anybody know how to incorporate the file so that it installs with the setup file.

Thanks in advance.

Nickie

PS - I have posted this in Beginning VB.net also but after posting feel it is probably not relevant for that post. Actually not really sure what post this should go in, so I have put it here.
 
Old November 26th, 2003, 09:40 AM
Authorized User
 
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sempf
Default


If anyone knows differently, please correct me, BUT ...

I am fairly sure that - because of the requirements of the Framework - you can't build dotnetfx into your install. If you navigate to your setup project and include the file in your requirements, you get an error. I did look it up, and there was a reference on MSDN that said it isn't possible, but I can't find it now, of course.



Bill Sempf
Effective Visual Studio .NET
 
Old November 26th, 2003, 02:49 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look here:
http://www.gotdotnet.com/community/w...A-D187D16F41F1

and here:
http://msdn.microsoft.com/library/de...distdeploy.asp

and here:
http://www.codeproject.com/managedcp...asp#xx522027xx

for ideas on how to distribute the framework with your setup.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create installer for VB exe file.. Subuana Visual Basic 2005 Basics 1 May 30th, 2006 04:10 AM
Windows Installer with VS.NET 2003 eelisMX VS.NET 2002/2003 0 July 1st, 2005 07:33 AM
How to add Dotnetfx.exe to Windows app installer nbryson VB.NET 2002/2003 Basics 2 November 30th, 2003 07:29 AM
About "Creating a .NET Windows Installer Part 1" ego Forum and Wrox.com Feedback 1 November 5th, 2003 10:52 AM
dotnetfx.exe nbnelson C# 4 October 30th, 2003 04:56 AM





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