Error: a certificate chain processed,but terminated in a root error .Net Framework 4.7

ORHAN TOPDAĞ picture ORHAN TOPDAĞ · Oct 1, 2018 · Viewed 32.1k times · Source

I want to extract the .net 4.7 framework prerequisites with my main msı.

But when ı try to install .net installation give an error.

After ı try to install .net framework only.

.net framework installation gives an error

.net framework 4.7 a certificate chain processed but terminated in a root.

How to certificate it with Wix?

  <ExePackage
         InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx47FullLog].html&quot;"
          RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx47FullLog].html&quot;"
          UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx47FullLog].html&quot;"
          PerMachine="yes"
          DetectCondition="!(wix.NetFx47WebDetectCondition)"

          InstallCondition="NetFrameWorkCheckbox = 1"
          Id="NetFx47Web"
          Vital="yes"
          Permanent="yes"
          Protocol="netfx4"
          DownloadUrl="$(var.NetFx47WebLink)"
          LogPathVariable="NetFx47FullLog"
          Compressed="yes"
     Name="!(wix.NetFx47WebPackageDirectory)NDP47-KB3186500-Web.exe"
    SourceFile=".\prerequisites\NNDP47-KB3186497-x86-x64-AllOS-ENU.exe"


         >

Answer

Bravo Yeung picture Bravo Yeung · Apr 8, 2020

I also met the same issue when installing .NET framework 4.7 on the PC with Win 7 sp1 system.

The solution with detailed steps is below can be seen in:

https://stackoverflow.com/a/60812129/6075331

Step2

Then the issue will hopefully be resolved.