PDA

View Full Version : Dot Net 2.0 requirement vs 1.0?



NewsArchive
09-07-2010, 01:27 AM
I have an installation where I require dot net 2.0 SP2 or greater to be
installed.

I have a Win XP system setup with no Dot Net installed at all.
It appears if I run any Setupbuilder 7.2 install on this system I get an
error saying Dot Net 1.0 is required. This message appears before any code
in my script so I'm guessing it is a requirement of the SB runtime/kernel.

However, when I install dot net 1.1 (and 1.0) on the system I still get the
same error message when I try to run a SB 7.2 install.
If I install dot net 2.0 (no SPs) then my installer executes and I
successfully detect the system is pre- SP2 and my installer works.

Is the real requirement for a SB install program dot net 2.0?

This is with SB7.2.3062

TIA,
Ric

NewsArchive
09-07-2010, 01:29 AM
Rick,

> I have an installation where I require dot net 2.0 SP2 or greater to be
> installed.
>
> I have a Win XP system setup with no Dot Net installed at all.
> It appears if I run any Setupbuilder 7.2 install on this system I get an
> error saying Dot Net 1.0 is required. This message appears before any code
> in my script so I'm guessing it is a requirement of the SB runtime/kernel.
>
> However, when I install dot net 1.1 (and 1.0) on the system I still get
> the same error message when I try to run a SB 7.2 install.
> If I install dot net 2.0 (no SPs) then my installer executes and I
> successfully detect the system is pre- SP2 and my installer works.
>
> Is the real requirement for a SB install program dot net 2.0?
>
> This is with SB7.2.3062

The SetupBuilder installer does NOT require any .NET Framework. It even
runs on Win95. The "Dot Net 1.0 is required" message is displayed because
you have enabled the ".NET Framework is Installed" Setup Requirement (see
attached screenshot).

The "Dot Net 1.0 is required" text resource is defined in "Text and
Messages" -> "Errors" -> "Misc Errors" -> ERR_LAUNCH_CONDITION_NETFRAMEWORK

".NET Framework 1.0 or greater needs to be installed for this installation
to continue."

Modify the above text to display the 2.0 SP2 requirement.

But I would not use the ".NET Framework is Installed" Setup Requirements in
your case. Better use the "Get System Info (.NET Status)" in a simple If
Statement because this function lets you retrieve the service pack level of
the installed Framework. It gives you more control.

Does this help?

Friedrich

NewsArchive
09-08-2010, 12:49 AM
> The SetupBuilder installer does NOT require any .NET Framework. It even
> runs on Win95. The "Dot Net 1.0 is required" message is displayed because
> you have enabled the ".NET Framework is Installed" Setup Requirement (see
> attached screenshot).
>

Yep, that was it.
I don't even remember checking that box. :)
I'm already checking the dot net version and SP inside the script. I must
have checked that when I first started with it.

Thanks,
Rick