1

We have a legacy InstallShield installer for a product, for which we are porting that product to wix installer.

I observed a improper behavior of localization in Restart Manager dialog only during ARP uninstallation, for which only the description part is getting localized and below radio buttons text is not localized. Screenshot at the end.

But in the InstallShield installer it was proper. I couldn't trace what was missing here in my wix installer for this inconsistent behavior.

I tried checking whether this Restart Manager dialog localization strings will come from Wix or OS.

I tried checking this dialog strings whether available in string table in InstallShield installer but couldn't find it. Neither in WixUI_en-us.wxl in Wix.

So my understanding was this dialog comes from OS, but the question arises why it only partially gets localized.

I had customized the "WixUI_InstallDir" in my installer as below.

<UI Id="WixUI_InstallDir1">

So I included the below MsiRMFilesInUse dialog in WixUI_InstallDir1.

<DialogRef Id="MsiRMFilesInUse" />

By including this, the Files In Use dialog is visible and gets localized when uninstalling from MSI, but Restart Manager is partially localized when uninstalling from ARP.

I expect the Restart Manager dialog to be fully localized but the below radio button texts are not getting localized. Screenshot attached below.

enter image description here

SiD
  • 109
  • 1
  • 8
  • One question: are you running on a Spanish machine when that un-localized message shows up? If not, please try that first. – Stein Åsmul May 20 '19 at 11:25
  • I already tried, irrespective of the OS lang, the below details were always in english. – SiD May 20 '19 at 12:04
  • Sources on github.com? – Stein Åsmul May 20 '19 at 16:57
  • Just wondering, what result do you get if you use dialog set ``? – Stein Åsmul May 21 '19 at 00:45
  • We can't use other Wix UI styles apart from InstallDir, please suggest what went wrong here. – SiD May 21 '19 at 03:36
  • Hard to tell without the sources or the MSI in question. Also: checking with WixUI_Mondo was suggested to determine if there is something wrong with the particular dialog set you are using. If you can test quickly that is good information. Generally English shows up as a fallback language (when the requested language for the string in question is not available). Those options come from the Restart Manager feature of windows, I guess there could be issues with that - not sure. – Stein Åsmul May 21 '19 at 20:25
  • Thanks for the suggestion, I tried WixUI_Mondo, still same partial localization is only happening in that case also. If it comes from OS and not installer, still question is why partial localization. Where does the strings of RestartManager dialog come from, really from Installer only I guess, please correct me? – SiD May 22 '19 at 05:35
  • Please do reply – SiD May 24 '19 at 05:12
  • Using `Orca` - if you open the compiled MSI and look in the table `"RadioButton"`. What does it say in the `Text column`? Is the text localized or in English? – Stein Åsmul May 24 '19 at 15:45
  • The strings inside MSI in radiobutton table are the one's which come in MsiRMFilesInUse dialog but not the strings in RestartManager dialog. – SiD May 27 '19 at 04:49
  • Please do reply – SiD Jun 04 '19 at 08:38
  • Use `MsiTran` instead of `torch` tool to generate language transform files. – gerhard Jun 07 '22 at 08:31

0 Answers0