We have an older ClickOnce installer for a Windows application that has a prerequisite for a Setup.exe file from a 3rd party vendor. (webvew2 to be exact)...
The ClickOnce installer has been working fine for years and when it first installs our Windows application, it also installs the 3rd party vendors app by running their Setup.exe as a prerequisite.
Now we would like to move away from ClickOnce and into MSIX.
Creating the Windows Application Packaging Project was pretty simple by just adding our Windows application as a project reference but we can't seem to figure out how to add the 3rd parties Setup.exe as a prerequisite / Dependency inside the new Windows Application Packaging Project.
The following article talks about editing the "appinstaller" file so it can include "OptionalPackages" but that only seems to work for "MainPackage" yet my appinstaller file has "MainBundle".
https://www.syncfusion.com/succinctly-free-ebooks/msix-succinctly/distribute-your-msix-packages
This article talks about using desktop6:InstallActions but it says "This element is currently intended to be used only by desktop PC games...".
https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-desktop6-installactions
Also, the "bootstrapper" we are trying to add to the MSIX is Microsoft WebView2.
https://developer.microsoft.com/en-us/microsoft-edge/webview2/
They do have samples on deployment for Wix and VS Installer but nothing on MSIX.
https://github.com/MicrosoftEdge/WebView2Samples#webview2-deployment
I have read a lot of the articles for MSIX documentation but just can't seem to find good examples on 3rd party dependencies.
https://learn.microsoft.com/en-us/windows/msix/
I think I am missing something since this was basically checkboxes in ClickOnce.
Any idea how to add a 3rd party Setup.exe as a dependency so that it gets installed with our application?