all groups > dotnet windows forms > september 2004 >
You're in the

dotnet windows forms

group:

how to force my app to distribute the .NET framework?


how to force my app to distribute the .NET framework? AFN
9/8/2004 11:33:00 PM
dotnet windows forms: 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?

Re: how to force my app to distribute the .NET framework? AFN
9/9/2004 7:02:20 AM
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.



[quoted text, click to view]

Re: how to force my app to distribute the .NET framework? Brian P. Hammer
9/9/2004 11:33:19 AM
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.

--
BRIAN HAMMER


[quoted text, click to view]

Re: how to force my app to distribute the .NET framework? Sijin Joseph
9/9/2004 12:07:08 PM
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



[quoted text, click to view]
Re: how to force my app to distribute the .NET framework? hirf-spam-me-here NO[at]SPAM gmx.at
9/9/2004 1:53:27 PM
* "AFN" <DELETEnewsgroupCAPSaccount@yahoo.com> scripsit:
[quoted text, click to view]

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-4158-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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
Re: how to force my app to distribute the .NET framework? AFN
9/9/2004 9:20:14 PM
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".



[quoted text, click to view]

Re: how to force my app to distribute the .NET framework? Charles Collins
9/10/2004 9:02:43 AM
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..).



[quoted text, click to view]

AddThis Social Bookmark Button