Upgrading Mini-Compressor to .NET 4.0 Notes Addendum

You can read part one at Upgrading Mini-Compressor to .NET 4.0 Notes post.

One item that I feel has been neglected by Visual Studio is the Setup & Deployment projects.  There has been little improvements to them since Visual Studio 2003 but finally VS2010 has new “feature”:

  1. A customer installs your software using the installer created using VS2008.
  2. You upgrade your product to .NET 4.0 using VS2010 and create a new MSI.
  3. The customer runs your new MSI to upgrade their software.  After the upgrade is complete nothing is installed at all.

I really do mean nothing, no files in the Program Files folder, no registry entries, shortcuts, etc.  The old version is gone along with the new version.  It’s a great new feature, I mean bug.  The bug is known to Microsoft and you can read more about it here.  A summarized description of the error and some workarounds:

[Read More]
Categories: code-examples  Tags: build orca vs2008 vs2010