Community Forums
Results 1 to 5 of 5

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

  1. #1
    Join Date
    Apr 2013
    Posts
    7

    .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

  2. #2
    Join Date
    Jan 2013
    Posts
    30
    .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.

  3. #3
    Join Date
    Apr 2013
    Posts
    7

    Thumbs up It worked fine !!!

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


    Quote Originally Posted by sdnelson View Post
    .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.

  4. #4
    Join Date
    Dec 2017
    Location
    Grenoble / France
    Posts
    10
    Quote Originally Posted by jnagendra View Post
    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

  5. #5
    Join Date
    Dec 2001
    Location
    Bellheim, Rheinland-Pfalz, Germany
    Posts
    118
    See under Application Data->Redistributables.

    Then scroll down until you see all prerequisites ...

    regards

    Markus

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •