Restart Manager Dialog Localizing Partially for Wix Installer

雨燕双飞 提交于 2020-01-02 21:55:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!