Consider the following scenario:
In this scenario, the files and registry keys for the installation path incorrectly disappear.
- You run a Windows Installer package (.msi file) for a Microsoft Visual Studio 2008 Setup project to install the program to a certain installation path.
- You migrate the Setup project to Microsoft Visual Studio 2010 Service Pack 1 (SP1).
- You change the values of the Version and ProductCode properties for the Setup project.
- You set the value of the RemovePreviousVersions property for the Setup project to True.
- You rebuild the Setup project, and then you run the generated Windows Installer package to install the program to the same installation path.
In this scenario, the files and registry keys for the installation path incorrectly disappear.