diff options
Diffstat (limited to '')
-rw-r--r-- | src/wixlib/CustomizeDlg.wxs | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/wixlib/CustomizeDlg.wxs b/src/wixlib/CustomizeDlg.wxs index 79fcef39..12541d5b 100644 --- a/src/wixlib/CustomizeDlg.wxs +++ b/src/wixlib/CustomizeDlg.wxs | |||
@@ -1,5 +1,4 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | 2 | ||
4 | 3 | ||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
@@ -7,17 +6,15 @@ | |||
7 | <UI> | 6 | <UI> |
8 | <Dialog Id="CustomizeDlg" Width="370" Height="270" Title="!(loc.CustomizeDlg_Title)" TrackDiskSpace="yes"> | 7 | <Dialog Id="CustomizeDlg" Width="370" Height="270" Title="!(loc.CustomizeDlg_Title)" TrackDiskSpace="yes"> |
9 | <Control Id="Tree" Type="SelectionTree" X="25" Y="85" Width="175" Height="115" Property="_BrowseProperty" Sunken="yes" TabSkip="no" Text="!(loc.CustomizeDlgTree)" /> | 8 | <Control Id="Tree" Type="SelectionTree" X="25" Y="85" Width="175" Height="115" Property="_BrowseProperty" Sunken="yes" TabSkip="no" Text="!(loc.CustomizeDlgTree)" /> |
10 | <Control Id="Browse" Type="PushButton" X="294" Y="210" Width="66" Height="17" Text="!(loc.CustomizeDlgBrowse)"> | 9 | <Control Id="Browse" Type="PushButton" X="294" Y="210" Width="66" Height="17" Text="!(loc.CustomizeDlgBrowse)" HideCondition="Installed" DisableCondition="Installed"> |
11 | <Publish Event="SelectionBrowse" Value="BrowseDlg">1</Publish> | 10 | <Publish Event="SelectionBrowse" Value="BrowseDlg" /> |
12 | <Condition Action="hide">Installed</Condition> | ||
13 | <Condition Action="disable">Installed</Condition> | ||
14 | </Control> | 11 | </Control> |
15 | <Control Id="Reset" Type="PushButton" X="10" Y="243" Width="81" Height="17" Text="!(loc.CustomizeDlgReset)"> | 12 | <Control Id="Reset" Type="PushButton" X="10" Y="243" Width="81" Height="17" Text="!(loc.CustomizeDlgReset)"> |
16 | <Publish Event="Reset" Value="0">1</Publish> | 13 | <Publish Event="Reset" Value="0" /> |
17 | <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> | 14 | <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> |
18 | </Control> | 15 | </Control> |
19 | <Control Id="DiskCost" Type="PushButton" X="91" Y="243" Width="100" Height="17" Text="!(loc.CustomizeDlgDiskCost)"> | 16 | <Control Id="DiskCost" Type="PushButton" X="91" Y="243" Width="100" Height="17" Text="!(loc.CustomizeDlgDiskCost)"> |
20 | <Publish Event="SpawnDialog" Value="DiskCostDlg">1</Publish> | 17 | <Publish Event="SpawnDialog" Value="DiskCostDlg" /> |
21 | <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> | 18 | <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> |
22 | </Control> | 19 | </Control> |
23 | <Control Id="Back" Type="PushButton" X="192" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" /> | 20 | <Control Id="Back" Type="PushButton" X="192" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" /> |
@@ -25,7 +22,7 @@ | |||
25 | <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> | 22 | <Subscribe Event="SelectionNoItems" Attribute="Enabled" /> |
26 | </Control> | 23 | </Control> |
27 | <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> | 24 | <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> |
28 | <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> | 25 | <Publish Event="SpawnDialog" Value="CancelDlg" /> |
29 | </Control> | 26 | </Control> |
30 | <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.CustomizeDlgBannerBitmap)" /> | 27 | <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.CustomizeDlgBannerBitmap)" /> |
31 | <Control Id="Text" Type="Text" X="25" Y="55" Width="320" Height="20" Text="!(loc.CustomizeDlgText)" /> | 28 | <Control Id="Text" Type="Text" X="25" Y="55" Width="320" Height="20" Text="!(loc.CustomizeDlgText)" /> |
@@ -40,14 +37,12 @@ | |||
40 | <Control Id="ItemSize" Type="Text" X="215" Y="140" Width="131" Height="50" Text="!(loc.CustomizeDlgItemSize)"> | 37 | <Control Id="ItemSize" Type="Text" X="215" Y="140" Width="131" Height="50" Text="!(loc.CustomizeDlgItemSize)"> |
41 | <Subscribe Event="SelectionSize" Attribute="Text" /> | 38 | <Subscribe Event="SelectionSize" Attribute="Text" /> |
42 | </Control> | 39 | </Control> |
43 | <Control Id="Location" Type="Text" X="90" Y="210" Width="200" Height="20" Text="!(loc.CustomizeDlgLocation)"> | 40 | <Control Id="Location" Type="Text" X="90" Y="210" Width="200" Height="20" Text="!(loc.CustomizeDlgLocation)" HideCondition="Installed"> |
44 | <Subscribe Event="SelectionPath" Attribute="Text" /> | 41 | <Subscribe Event="SelectionPath" Attribute="Text" /> |
45 | <Subscribe Event="SelectionPathOn" Attribute="Visible" /> | 42 | <Subscribe Event="SelectionPathOn" Attribute="Visible" /> |
46 | <Condition Action="hide">Installed</Condition> | ||
47 | </Control> | 43 | </Control> |
48 | <Control Id="LocationLabel" Type="Text" X="25" Y="210" Width="65" Height="10" Text="!(loc.CustomizeDlgLocationLabel)"> | 44 | <Control Id="LocationLabel" Type="Text" X="25" Y="210" Width="65" Height="10" Text="!(loc.CustomizeDlgLocationLabel)" HideCondition="Installed"> |
49 | <Subscribe Event="SelectionPathOn" Attribute="Visible" /> | 45 | <Subscribe Event="SelectionPathOn" Attribute="Visible" /> |
50 | <Condition Action="hide">Installed</Condition> | ||
51 | </Control> | 46 | </Control> |
52 | </Dialog> | 47 | </Dialog> |
53 | </UI> | 48 | </UI> |