In selecting Application Runtimes, are selections made treated as a minimum requirements? For example, if I select Windows Installer 3.0, will this be OK if the target has version 3.1. I wouldn't want the 3.0 Windows Installer engine installed if 3.1 already exists.
Same for the .NET Framework. If our minimum is 1.1, what needs to be selected on the Aplication Runtimes view so that later versions without 1.1 installed are acceptable?
As for the first part of the question, 3.0 won't be installed if 3.1 is already there.
As for the second part, each version of the framework is handled as completelly different prereq as it should be. Applications that are compiled to run under 1.1 even if 2.0 is installed or even 3.0 they won't run. Each application needs its own version to run successfully.
If you want to be more specific on what exactly you want to do (and why maybe?), then i could provide better assistance.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
For .NET, how we currently handle it is we have a launch condition of MsiNetAssemblySupport >= "1.1". This way if they have 2.0 installed and no 1.1 we're OK and the 1.1 Framework is not needed as our app. is OK with 2.0 as well.
Superfreak3 wrote:For .NET, how we currently handle it is we have a launch condition of MsiNetAssemblySupport >= "1.1". This way if they have 2.0 installed and no 1.1 we're OK and the 1.1 Framework is not needed as our app. is OK with 2.0 as well.
You only need to set .net 2.0 as a prereq then.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
But in this instance, if they have 1.1, which is currently OK for operational purposes with regard to our current application, they would have to install 2.0. In other words, we have a minimum requirement of 1.1. The only time there should be an installation of the .NET Framework is if they have nothing >= 1.1 installed.
If setting the requirement to 1.1 would cause an installation regardless of if 2.0 is installed, this may be something we would have to live with, I guess.
Is there any way to author our own launch conditions in InstallAware? If so, I wonder if MsiNETAssemblySupport useage would work.
Set Variable DOTNET20 to TRUE
Set Variable DOTNET11 to TRUE
Set Variable DOTNET11SP1 to TRUE
Check/Install .NET Framework (check v1.1, get result into variable DOTNET11)
if variable DOTNET11 Equals FALSE
Check/Install .NET Framework (check v1.1 with Service Pack 1, get result into variable DOTNET11SP1)
if variable DOTNET11SP1 Equals FALSE
Check/Install .NET Framework (check v2.0 with Service Pack 1, get result into variable DOTNET20)
if variable DOTNET20 Equals FALSE
Set Variable PREREQ to TRUE
Set Variable PRELIST to $PRELIST$$NEWLINE$Microsoft .NET Framework 2.0
end
end
end
Will this work?
If 1.0 missing, I check for 1.1 SP 1. If that missing, I check for 2.0 and if that is missing, the variable is set to FALSE. The install of the .NET 2.0 is conditioned if FALSE (setupnet20 script).