Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Including dotnetfx.exe in deployment project

Including dotnetfx.exe in deployment project

Including dotnetfx.exe in deployment project

Upon first pass it appears as thought the dotnet framework is no longer embedded and automatically deployed with VS.NET microsoft installer deployment projects as it was in Release Candidate 1.  I was hoping not to have the user have to run the dotnetfx.exe redistributable separately before they could install the .NET application I have written.

When I compile a deployment project I get the 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 can be redistributed with your setup."

Does any know a way to have the dotnetfx.exe automatically run when a new .NET application is being installed?  Any ideas on other options?


RE: Including dotnetfx.exe in deployment project

No ideas, sorry.  The good news is that Microsoft intends to ship the .NET framework with every product and service pack they can, so in the future you will have some assurance (at least) that it'll already be on the user's machine.  Until then, you'll have to instruct the users on how to install it.

If you're shipping on CDROM, you could create an AutoRun application (using VC++ 6) that would prompt them to run "MyApp Prerequisites".  Sort of like the SQL2000 CD that prompts Windows 95 users to install some prerequisites.

Chip H.

RE: Including dotnetfx.exe in deployment project

It does sound like a little bit of a hack.  But it'll work!

Chip H.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close