.net 4.5 is already installed

Got a problem you cannot solve? Try here.
Tommy
Posts: 27
Joined: Wed Oct 23, 2013 5:36 am

.net 4.5 is already installed

Postby Tommy » Thu Oct 31, 2013 10:43 am

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
Attachments
.net 4.5 already installed.png
Two error dialogs occur
.net 4.5 already installed.png (15.35 KiB) Viewed 4565 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: .net 4.5 is already installed

Postby FrancescoT » Thu Oct 31, 2013 1:11 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Tommy
Posts: 27
Joined: Wed Oct 23, 2013 5:36 am

Re: .net 4.5 is already installed

Postby Tommy » Mon Nov 04, 2013 7:41 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: .net 4.5 is already installed

Postby FrancescoT » Mon Nov 04, 2013 12:23 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 89 guests