The logs for the tool could help narrow down the issue. The error prompt should contain a link to the log folder, and in there should be a Log.txt file. It should contain the exit code and any output from dism.exe when it failed to install the driver.
If you are building this tool yourself, we recommend you build the package directly instead of converting it with the MSIX Packaging Tool from another installer, as it gives you better control of what will be in the package. For example, you can use a Windows Application Packaging Project in Visual Studio.