I am new to WIX and created a first installer which installs the application and other files, etc.
Now I want to add that .net Core 6 is installed as a prerequisite.
Is is correct that I need a Bundle for that and add my existing MSI into the Chain?
I looked at the WIX 3 examples but am not sure if they are still valid for WIX 4. The WIX 4 examples and tutorials I found are only based on the Product element and Bundle is not mentioned.
I found this: Installing .NET Runtime via WIX 4 Installer But it does not explain how to use it. I guess is need a Bundle to trigger the PackageGroup or can i add it to a Package?
Thanks, I really appreciate any help. I could not find much documentation on WIX 4. Especially which is helpful to a beginner...
The solution is indeed a Bundle installer.
Based on Installing .NET Runtime via WIX 4 Installer I created a Fragment for the installers:
These PackageGroups as well as the original installer msi are then used in the Chain element of the Bundle:
The elements of the Chain are executed in the given order.