PDA

View Full Version : Bug in .NET Pre-Requisiite



NewsArchive
01-23-2012, 12:45 AM
Set up a script with a pre-requisite for .NET v4.
Ran it on a machine with only v2.0 & 3.0 installed.
Got the attached message... obviously 'unhelpful'...

Basic script and exe attached, fyi.
Assembled in SB7 v7.2.2943 (2010 issue)

Steve

NewsArchive
01-23-2012, 12:48 AM
Steve,

> Set up a script with a pre-requisite for .NET v4.
> Ran it on a machine with only v2.0 & 3.0 installed.
> Got the attached message... obviously 'unhelpful'...
>
> Basic script and exe attached, fyi.
> Assembled in SB7 v7.2.2943 (2010 issue)

Not a bug at all. I assume you have enabled the ".NET Framework is
Installed" System Software Requirement.

You can change the text here:

"Text and Messages" Visualizer -> Errors -> Misc Errors ->
ERR_LAUNCH_CONDITION_NETFRAMEWORK text.

But it does not make sense to use the ".NET Framework is Installed" System
Software Requirement because if a Requirement is not met, the installation
will exit. But as I understand it, your intention was to install .NET4 if
it is not already there.

So disable ".NET Framework is Installed" and you are done.

HTH,
Friedrich

NewsArchive
01-23-2012, 12:49 AM
Sorry, did not see the .sb7 attachment. Unmark ".NET Framework is
Installed" in Requirements and mark "Microsoft .NET Framework 4.0
Redistributable Package (x86, x64) in "Core PreRequisites".

Or change the "Text and Messages" Visualizer -> Errors -> Misc Errors ->
ERR_LAUNCH_CONDITION_NETFRAMEWORK text resource (replace the "1.0"
placeholder with "4.0") if you do not want to package the redistributable.

Friedrich

NewsArchive
02-09-2012, 12:30 AM
We have improved this in SetupBuilder 7.7. The more I thought about it, the
more your report made sense.

---
CHANGE : (sync from SB8) [SB#201231] Installer: If a ".NET Framework is
Installed" Software Requirement is not met, the installation
replaces the "1.0" text string resource "placeholder" in the
displayed message box with the selected .NET Framework version.
---

Thank you for your suggestion.

Friedrich