Page 1 of 1
.net 4.5 is already installed
Posted: Thu Oct 31, 2013 10:43 am
by Tommy
Hello,
The following runtimes are selected to be installed by my setup, however two error dialogues occur at the end of the prerequisite installation.
Microsoft .NET Framework 4.5 (x64)
Microsoft .NET Framework 4.5
.net 4.5 nevertheless has been installed but two error dialogs displayed that you can find enclosed.
Regards,
Tommy
Re: .net 4.5 is already installed
Posted: Thu Oct 31, 2013 1:11 pm
by FrancescoT
Dear Tommy,
which is the your target OS platform?
The "Microsoft .NET Framework 4.5" IA runtime package can be installed on a x86 target only.
Regards
Re: .net 4.5 is already installed
Posted: Mon Nov 04, 2013 7:41 am
by Tommy
Hello,
Yes you were right. I did not take into account the checknet* scripts do not verify the OS platform and launch merely the appropriate .net installer.
Regards,
Tommy
Re: .net 4.5 is already installed
Posted: Mon Nov 04, 2013 12:23 pm
by FrancescoT
Dear Tommy,
you can use the following approach in case you need to add both runtimes platforms ... or if you need to verify if a runtime platform matchs the target platform OS;
Code: Select all
Set Variable ISWINDOWS64BIT to FALSE
Get System Setting Windows in 64 bit Mode into ISWINDOWS64BIT
if Variable ISWINDOWS64BIT Equals FALSE
Include Script: checknet4aip_client_x86
Include Script: checknet4aip_x86
else
Include Script: checknet4aip_client_x64
Include Script: checknet4aip_x64
end
It is enough to do as above with the Check runtime scripts only.
Regards