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 recently received a comment on my blog asking how to get the DuaScriptGen tool to work on Windows Vista. I looked into this in more detail, and I found that the duascriptgen.exe.config file included with the tool only listed the .NET Framework 1.0 and 1.1 as supported runtimes. It looks like I never got around to updating the config file once the .NET Framework 2.0 released. In addition, I ended up not noticing the underlying issue because the Windows Vista systems that I have tried to run DuaScriptGen on recently both have the .NET Framework 1.1 installed in addition to the .NET Framework 2.0 that is included as a part of the OS on Windows Vista.
To fix this issue and allow DuaScriptGen to run on a Windows Vista system that does not have the .NET Framework 1.0 or 1.1 installed, I added the following line to duascriptgen.exe.config:
I added this above the lines that refer to the .NET Framework 1.1 and 1.0 so that DuaScriptGen will use the .NET Framework 2.0 first if multiple versions are installed on the system.
In addition, I have uploaded a new version of DuaScriptGen that includes this fix to http://astebner.sts.winisp.net/Tools/duascriptgen_v11.zip. If you want to use DuaScriptGen on Windows Vista, you can choose to download an updated version from this location or manually modify duascriptgen.exe.config with the change described above.
PingBack from http://msdnrss.thecoderblogs.com/2007/10/16/how-to-update-duascriptgen-to-run-correctly-on-windows-vista/
PingBack from http://www.windows-vista.luiscorreia.com/how-to-update-duascriptgen-to-run-correctly-on-windows-vista/