diff options
| author | Bob Arnson <bob@firegiant.com> | 2020-08-27 15:42:49 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2020-08-27 17:21:58 -0400 |
| commit | a261b7b528444f6f7e6e8277a4533dc54a8c4f0b (patch) | |
| tree | 0f3052fa97aa85575d33de413105ae080154eceb /src | |
| parent | 413660d8e47aebb875762db9530862690507cac7 (diff) | |
| download | wix-a261b7b528444f6f7e6e8277a4533dc54a8c4f0b.tar.gz wix-a261b7b528444f6f7e6e8277a4533dc54a8c4f0b.tar.bz2 wix-a261b7b528444f6f7e6e8277a4533dc54a8c4f0b.zip | |
UI side of https://github.com/wixtoolset/issues/issues/6164
Diffstat (limited to 'src')
| -rw-r--r-- | src/wixlib/MaintenanceTypeDlg.wxs | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/src/wixlib/MaintenanceTypeDlg.wxs b/src/wixlib/MaintenanceTypeDlg.wxs index 551bac54..b8cf6df0 100644 --- a/src/wixlib/MaintenanceTypeDlg.wxs +++ b/src/wixlib/MaintenanceTypeDlg.wxs | |||
| @@ -4,22 +4,44 @@ | |||
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <Fragment> | 5 | <Fragment> |
| 6 | <UI> | 6 | <UI> |
| 7 | <Property Id="BURNMSIMODIFY" Secure="yes" /> | ||
| 8 | <Property Id="BURNMSIREPAIR" Secure="yes" /> | ||
| 9 | <Property Id="BURNMSIUNINSTALL" Secure="yes" /> | ||
| 10 | |||
| 7 | <Dialog Id="MaintenanceTypeDlg" Width="370" Height="270" Title="!(loc.MaintenanceTypeDlg_Title)"> | 11 | <Dialog Id="MaintenanceTypeDlg" Width="370" Height="270" Title="!(loc.MaintenanceTypeDlg_Title)"> |
| 8 | <Control Id="ChangeButton" Type="PushButton" X="40" Y="65" Width="80" Height="17" ToolTip="!(loc.MaintenanceTypeDlgChangeButtonTooltip)" Default="yes" Text="!(loc.MaintenanceTypeDlgChangeButton)" DisableCondition="ARPNOMODIFY"> | 12 | |
| 13 | <Control Id="ChangeButton" Type="PushButton" X="40" Y="65" Width="80" Height="17" ToolTip="!(loc.MaintenanceTypeDlgChangeButtonTooltip)" Default="yes" Text="!(loc.MaintenanceTypeDlgChangeButton)" | ||
| 14 | DisableCondition="ARPNOMODIFY OR BURNMSIREPAIR OR BURNMSIUNINSTALL"> | ||
| 9 | <Publish Property="WixUI_InstallMode" Value="Change" /> | 15 | <Publish Property="WixUI_InstallMode" Value="Change" /> |
| 10 | </Control> | 16 | </Control> |
| 11 | <Control Id="ChangeText" Type="Text" X="60" Y="85" Width="280" Height="20" Text="!(loc.MaintenanceTypeDlgChangeText)" HideCondition="ARPNOMODIFY" /> | 17 | <Control Id="ChangeText" Type="Text" X="60" Y="85" Width="280" Height="20" Text="!(loc.MaintenanceTypeDlgChangeText)" |
| 12 | <Control Id="ChangeDisabledText" Type="Text" X="60" Y="85" Width="280" Height="20" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgChangeDisabledText)" Hidden="yes" ShowCondition="ARPNOMODIFY" /> | 18 | HideCondition="ARPNOMODIFY OR BURNMSIREPAIR OR BURNMSIUNINSTALL" |
| 13 | <Control Id="RepairButton" Type="PushButton" X="40" Y="118" Width="80" Height="17" ToolTip="!(loc.MaintenanceTypeDlgRepairButtonTooltip)" Text="!(loc.MaintenanceTypeDlgRepairButton)" DisableCondition="ARPNOREPAIR"> | 19 | /> |
| 20 | <Control Id="ChangeDisabledText" Type="Text" X="60" Y="85" Width="280" Height="20" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgChangeDisabledText)" | ||
| 21 | Hidden="yes" ShowCondition="ARPNOMODIFY OR BURNMSIREPAIR OR BURNMSIUNINSTALL" | ||
| 22 | /> | ||
| 23 | |||
| 24 | <Control Id="RepairButton" Type="PushButton" X="40" Y="118" Width="80" Height="17" ToolTip="!(loc.MaintenanceTypeDlgRepairButtonTooltip)" Text="!(loc.MaintenanceTypeDlgRepairButton)" | ||
| 25 | DisableCondition="ARPNOREPAIR OR BURNMSIMODIFY OR BURNMSIUNINSTALL"> | ||
| 14 | <Publish Property="WixUI_InstallMode" Value="Repair" /> | 26 | <Publish Property="WixUI_InstallMode" Value="Repair" /> |
| 15 | </Control> | 27 | </Control> |
| 16 | <Control Id="RepairText" Type="Text" X="60" Y="138" Width="280" Height="30" Text="!(loc.MaintenanceTypeDlgRepairText)" HideCondition="ARPNOREPAIR" /> | 28 | <Control Id="RepairText" Type="Text" X="60" Y="138" Width="280" Height="30" Text="!(loc.MaintenanceTypeDlgRepairText)" |
| 17 | <Control Id="RepairDisabledText" Type="Text" X="60" Y="138" Width="280" Height="30" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgRepairDisabledText)" Hidden="yes" ShowCondition="ARPNOREPAIR" /> | 29 | HideCondition="ARPNOREPAIR OR BURNMSIMODIFY OR BURNMSIUNINSTALL" |
| 18 | <Control Id="RemoveButton" Type="PushButton" X="40" Y="171" Width="80" Height="17" ToolTip="!(loc.MaintenanceTypeDlgRemoveButtonTooltip)" Text="!(loc.MaintenanceTypeDlgRemoveButton)" DisableCondition="ARPNOREMOVE"> | 30 | /> |
| 31 | <Control Id="RepairDisabledText" Type="Text" X="60" Y="138" Width="280" Height="30" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgRepairDisabledText)" | ||
| 32 | Hidden="yes" ShowCondition="ARPNOREPAIR OR BURNMSIMODIFY OR BURNMSIUNINSTALL" /> | ||
| 33 | |||
| 34 | <Control Id="RemoveButton" Type="PushButton" X="40" Y="171" Width="80" Height="17" ToolTip="!(loc.MaintenanceTypeDlgRemoveButtonTooltip)" Text="!(loc.MaintenanceTypeDlgRemoveButton)" | ||
| 35 | DisableCondition="ARPNOREMOVE OR BURNMSIREPAIR OR BURNMSIMODIFY"> | ||
| 19 | <Publish Property="WixUI_InstallMode" Value="Remove" /> | 36 | <Publish Property="WixUI_InstallMode" Value="Remove" /> |
| 20 | </Control> | 37 | </Control> |
| 21 | <Control Id="RemoveText" Type="Text" X="60" Y="191" Width="280" Height="20" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgRemoveText)" HideCondition="ARPNOREMOVE" /> | 38 | <Control Id="RemoveText" Type="Text" X="60" Y="191" Width="280" Height="20" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgRemoveText)" |
| 22 | <Control Id="RemoveDisabledText" Type="Text" X="60" Y="191" Width="280" Height="20" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgRemoveDisabledText)" Hidden="yes" ShowCondition="ARPNOREMOVE" /> | 39 | HideCondition="ARPNOREMOVE OR BURNMSIREPAIR OR BURNMSIMODIFY" |
| 40 | /> | ||
| 41 | <Control Id="RemoveDisabledText" Type="Text" X="60" Y="191" Width="280" Height="20" NoPrefix="yes" Text="!(loc.MaintenanceTypeDlgRemoveDisabledText)" Hidden="yes" | ||
| 42 | ShowCondition="ARPNOREMOVE OR BURNMSIREPAIR OR BURNMSIMODIFY" | ||
| 43 | /> | ||
| 44 | |||
| 23 | <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" /> | 45 | <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" /> |
| 24 | <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUINext)" /> | 46 | <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUINext)" /> |
| 25 | <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> | 47 | <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> |
