I don't really remember why we initially used WiX. Possibly to silently update any existing Blender installs? Anyway, the problem is that the VCRuntime MergeModules are deprecated, and GHA has pretty much removed them. So, we need to use NSIS to be able to trivially run the vc.redist.exe installer. It runs an MSI, and WiX produces MSIs, so to keep using WiX, we'd need to write an installer-coordinator. Forget about it. Just use NSIS.
Korman NSIS Installer
In order to facillitate usage by non-technical users, Korman has a NSIS installer.
Building the Installer
You are responsible for supplying the following items in the x86 andx64 subdirectories of the Files directory, as applicable:
- libHSPlasma libraries (HSPlasma.dll and PyHSPlasma.pyd)
- Visual C++ Redistributable package (vcredist_x86.exe or vc_redist_x64.exe)
- Optionally, the C korlib (_korlib.pyd)
Given that PyHSPlasma can only be used with ABI-compatible Python releases (generally minor version levels), it is recommended that you define the name of the Python DLL (PYTHON_DLL) you expect for Blender to have. This can be done using the GUI by editing the symbol definitions under Tools > Settings, or by using the command line switch -DPYTHON_DLL=yourPythonDll. Failure to do so will not prevent the installer from working; however, it may lead to GOTCHAs where users are attempting to install Korman for Blender versions that are not actually compatible with your PyHSPlasma.