cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

.Net Framework 4.5 is not listed in Prerequisites in InstallShield 2012 Spring

Is there anywhere to add .Net Framework 4.5 in Prerequisites in InstallShield 2012 Spring?

Help me out please.. and thanks in advance
Labels (1)
0 Kudos
(4) Replies
sdnelson
Level 5

.NET 4.5 is newer than Installshield 2012 so it doesn't come with a PRQ file already for it.

You need to create a new setup prerequisite for it. Tools > Prerequisite Editor

Under Conditions click Add
Select "A registry entry has a specified version value"
Look for this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
And this value name: Release
For the value to check, it will depend on your version of .NET framework. For example, version 4.5.2 will be 379893. Check the above registry value for yours.
Run this prereq if: Data on target system is less than specified data

In the Files to Include tab, point it to your .NET installer
In the Application to Run tab, select your .NET installer from the drop down.
In the next 2 boxes, enter "/q /norestart" without the quotes
And then for return codes "1641,3010" without the quotes.
0 Kudos
Not applicable

Thanks Mr. Nelson
Yaayyy....It worked as per the steps mentioned. Thank you so much for helping me out.


sdnelson wrote:
.NET 4.5 is newer than Installshield 2012 so it doesn't come with a PRQ file already for it.

You need to create a new setup prerequisite for it. Tools > Prerequisite Editor

Under Conditions click Add
Select "A registry entry has a specified version value"
Look for this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
And this value name: Release
For the value to check, it will depend on your version of .NET framework. For example, version 4.5.2 will be 379893. Check the above registry value for yours.
Run this prereq if: Data on target system is less than specified data

In the Files to Include tab, point it to your .NET installer
In the Application to Run tab, select your .NET installer from the drop down.
In the next 2 boxes, enter "/q /norestart" without the quotes
And then for return codes "1641,3010" without the quotes.
0 Kudos
Fred
Level 3

jnagendra wrote:
Thanks Mr. Nelson
Yaayyy....It worked as per the steps mentioned. Thank you so much for helping me out.


hello, I am new to IS 2015; I used to work with IS 6.3 and since IS2015 do not export from IS6.3.. I had to redo all my installers... and I am really confuse on severall points !
Reagarinf the pre installation of .Net 4.5 I found also this answer great ! but... what to do with the created PRQ ?? I can't find a way to include it in my basic MSI project ??

Should I use another kind of project ?

Thanks for your help
0 Kudos
MarkusLatz
Level 8

See under Application Data->Redistributables.

Then scroll down until you see all prerequisites ...

regards

Markus
0 Kudos