Automaticall removing old version during Setup & Installation
To avoid having to manually remove previous versions:
1. RemovePreviousVersions property of the Setup project must be true.
2. The UpgradeCode must stay the same.
3. The ProductCode and PackageCode must both change. An easy way to get this done is to increment the Version property of the Setup project.
4. It is bizarre that the ProductCode appears on the Setup project property list by the PackageCode does not…