WiX Toolset - Alt Text to the CancelDlg's Icon - wix

I'm trying to make my app accessible (based on WCAG 2.1 guidelines).
I discovered that the default CancelDlg of WiX Toolset, which is the confirmation dialog that pops when the user tries to cancel the installation, is not accessible.
There is a yellow warning icon beside the text, but it has no Alt text or Name.
That makes narrators say "Image" instead of something along the line of "Warning icon" and confuse who is blind.
I didn't find a way to add an Alt text to that dialog that not include creating a custom dialog (which doesn't feel like the right way).
P.S. Using WiX version 3.10.
Any ideas?
Thanks!

Related

Wix Installer - Customize MsiRMFilesInUse dialog box

I was trying to change the default MsiRMFilesInUse dialog box provided by restart manager used in wix toolset. Basically I want to localize the default message in the dialog box since it is not getting localized by windows.
I found this answer (https://stackoverflow.com/a/46462452/14162315) which explains the steps of making the custom dialog box instead of normal one. A custom dialog box could help me in localizing the message.
I tried the above steps but I am getting the error - Duplicate symbol 'Property:WixUIRMOption' found. This typically means that an Id is duplicated. Check to make sure all your identifiers of a given type (File, Component, Feature) are unique.
I thought that I have to change the property id of WixUIRMOption also to some custom value to mitigate the error, so I changed it to Custom_WixUIRMOption. It compiled successfully after this change but the dialog box is not coming at all after this change.
link to source code of default MsiRMFilesInUse.wxs - https://github.com/AnalogJ/Wix3.6Toolset/blob/master/RC0-source/wix36-sources/src/ext/UIExtension/wixlib/MsiRMFilesInUse.wxs
you should be fine if you provide a localization for MsiRMFilesInUseText.
<String Id="MsiRMFilesInUseText" Overridable="yes">Translated text</String>
See how the dialog is implemented:
https://github.com/wixtoolset/wix3/blob/develop/src/ext/UIExtension/wixlib/MsiRMFilesInUse.wxs
See how wix ui is translated:
https://github.com/wixtoolset/wix3/blob/develop/src/ext/UIExtension/wixlib/WixUI_en-us.wxl

Pinned taskbar icon turns to default icon after update using msi file created by WiX

I have a program that is built using a WiX project. When the application is installed the first time, I am able to pin it to the taskbar just fine. When an update is installed, the application still works, but the icon in the taskbar turns into the default icon (the file icon), not my program's icon.
While I go into the pinned icon's shortcut properties and click "Change Icon", it gives an error message stating the path can't be found. The path to the icon looks something like this:
"%SystemRoot%\installer{LONG GUID HERE}\ICON.EXE"
That long guid will change with each update release (and by update, I mean changing from version 4.5.5 to 4.5.6). The GUID corresponds to the Product ID in my Product element of the schema, which will never be the same, and updating doesn't update the icon path for icons pinned to the taskbar.
How do I get the icon pinned to the taskbar to update with future updates?
Also, How can I set the icon path to point to the location of my executable, which is how other programs like Firefox set their icons? Is this available in WiX?
By the way, I was able to solve this issue by removing the Icon element in my Product.wxs file:

Navigate Sublime Text sidebar within QWERTY keyboard layout

I always want to discard my mouse and function keys. In Sublime Text using Ctrl+0 can focus the sidebar, and using Emacs-like Ctrl+p and Ctrl+n can navigate vertically. However when I try to list the files under a folder, I have to use Right key to do that. Does anyone know the keybinding for that in the QWERTY layout?
Currently there is no way to do that, side bar is completely un customizable besides the visual tweaks.
There is an open feature request for sidebar API, I can't quite understand why this for so long requested feature is still not implemented, at least some basic functionality, but we'll have to wait to get our hands on this part of the editor.
Another thing that is ridiculous for keyboard freaks like us is that on Mac you can't open the context menu on any of the files or folders in the sidebar as you don't have the key like on windows/linux and there's no tweaks for that too.

Add Remove program Icon

I have a WIX Installer project, which installs my product.
The code was not written by me.
It shows an Icon in the Add/Remove programs. I want to know where is in the source code is it specified. That icon is of the main executable of my product.
I tried searching the code but could not find any ARPPRODUCTICON word in the whole code.
From where is the icon getting displayed in Add/Remove Programs?
The icon is set automatically by Windows Installer. If you want to use a custom one, you can set ARPPRODUCTICON property: http://msdn.microsoft.com/en-us/library/aa367593(VS.85).aspx

Wix Localization

I have localized all the strings which I added in the project.
But a "Cancel" button in Error dialog in Wix which comes while uninstall is not localized.
Its showing in English. The text in the dialog is localized.This dialog is default wix dialog.
I have added WixUI_ErrorProgressText library in wxs file.
got a solution..
by changing Edit Summary Information of msi and change Languages to corresponding language code.
Do this using any patch or programming language like vc++ etc.