Wix4: Abort if .Net is not installed? #7055
Unanswered
ChristianSauer
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to abort if I cannot detect Net48 and Netcore7, unfortunately I am unable to combine the elements in a way that works
I tried to do that in my Bundle:
``
<netfx:DotNetCompatibilityCheck Id="Net48Check"
RollForward="Minor"
Platform="x64"
RuntimeType="desktop"
Property="DotNetCompatibilityCheckResult"
Version="4.8">
``
That does not work because netfx:DotNetCompatibilityCheck cannot be a child of a bundle.
Doing the same in a package results in a different problem: The condition cannot be part of the Package. How to solve this?
Beta Was this translation helpful? Give feedback.
All reactions