I have an old wix 3 installer that I have converted to wix 4 using the heatwave wix4 for VS2019 package.
When I try to build it the wix build command that VS generates has the command line option '-sval' on it which results in the error:
error WIX0118: Additional argument '-sval' was unexpected
When I execute the wix build command directly from a terminal window after removing the offending argument the build runs.
I think -sval was a parameter used by the old wix linker tool. Does anybody know of a way to remove this argument.
Thanks Rob!
The problerm was a linker option that was in my wixproj file: