cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
elliottgresham
Flexera beginner

.NET Framework 4.8 prq file

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
elliottgresham
Flexera beginner

Re: .NET Framework 4.8 prq file

Jump to solution

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>
0 Kudos
4 Replies
Flexera Jenifer
Flexera

Re: .NET Framework 4.8 prq file

Jump to solution

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-ar...

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

elliottgresham
Flexera beginner

Re: .NET Framework 4.8 prq file

Jump to solution

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

0 Kudos
Flexera Jenifer
Flexera

Re: .NET Framework 4.8 prq file

Jump to solution

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

0 Kudos
elliottgresham
Flexera beginner

Re: .NET Framework 4.8 prq file

Jump to solution

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>
0 Kudos