Localizing error messages
Windows Installer responds to certain errors by displaying a messagebox with text about what went wrong. You can see a list of these errors at:
http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
Unfortunately, they're always in English. You can see an example of this by triggering the Source not found error. Follow these steps:
Create a simple
.wxs
file, but set theEmbedCab
attribute on theMedia
element tono
. This means that the installer won't embed the CAB file in the MSI and will look for it in the same directory as the installer. TheMedia
element will look like this:<Media Id="1" Cabinet="media1.cab" EmbedCab="no" />
Add a project reference to the
WixUIExtension
and add one of the standard dialog sets, such asWixUI_Minimal
:<UIRef Id="WixUI_Minimal" />
On the Build page of the project's Properties, set the Cultures to build to "es-es".
Compile the
.wxs
file into an MSI and then remove the CAB file from the output directory.Launch the installer...