Hello,
For that, you can use the predefined support for major upgrades.
Simply increase the
ProductVersion in your application and change the
ProductCode and that package should remove the older version and install the newer one, replacing the EXE and DLL files.
Updates Deployment: Major Upgrade vs Patch
Best regards,
Catalin