Change the product ID to *, this will ensure that a unique GUID is generated during the MSI compilation.
Then add the following :
<Property Id="OLDVersion" Secure="yes" />
<Upgrade Id="YOUR_GUID">
<UpgradeVersion
Minimum="1.0.0.0" Maximum="99.0.0.0"
Property="OLDVersion"
IncludeMinimum="yes" IncludeMaximum="no" />
</Upgrade>
Under InstallExecuteSequence add:
<RemoveExistingProducts Before="InstallInitialize" />
This should take care of uninstalling the previously installed versions.
Make sure that the Upgrade GUID which you are using is common across all the versions of your MSI.
Check this LINK