I'm assuming you're using windows installer to deploy your app using a
deployment project in VS.NET.
If so, you will need to change the Version property of the deployment
project of your app. This will automatically update your ProductCode
and PackageCode GUIDs. (A messagebox will prompt you to confirm within
the VS.NET IDE)
Then set the RemovePreviousBersions to 'True' under the properties of
your deployment project. Rebuild the project. Your setup will now
remove any previous versions at install time.
|