visual studio 2010 - Web setup project removes files after upgrade from VS2008 to VS2010 -


I have a web setup project created using VS2008. I changed my solution to VS 02010 and now when I Make your new installer and start installing with MSI, it will be installed properly, then in the final step, all the files are removed which are now installed.

Extract the previous version set to True if I turn it off then the files still remain (but I get many examples in the program and features in the control panel).

If I install again, the files are re-shown. Since then, the files always remain, even when installing another version. Therefore, the problem is with running a installed installer using VS2008 and then running the same installer created by VS2010. The upgrade GUID on each installer is the same.

What is the reason and how can I fix it?

I have not tried porting a setup from VS2008 to 2010, but different build versions Problems will occur when there is a single upgrade code; General Description The msiexec installer fails when it tries to remove the old components because the older components have the same upgrade version as the new components are installed. A VS There is a project setting, where you can automatically create a new upgrade code each time you rebuild your .msi; I usually choose it and save the headache of these versions.

  • Uninstall all copies of your app using Add / Remove Programs

  • Delete the contents of your% TEMP% folder ( To get the

  • Update the GUID for the VS2010 version (I think you do this by right-clicking on the GUID, click on the Properties window and select "New GUIend Please click on "Generate")

  • Rebuild this project and try again!


Comments