WIXBUG:4561 - update WixCop to migrate v3 source code to v4.0.

Could extract the shared stuff to a third method.