cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JSClark
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.
+++++++++

















+++++++++

Notes:
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.

Help:
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\Microsoft.net\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
Levente0xFFFF
Level 3

Here is the code which checking the correct registry key:






















The Release key should be used instead of Version:
https://msdn.microsoft.com/en-us/library/hh925568%28v=vs.110%29.aspx
Flexera's prq files are checking this also.

Help for major/minor:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx

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
Saragani
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):
https://blogs.msdn.microsoft.com/vsnetsetup/2016/03/28/a-certificate-chain-could-not-be-built-to-a-trusted-root-authority-2/


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.

Thanks

0 Kudos
tknijff
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="http://saturn.installshield.com/is/prerequisites/Microsoft .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,
Thierry
0 Kudos