.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 11th, 2004, 01:16 PM
jdcompute jdcompute is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 jdcompute User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Including dotnetfx.exe

Is there anyway to include the dotnetfx.exe in your .msi
package or setup.exe file instead of having it as a seperate
installation?

Reply With Quote
  #2  
Old March 22nd, 2004, 03:41 PM
StudioReview StudioReview is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 30 StudioReview User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Thumbs up

You must use the bootstrap setup from Microsoft. It's pretty straightforward and you really only edit a config file. After that it will seamlessly install .NET if needed and ignore if not. Of course, including it will make your installation 20mb+ bigger.

Get the bootstrap sample from here:
http://www.microsoft.com/downloads/...&displaylang=en

I've done this and it works.

From MSDN:
Creating a Single Setup Project to Install a .NET Framework Application and Dotnetfx.exe
The purpose of the Setup.exe Bootstrapper sample is to demonstrate how to create a single setup program that, when launched, installs the .NET Framework redistributable package Dotnetfx.exe, if necessary, and then installs a .NET Framework application. This sample bootstraps Dotnetfx.exe and a .NET Framework application's Microsoft Windows Installer-based setup program (.msi file). This sample is written in unmanaged code because it must be able to run on a computer where the .NET Framework is not installed. You can download a precompiled version of the Setup.exe.

The Setup.exe Bootstrapper sample performs the following actions:
  1. Checks to see if a specified version of the .NET Framework is installed on the target computer.
  2. If the specified version is not installed, it launches a silent installation of Dotnetfx.exe and, if necessary, upgrades to Windows Installer 2.0. A computer reboot might be required.
  3. Installs the host .NET Framework application. If a computer reboot is required, it is suppressed until the host application is finished installing.
__________________
Tivo Codes, Hacking the Tivo, and Adding a Second Drive to Your Tivo.
All this information at www.TivoSpy.com !

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Including dotnetfx.exe


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT