The setup searches for the file WINWORD.EXE file in the path
C:\Program Files\Microsoft Office\root\Office16\ (or similar based on the version of the word)
So you just have to create this path and add a dummy file with the name and extension WINWORD.EXE to this location.