I have a Wix4 installer with custom UI using the Burn bootstrapper (via WixDotNetCoreBootstrapperApplicationHost). The installer works correctly but I also need the ability to run it in quiet mode using “MyInstaller.exe /quiet”.
However, I then get the error “BA passed NULL hwndParent to Apply”.
I’ve narrowed down the issue to the call to BootstrapperApplication.Apply() which requires a window as of Wix4.
Since there are no windows displayed in quiet mode, what are my options to run the installer successfully?
Nirav Domah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.