Remove the Edit button from MaintenaceTypeDialog

After installing the installation, when the user clicks on the installation again to open it in maintenance mode, I want only the "Restore" and "Delete" options to be shown, and the "Change" option will not be displayed.

I can disable the "Edit" button using , but I want to delete it and do not want to show it to the user.

Please offer if possible.

+3
source share
3 answers

You can enable a set of Wix dialog boxes (.wxs) in the installer project (they can be downloaded from git). Modify the MaintenanceTypeDlg.wxsfile and delete the button and recovery label.

+3
source

Windows, ARPNO: ARPNOMODIFY ( , ), ARPNOREPAIR ARPNOREMOVE. " ".

, .

+1

WixUI_Mode MaintenanceTypeDlg.wxs, <Property Id="ARPNOMODIFY" Value="1"/> WixUI_HK.wxs.

0

Source: https://habr.com/ru/post/1775975/


All Articles