« DataGrid behavior | Main | Lessons from Simple Web Service Accessing SQL »

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…

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)