Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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:45 PM
Authorized User
 
Join Date: Jun 2003
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to add 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
 
Old November 30th, 2003, 07:28 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can't include dotnetfx.exe with your installer program for your application. It has to be included separately, so simply copy/paste it in the folder/media that you hand over to the customer.

The reason is that you might be giving your client newer builds quite regularly so you dont really want to include the file everytime you produce a new build of your application.

Hope this helps!
Shayan

 
Old November 30th, 2003, 07:29 AM
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can't include dotnetfx.exe with your installer program for your application. It has to be included separately, so simply copy/paste it in the folder/media that you hand over to the customer.

The reason is that you might be giving your client newer builds quite regularly so you dont really want to include the file everytime you produce a new build of your application.

Hope this helps! :)
Shayan





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
Adding Dotnetfx.exe to Windows App installer nbryson VS.NET 2002/2003 2 November 26th, 2003 02:49 PM
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.