PDA

View Full Version : .NET Installaion



NewsArchive
06-20-2012, 01:36 AM
In the core pre-requisite section I ahve .NET 3 checked.
I've used the redistributable manager to get the file.
I see during the installer build that it is included.
My installer is about 50 MB so again I know that the .NET installer stuff is
included.

How do I actually get SetupBuilder to go through the process if installing
the needed .NET stuff?

All it does is tell me that .NET 3.5 is needed

I can't seem to find it explained.

Thank you,

Mike

NewsArchive
06-20-2012, 01:37 AM
Follow up...

I have an old XP computer and I uninstalled .NET 3.5.

In Setup Requirement > System Requirements I ahve ".NET Framework
Requirement" checked and 3.5 specified.

The script "rt_dotnetframework3_x86.sbi" has been added to the installer.

When I run my installer it just displays a dialog that .NET 3.5 is required
to continue. The button is [OK] and then the EXE jsut exits.

I just can't find anything that tells me how to get the installer to
installe the .NET 3.5 runtimes. Even looked at the examples.

Frustrating!

Michael Brooks

NewsArchive
06-20-2012, 01:37 AM
Hi Michael,

> In Setup Requirement > System Requirements I ahve ".NET Framework
> Requirement" checked and 3.5 specified.

"The Requirements Visualizer allows you to specify certain machine
environments that your application requires in order to run properly. If
these system requirements are not met, the installation will exit."

You have the above specified and the installer checks for .NET Framework
3.5 -- it does not exist and so the install is terminated. In other words,
your include script to install .NET Framework is never processed ;-)

So remove the "Requirement" and let the installer setup the .NET Framework 3
component.

BTW, there is no include script for .NET Framework 3.5 because this is a
hefty 250 MB redistributable! I would not deploy it along with my
setup.exe. What you can do is to make use of the small (2.8 MB) Microsoft
web downloader (see MS web site) that you can deploy with your install and
then call it to download the package from the Microsoft server. But this
might take some times (hours, depending on the Internet speed).

IMO, it's better to check for .NET 3.5 and if it is not available, open the
standard .NET 3.5 download page from your installer so users can download
and install it.

Friedrich

NewsArchive
06-21-2012, 12:33 AM
Thank you.

I removed the check that you suggested and .NET installation does not begin.
I verifired that .NET 3.5 is not insalled. But .NET 3.0 is.

The redistributable that is included with the SetupBuilder EXE is only about
50 MB.
That was acquired with your redistributable manager.

A large EXE is fine...this product is delivered on USB

Thanks for your additional help!

Mike

NewsArchive
06-21-2012, 12:33 AM
Hi Mike,

> I removed the check that you suggested and .NET installation does not
> begin. I verifired that .NET 3.5 is not insalled. But .NET 3.0 is.

Yes, that's correct. The 50 MB Microsoft redistributable for .NET 3.0 does
not include .NET 3.5 (which is a hefty 250 MB). So if .NET 3.0 is already
installed then the .NET 3.0 redist install is skipped.

To redistribute .NET 3.5, you have to download the original .NET 3.5
redistributable from the MS site and develop your own deployment logic (e.g.
based on the 3.0 include script) --or-- use the following .NET 3.5 include
script (unofficial and not supported by Lindersoft):

http://www.lindersoft.com/projects/rt_dotnetframework35.zip

1. Download runtime from (redirection): http://www.lindersoft.com/NET35.htm

2. Add "rt_dotnetframework35.sbi" to your project

3. Define the location of the downloaded MS redistributable (dotnetfx35.exe)

4. Compile and run :-)

Friedrich

NewsArchive
06-28-2012, 12:31 AM
Thank you Friedrich. That worked perfectly!

Mike

NewsArchive
06-28-2012, 12:31 AM
Also, When I look at Help -> Redistributable Manager the
size listed for the MS .NET 3 redist package is 50.5MB.

So I don't know where 250 MB size would be found

Mike

NewsArchive
06-28-2012, 12:32 AM
Mike

It is the .NET 3.5 setup that is 250MB. The .NET 3.0 is about 50MB.

JohnG

NewsArchive
06-28-2012, 12:32 AM
Verified.
All working fine now after Friedrichs response.

Michael Brooks