Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 6

.prq for Microsoft .NET Framework 4.6.1 Full

Below is the text that can be used to create your own .prq file for the Microsoft .NET Framework 4.6.1 Full Prerequisite.


The Conditions are set for 64bit only, Windows 7, Windows 8, Windows 10
The download location is good as of 18 January 2016. No telling how long it will last.

For those new to making a Prerequisite .prq file:

On your desktop create a new text file.
Rename this file “Microsoft .NET Framework 4.6.1 Full.prq”
Copy the above text to this new file. (Between the +++++)
Move this new file to folder C:\Program Files (x86)\InstallShield\2015\SetupPrerequisites
Open any InstallShield project
Go to the Installation Designer tab > Application Data > Redistributables
The list should now contain the new entry “Microsoft .NET Framework 4.6.1 Full”
To the right of the list it will say “Needs to be downloaded”
Right-click on the item Microsoft .NET Framework 4.6.1 Full.prq and select Download Selected Item…
This downloads the 66 MB file to C:\Program Files (x86)\InstallShield\2015\SetupPrerequisites\\4.6\Full\
You should be good.

To edit any of the Conditions:
Right-click on the item Microsoft .NET Framework 4.6.1 Full.prq and select Edit Prerequisite
Labels (1)
0 Kudos
3 Replies
Level 3

Here is the code which checking the correct registry key:

The Release key should be used instead of Version:
Flexera's prq files are checking this also.

Help for major/minor:

WARNING: In case of Windows Server the installer MAY restart the machine automatically. To avoid this, change the reboot behavior in the XML.

0 Kudos
Level 2

I'm trying to create an installer that will also run on machines that are not connected to the internet, and I get an error while installshield tries to install .Net framework 4.6.2.
When trying to install it manually, I get:

.Net Framework 4.6.2 has not been installed because:
A certificate chain could not be build to a trusted root authority.

It looks like an issue with a missing certificate (for example, a machine that was not connected to the internet since windows was installed):

I have few solutions. The first one is extracting the exe into files and running either the x86 or the x64 installer (msi in this case). When extracting the files, I get 1.6GBs from the 60MBs files. (There are several cabs inside it, where they are packed into 0 bytes.
Trying to pack it back into a rar file results a ~350MB file.
This is not ideal for the setup. (I'm trying to estimate the gained size of the setup due to the extraction of the .Net framework, since installshield will repack it).

The second option is to run certmgr or certutil and insert the certificate into the machine prior the installation of the .net framework.
Has anyone done this?
How should I do it? where? (as a prerequisite as well, that will check if the certificate exists in the registry? Do I need to run a different certutil depending on the platform: x86 or x64?
How do I run the certutil? it is located in c:\windows\system32, but I cannot grantee that it will be located on each machine on the same place)

Any tips and solutions will be welcome.


0 Kudos
Level 3

I have created the following prq-file for the Microsoft .NET Framework 4.7.1 prerequisite for targeting to the Microsoft .NET Framework 4.7.1

I have the following questions:
- The AltPrqURL=" .NET Framework 4.7.1 Full.prq" doesn't exist yet. Is this a problem ?
Answer: this the alternate location to download the .prq from if the prerequisite files are being downloaded. (Typically this is left empty)
- What is the Id for Microsoft .NET Framework 4.7.1 (for the Microsoft .NET Framework 4.7 it is Id="{5BEFD113-E0FD-4DDE-A0DC-DDEFEF5DF6A4}") ?
Answer: this is the unique identifier for the InstallShield prerequisite

Kind regards,
0 Kudos