Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Workaround for deployment bug in the Spanish version of Visual Studio Team System for Software Architects

Workaround for deployment bug in the Spanish version of Visual Studio Team System for Software Architects

  • Comments 0

We recently found an issue that was missed in testing prior to shipping the Spanish version of Visual Studio 2005 Team System for Software Architects.  This bug will prevent deployment of this language edition of Visual Studio 2005 by running msiexec.exe /i vs_setup.msi.

Root cause

The underlying issue is that the ProductName property in the MSI was incorrectly translated from English to Spanish.  If you look at the VSTA MSI in an MSI viewer/editor such as Orca, you will see that the product name value is the following:

Microsoft Visual Studio 2005 Team para Software Architects - ESN

All of the Visual Studio setup data files expect this product name to be the following:

Microsoft Visual Studio 2005 Team Edition for Software Architects - ESN

Because of this mismatch between the MSI and the setup data files, one of the custom actions in the MSI that checks to make sure that all Visual Studio prerequisites are installed returns failure, and setup blocks installation as a result.

Unfortunately, we found this issue prior to shipping Visual Studio 2005 for other non-English languages, but missed this one Spanish edition of VS 2005.

Workaround

I have posted a transform that you can apply to the Spanish VSTA vs_setup.msi to fix the underlying issue described above.  You can download the transform from this location.  Once you download this transform, you can create an administrative install point by using this command line:

msiexec /a <path to vs_setup.msi> /L*v <path to log file> TRANSFORMS =<path to transform file> TARGETDIR=<path to create the adminstrative install point at>

You can also edit the ProductName property in the MSI directly using Orca prior to deploying this edition of Visual Studio.

Please note that even if you do not use the workaround listed above, deployment of the Spanish version of Visual Studio 2005 will still work by using the /createunattend and /unattendfile switches for setup.exe.

 

Leave a Comment
  • Please add 3 and 6 and type the answer here:
  • Post