Using VS 2022, I attempted to use Wix Toolset 5.0.4 and it wouldn't add it to my Windows Service project.
I just ran installutil in the Developer command prompt as Administrator.
Using an installer didn't work either.