Wix Installer is tries to download .Net 8 when already installed #8733
Replies: 5 comments 1 reply
-
My DetectCondition is: DetectCondition="DOT_NET_VER >= v8.0.0" Is this backwards? I reviewed my previous Wix3 installers and they always ignore the .Net installation when the detect condition result equals true. |
Beta Was this translation helpful? Give feedback.
-
I customer sent screenshots in PDF format of the logs and I can verify Wix is trying to install .Net 8 over and over again. |
Beta Was this translation helpful? Give feedback.
-
I saw something similar when using As a short-term, no-code-change-required workaround, I also found that manually copying the .NET Framework 4.6.2 installer to Might either of those help you? |
Beta Was this translation helpful? Give feedback.
-
@csdahlberg I am using the following .wxs to detect .Net 8. Are you suggesting I set a parameter such as PrereqPackage="no"? Here is my wxs:
|
Beta Was this translation helpful? Give feedback.
-
@csdahlberg I looked at the docs and they state: remove: Always uncache the package after Cache, Install, Modify, Repair, Uninstall, and Layout. Which sounds like it's only being used after the cache. I just created an embedded installer that includes the full .net runtime and verified it doesn't try to download anything so I think I'm good now. |
Beta Was this translation helpful? Give feedback.
-
I have customers in STIGed environments where the installer is failing because Wix is trying to download .Net from an air gapped machine when it's already installed. I have run tests with air gapped machines and cannot reproduce the issue. While working with another customer on a corporate non-STIGed machine, I noticed the following lines:
However just above the log files states:
Why is the installer downloading files it doesn't need?
Beta Was this translation helpful? Give feedback.
All reactions