Another developer (who is gone now) told me to put "dotnetfx.exe" in my zip
file, in the same folder as my setup.exe, setup.msi, and setup.ini files.
He said to change one line in the INI file:
InstallUrl=dotnetfx.exe
I did that, zipped up the folder, and gave the ZIP file to a beta tester.
She reported back that it said:
"this setup required the.net framework version 1.1.4322. Please intall the
.net framework and run this setup again. The .net framework can be obtained
from the web. Would you like to do this now"
Why would it do that? That sucks. And worse, she ended up installing it
from the internet which was slow.
Now, this MS article says to do 101 other things to distribute the framework
with your app, but my other developer didn't say to do this.
http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/default.aspx?pull
=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp
I'll do all that if I must but that sounds like a real pain. Can someone
please give me the shortest way to fix this problem and still have the
setup.exe install the framework if necessary?
Sijin Joseph - 09 Sep 2004 07:37 GMT
Hi,
That guide describes the best possible ways to deploy .Net framework
with your apps.
In fact the InstallUrl method is also described correctly in the document.
Let me know if you have some problems while using the methods described
above.
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
> Another developer (who is gone now) told me to put "dotnetfx.exe" in my zip
> file, in the same folder as my setup.exe, setup.msi, and setup.ini files.
[quoted text clipped - 21 lines]
> please give me the shortest way to fix this problem and still have the
> setup.exe install the framework if necessary?
AFN - 09 Sep 2004 08:02 GMT
but I DO have a problem...
ERROR: "this setup required the.net framework version 1.1.4322. Please
intall the
.net framework and run this setup again. The .net framework can be obtained
from the web. Would you like to do this now?"
I want it to install the framework automatically.
> Hi,
>
[quoted text clipped - 29 lines]
> > Now, this MS article says to do 101 other things to distribute the framework
> > with your app, but my other developer didn't say to do this.
http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/default.aspx?pull
=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp
> > I'll do all that if I must but that sounds like a real pain. Can someone
> > please give me the shortest way to fix this problem and still have the
> > setup.exe install the framework if necessary?
Brian P. Hammer - 09 Sep 2004 17:33 GMT
AFN,
There is a little more than just adding that line to the ini file. Read the
article and it gives you all the steps required to eliminate the error.
The simple question is does the ini point back to the setup.msi package and
is your user running the bootstrapper or the application setup? They have
to run the bootstrapper unless you have the bootstrapper plug-in. The
article goes into detail about this.

Signature
BRIAN HAMMER
> but I DO have a problem...
>
[quoted text clipped - 55 lines]
>> > please give me the shortest way to fix this problem and still have the
>> > setup.exe install the framework if necessary?
AFN - 09 Sep 2004 22:20 GMT
The user is clicking the "setup.exe" created by VS2003. I don't know jack
about the bootstrapper and all I know is that I want setup to install .NET
framefork if needed. Thanks to all the generosity here, I now have about
20 articles to read. Is there just a simple couple steps someone can say
is best for my simple needs? If I read about 10 different ways, I don't
know the difference. I just want it to install the .NET framework when a
user clicks my "setup.exe".
> AFN,
>
[quoted text clipped - 58 lines]
> > framework
> >> > with your app, but my other developer didn't say to do this.
http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/default.aspx?pull
=/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp
> >> > I'll do all that if I must but that sounds like a real pain. Can
> > someone
> >> > please give me the shortest way to fix this problem and still have the
> >> > setup.exe install the framework if necessary?
Charles Collins - 10 Sep 2004 15:02 GMT
There is no way to get the VS2003 setup.exe to install the framework because
it needs the framework to run. That is what the bootstrapper does. Take
the time to read the article. Your only other option is to use a different
install builder that is capable of installing the framework (installshield,
etc..).
> The user is clicking the "setup.exe" created by VS2003. I don't know
> jack
[quoted text clipped - 81 lines]
> the
>> >> > setup.exe install the framework if necessary?
Herfried K. Wagner [MVP] - 09 Sep 2004 12:53 GMT
* "AFN" <DELETEnewsgroupCAPSaccount@yahoo.com> scripsit:
> Now, this MS article says to do 101 other things to distribute the framework
> with your app, but my other developer didn't say to do this.
[quoted text clipped - 4 lines]
> please give me the shortest way to fix this problem and still have the
> setup.exe install the framework if necessary?
Some information on distributing the .NET Framework in a setup package:
Using Visual Studio .NET 2003 to Redistribute the .NET Framework
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp>
Plug-In:
<URL:http://groups.google.com/groups?selm=z2an4EnoDHA.2012%40cpmsftngxa06.phx.gbl>
Bootstrapper:
<URL:http://msdn.microsoft.com/vstudio/downloads/tools/bootstrapper/>
Microsoft Visual Studio .NET 2003 Bootstrapper Plug-In
<URL:http://www.microsoft.com/downloads/details.aspx?FamilyID=627921a0-d9e7-43d6-a293
-72f9c370bd19>
<URL:http://workspaces.gotdotnet.com/vsboot/> (old URL)
Download
<URL:http://www.gotdotnet.com/community/workspaces/newsitem.aspx?id=2f8f0a23-f529-415
8-8e0a-d187d16f41f1&newsId=1981>
Framework 1.1:
Redistributing the .NET Framework 1.1
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/redistdeploy1_1.asp>
.NET Framework 1.1 Deployment Guide
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetframedepguid1_1.asp>
.NET Framework 1.1 Redistributable Prerequisites
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/NETFx1Redistreq1_1.asp>
.NET Framework Redistributable Package 1.1 Technical Reference
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetfxref1_1.asp>
Framework 1.0:
.NET Framework Deployment Guide
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetframedepguid.asp>
Using Visual Studio .NET to Redistribute the .NET Framework
<URL:http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy.asp>

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/