Localizing the UI
As you've seen, you can use localization files and variables to handle most of the text in your installer, whether that be labels on controls, the names of directories, or the titles and descriptions of your features. So what's left? In the next few sections we'll expand our scope to include the error messages that are baked into Windows Installer, the status messages that are shown over a progress bar, the end-user license agreement, and the size of user interface controls.
Error messages
Windows Installer responds to certain errors by displaying a message box 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 theMediaTemplate
element tono
. This means that the installer won't embed the CAB file in...