WiX allows you to install with the same version, but Microsoft does not recommend it, therefore, a warning message.
You can either continue as it is (and live with the compiler at a party), or change the MajorUpgrade section to this:
<MajorUpgrade AllowSameVersionUpgrades="no" DowngradeErrorMessage="A newer version of [ProductName] is already installed. If you are sure you want to downgrade, remove the existing installation via the Control Panel" />
source share