wix replacement rewritten
Revert "trying to fix wix replacement"

This reverts commit 241747f7bb98123fcfe9029500bf8d8504dd1001.