Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 August 1st, 2003, 10:08 AM
Authorized User
 
Join Date: Jul 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default dotnetfx.exe

WARNING: 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 get this warning when I build my deployment project. I found the file and placed it in my Application folder, but I still get the error everytime. Any suggestions?

Also, do I have to include the libraries when creating a Setup Project for deployment? I can get the Windows Installer to install on other machines, but the program doesn't execute.

Thanks in advance.
Nick Nelson
 
Old August 1st, 2003, 04:12 PM
Authorized User
 
Join Date: Jul 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out.
 
Old August 20th, 2003, 10:33 AM
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Could you share how you solved your problem? I've developped a dreadfully simple form-based app in C# and I'm having the hardest time deploying it on non-.NET systems. Any sites to visit or instructions to follow would be most appreciated!

Thanks,
Mike
 
Old August 21st, 2003, 09:07 AM
Authorized User
 
Join Date: Jul 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What you need to do is download the "bootstrapper_sample.exe" and run it. This will give you 2 files: "settings.ini" and "setup.exe". You also need to download "dotnetredist.exe" and run it which will give you the "dotnetfx.exe". The dotnetfx.exe contains the .Net Framework. The settings.ini will need to be modified to call your project ie. msi = myProject.msi. The following 4 files must be in the release folder "myProject.msi, dotnetfx.exe, settings.ini, and setup.exe. When you run the setup.exe on the target computer, it will check for the .Net Framework. If it is found it will skip the dotnetfx.exe and go right to the myProject.msi. Otherwise it will install the .Net Framework.

Hope this helps. I have recently strayed away from the windows installer and purchased the InstallShield Developer. Much more user friendly.


 
Old October 30th, 2003, 04:56 AM
Registered User
 
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can Any one tell me from where do I find "bootstrapper_sample.exe" , when I build "RELEASE" project I get the following five files : Deploy.msi, InstMsiA.exe,InstMsiW.exe,Setup.exe,Setup.ini.
No where do I find settings.ini and bootstrapper.exe






Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership: aspnet_sql.exe -> aspnet_regsql.exe ricpue BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 9th, 2006 11:40 PM
problem creating .exe from MFC AppWizard(exe) c++ method Visual C++ 0 July 7th, 2006 03:28 AM
PHP5 and php.exe php-cgi.exe php-win.exe freddo Beginning PHP 1 August 16th, 2004 09:28 AM
How to add Dotnetfx.exe to Windows app installer nbryson VB.NET 2002/2003 Basics 2 November 30th, 2003 07:29 AM
Adding Dotnetfx.exe to Windows App installer nbryson VS.NET 2002/2003 2 November 26th, 2003 02:49 PM





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