|
Subject:
|
Adding Dotnetfx.exe to Windows App installer
|
|
Posted By:
|
nbryson
|
Post Date:
|
11/19/2003 11:53:38 AM
|
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.
|
|
Reply By:
|
sempf
|
Reply Date:
|
11/26/2003 8:40:30 AM
|
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
|
|
Reply By:
|
Imar
|
Reply Date:
|
11/26/2003 1:49:13 PM
|
Hi there,
Take a look here: http://www.gotdotnet.com/community/workspaces/workspace.aspx?ID=2F8F0A23-F529-4158-8E0A-D187D16F41F1
and here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy.asp
and here: http://www.codeproject.com/managedcpp/DotNetSetup.asp#xx522027xx
for ideas on how to distribute the framework with your setup.
Cheers,
Imar
--------------------------------------- Imar Spaanjaars Everyone is unique, except for me.
|