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.
A customer on the App Hub forums ran into an issue that I wanted to describe in more detail here in case anyone else runs into it in the future. If you have a Windows game project created with XNA Game Studio 3.0 or 3.1 and upgrade it to XNA Game Studio 4.0, ClickOnce publishing will not work correctly. This happens because the prerequisites for the game still include the older versions of the .NET Framework and the XNA Framework Redistributable that were needed by XNA Game Studio 3.0 or 3.1.
If you have upgraded a Windows game from XNA Game Studio 3.0 or 3.1 to 4.0 and want to be able to use the publish command to create a ClickOnce installer for it, you can use the following workaround: