title: How to support .Net FW 4.6.1 in InstallShield 2015 professional edition
body: <p>This is not a question but a post.
  To support .Net FW 4.6.1 in Install Shield 2015 professional edition, follow the steps mentioned in 
  <a href="https://community.flexerasoftware.com/showthread.php?220164-prq-for-Microsoft-NET-Framework-4-6-1-Full" rel="nofollow">https://community.flexerasoftware.com/showthread.php?220164-prq-for-Microsoft-NET-Framework-4-6-1-Full</a></p>
  
  <p>but pls verify registry path of .Net 4.6.1 in *.prq file.</p>
  
  <p>If this does not work in one go and if you have received similar error as below:</p>
  
  <blockquote>
    <p>"An error occurred streaming
    'Microsoft.net\4.6\Full\NDP461-KB3102436-x86-x64-AllOS-ENU.exe' into
    setup.exe"</p>
  </blockquote>
  
  <p>then run InstallShield 2015 professional in admin mode and try.</p>
  
  <p>After doing bit of analysis I found the actual issue.</p>
  
  <p>Problems in the *.prq files:</p>
  
  <blockquote>
    <ol>
    <li><p>I tried to install it in Win7(32 &amp; 64)systems, Set up did not prompt for missing 4.6.1. Then I checked the *.prq file again and
    found out It does not included entry for supporting Win7 and other OS
    32 bit. So better copy supported OS info from .Net 4.5 full.prq file.
    Please check missing OS info from other *.prq file and add to your prq file.</p></li>
    <li><p>Somehow using this 4.6.1.prq file IS 2015 was downloading wrong offline installer for 4.6.1. So, I had to download offline installer
    from <a href="https://www.microsoft.com/en-us/download/details.aspx?id=49982" rel="nofollow">https://www.microsoft.com/en-us/download/details.aspx?id=49982</a>
    and copied it to "C:\Program Files
    (x86)\InstallShield\2015\SetupPrerequisites\Microsoft .net\4.6\Full"
    folder</p></li>
    </ol>
  </blockquote>
  
  <p>Now its prompts in Win7 32&amp; 64 bit and works correctly</p>
  
  <p>Microsoft .NET Framework 4.6.1 Full.prq file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;SetupPrereq&gt;
    &lt;conditions&gt;
      &lt;condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="394254"/&gt;
    &lt;/conditions&gt;
   &lt;operatingsystemconditions&gt;
      &lt;operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="1" ProductType="2|3"&gt;    &lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4" ProductType="2|3"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="1"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion="" Bits="1"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion="" Bits="4"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="1"&gt;&lt;/operatingsystemcondition&gt;
  &lt;operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4"&gt;&lt;/operatingsystemcondition&gt;
    &lt;/operatingsystemconditions&gt;
    &lt;files&gt;
      &lt;file LocalFile=".\Microsoft.net\4.6\Full\NDP461-KB3102436-x86-x64-AllOS-ENU.exe" URL="https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe" CheckSum="864056903748706E251FEC9F5D887EF9" FileSize="0,67681000"/&gt;
    &lt;/files&gt;
    &lt;execute file="NDP461-KB3102436-x86-x64-AllOS-ENU.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"/&gt;
    &lt;properties Id="{D88AEC72-8F72-4075-B2EA-1FF6363E0E51}" Description="This prerequisite installs the .NET Framework 4.6.1 full standalone package."/&gt;
    &lt;behavior Reboot="2"/&gt;
  &lt;/SetupPrereq&gt;
  </code></pre>