Loading
.NET Framework 4.8 prq file

Hello,

We are in the process of updating our software to .NET Framework 4.8. I notice there isn't a Redistributable in InstallShield for .NET Framework 4.8.

Does anyone have a .prq file available for .NET Framework 4.8?

Kind Regards

Elliott


  • Thanks Jenifer.

    Just incase anyone requires this prq file, this is what I have made (adapted from .NET Framework 4.7 Full). It seems to work well after initial testing.

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><SetupPrereq><conditions><condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528049"/></conditions><operatingsystemconditions><operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ServicePackMajorMin="1"/><operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""/><operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" ProductType="2|3"/><operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion=""/><operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3"/></operatingsystemconditions><files><file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\Microsoft .net\4.8\Full\NDP48-x86-x64-AllOS-ENU.exe" URL="https://go.microsoft.com/fwlink/?linkid=2088631" FileSize="0,0"/></files><execute file="NDP48-x86-x64-AllOS-ENU.exe" cmdline="/q /norestart" cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010"/><properties Id="{9EAB3A18-639C-42D9-BFAC-A056F6FE967A}" Description="This prerequisite installs the .NET Framework 4.8 Full standalone package." AltPrqURL=""/><behavior Reboot="2"/></SetupPrereq>
    Expand Post
    Selected as Best
  • Hi @elliottgresham  ,

     

    i would suggest you to take reference of previous pre-requisite whichever you have as latest.Using pre-requisite editor you will be able to edit registry settings and downloadable file.

    One slight modification you might need to do is:Registry condition value of .Net Framework 4.8 existence:

     Registry key path:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full

    Value of .NET 4.8 framework is:528040

    Reference:https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

    Content .prq will look like:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

     

    <SetupPrereq>

     

    <conditions>

     

    <condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528040"/>

     

    </conditions>

     

    <operatingsystemconditions>

     

    <operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ServicePackMajorMin="1"/>

     

    <operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""/>

     

    <operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" ProductType="2|3"/>

     

    <operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion=""/>

     

    <operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3"/>

     

    </operatingsystemconditions>

     

    <files>

     

    <file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\Microsoft .net\4.8\Web\<FileName>.exe" URL="<Downloadble link>" FileSize="0,0"/>

     

    </files>

     

    <execute file="<FileName>.exe" cmdline="/q /norestart" cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010"/>

     

    <properties Id="{<GUID>}" Description="This prerequisite installs the .NET Framework 4.8 Web Installer package." AltPrqURL=""/>

     

    <behavior Reboot="2"/>

     

    </SetupPrereq>

     

    Hope it helps,

    Thanks,

    Jenifer

    Expand Post
    • Hi Jenifer

      Thank you for your quick reply.

      I did look at the .NET Framework 4.7 prq file and had started to adapt that, but I wasn't sure on some of the values. For example, there was a AltPrqURL value and I didn't know if this needed to be set, but I guess not from your example.

      I'll take another look and let you know if I have any questions.

      Thanks again.

      Elliott

      Expand Post
      • Hi @elliottgresham  ,

         

        "I did look at the .NET Framework 4.7 prq file and had started to adapt that, but I wasn't sure on some of the values. For example, there was a AltPrqURL value and I didn't know if this needed to be set, but I guess not from your example."

        AltPrqURL field you can ignore as i had mentioned sample .prq content since it is alternative.Basically it would be the link of Flexera's file server which would be uploaded by them.

        if you could update web link of file with file(Some entries which ever has <> added with) in addition to the content i had added in the previous reply that would be enough i guess.

        Thanks,

        Jenifer

        Expand Post
        • Thanks Jenifer.

          Just incase anyone requires this prq file, this is what I have made (adapted from .NET Framework 4.7 Full). It seems to work well after initial testing.

          <?xml version="1.0" encoding="UTF-8" standalone="yes"?><SetupPrereq><conditions><condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528049"/></conditions><operatingsystemconditions><operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ServicePackMajorMin="1"/><operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""/><operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" ProductType="2|3"/><operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion=""/><operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3"/></operatingsystemconditions><files><file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\Microsoft .net\4.8\Full\NDP48-x86-x64-AllOS-ENU.exe" URL="https://go.microsoft.com/fwlink/?linkid=2088631" FileSize="0,0"/></files><execute file="NDP48-x86-x64-AllOS-ENU.exe" cmdline="/q /norestart" cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010"/><properties Id="{9EAB3A18-639C-42D9-BFAC-A056F6FE967A}" Description="This prerequisite installs the .NET Framework 4.8 Full standalone package." AltPrqURL=""/><behavior Reboot="2"/></SetupPrereq>
          Expand Post
          Selected as Best
            • "

               

              @Bikram  wrote:

               

              Here is the .NET Framework 4.8 PRQ attached. 

              Thanks,

              Bikram

               

              "

              Thanks !!! 

              Expand Post
              • Sorry I got the numbers the wrong way around, it works for 528049, but since then MS have changed the Release version to 528040, so the pre-requisite doesn't realise the .NET 4.8 is already installed when it is, tries to install it and then fails.
                Expand Post
                • Is it just a case of adding another condition line to include the second release version?

                  <conditions><condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528049"/><condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="528040"/></conditions>
                  Expand Post
                  • Hi @SimonG  ,

                     

                    Since pre-requisite conditions are OR based can you give a try with both 528049 & 528040.I would also suggest you to add OS(Operating systems whichever you want to add) in condition.

                     

                    Thanks,

                    Jenifer

                    Expand Post
10 of 13

Loading
.NET Framework 4.8 prq file