CPack wix generator is for wix v3

I tried to use the CPack wix generator. Not knowing much about wix, I went to the wix toolset website and followed the instructions to install it.

CPack then fails with some message about “not finding candle”. It seems to me that CMake/CPack only supports wix v3, although this is not mentioned anywhere (according to the wix documentation, wix is now only a single executable).

So until CPack is updated for v4, make sure you install/use v3.

Yes, tracking v4 (no progress yet) is being done in this issue: https://gitlab.kitware.com/cmake/cmake/-/issues/23910