Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS with no warranties, and confer no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
I have heard from a couple of customers who have uninstalled beta versions of Visual Studio 2005 and then installed the final release. After installation finished, they saw a small error dialog that looks like the following when trying to launch the Visual Studio 2005 IDE:
Pressing OK on this dialog dismisses the IDE and VS 2005 is not usable.
There are a couple of cases where registry data can be orphaned on the machine that causes this type of error. Unfortunately, because this data is written by a custom action and there are some "interesting" conditions on that cusotm action in the VS MSI, running a repair of VS 2005 will not correctly fix the registry values that control this functionality.
The following steps can be used to resolve this Invalid license data error message:
After doing this, the license data should be recreated and correct and allow you to launch the VS 2005 IDE.
<update date="10/25/2006"> Added some more licensing registry values and a new section for 64-bit registry values that need to be removed </update>
<update date="8/27/2009"> Fixed broken link to image. </update>