问题
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.
来源:https://stackoverflow.com/questions/56214935/restart-manager-dialog-localizing-partially-for-wix-installer