|
17 | 17 | <Text X="80" Y="40" Width="-12" Height="40" FontId="WindowBannerFont" Visible="yes" DisablePrefix="yes">#(loc.SubTitle)</Text> |
18 | 18 |
|
19 | 19 | <Page Name="Help"> |
20 | | - <Text X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" DisablePrefix="yes">#(loc.HelpHeader)</Text> |
21 | | - <Text X="12" Y="112" Width="-12" Height="-36" FontId="DefaultFont" DisablePrefix="yes">#(loc.HelpText)</Text> |
22 | | - <Button Name="HelpCancelButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
| 20 | + <Label Name="HelpHeader" X="148" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" HexStyle="00000000" DisablePrefix="yes">#(loc.HelpHeader)</Label> |
| 21 | + <Label Name="HelpText" X="148" Y="124" Width="-12" Height="-48" FontId="DefaultFont" HexStyle="00000000" DisablePrefix="yes">#(loc.HelpText)</Label> |
| 22 | + |
| 23 | + <Button Name="HelpCancelButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont"> |
23 | 24 | <Text>#(loc.HelpCloseButton)</Text> |
24 | 25 | <CloseWindowAction/> |
25 | 26 | </Button> |
26 | 27 | </Page> |
27 | 28 | <Page Name="Install"> |
28 | | - <Hypertext X="12" Y="90" Width="-12" Height="16" FontId="DefaultFont">#(loc.Welcome)</Hypertext> |
29 | | - <Hypertext X="12" Y="120" Width="-12" Height="44" FontId="DefaultFont" Name="InstallResetIIS" HideWhenDisabled="yes">#(loc.InstallResetIIS)</Hypertext> |
30 | | - <Hypertext X="12" Y="120" Width="-12" Height="44" FontId="DefaultFont" Name="InstallNoIIS" HideWhenDisabled="yes">#(loc.InstallNoIIS)</Hypertext> |
31 | | - <Hypertext Name="EulaAndPrivacyHyperlink" X="12" Y="180" Width="-12" Height="52" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.EulaPrivacy)</Hypertext> |
32 | | - <Checkbox Name="EulaAcceptCheckbox" X="-12" Y="-40" Width="260" Height="36" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.InstallAcceptCheckbox)</Checkbox> |
33 | | - <Button Name="InstallButton" X="-92" Y="-12" Width="96" Height="24" TabStop="yes" FontId="DefaultFont">#(loc.InstallInstallButton)</Button> |
34 | | - <Button Name="InstallCancelButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
35 | | - <Text>#(loc.InstallCloseButton)</Text> |
36 | | - <CloseWindowAction/> |
37 | | - </Button> |
38 | | - </Page> |
39 | | - <Page Name="FilesInUse"> |
40 | | - <Text X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" DisablePrefix="yes">#(loc.FilesInUseHeader)</Text> |
41 | | - <Text X="12" Y="120" Width="-12" Height="36" FontId="DefaultFont" DisablePrefix="yes">#(loc.FilesInUseLabel)</Text> |
42 | | - <Text Name="FilesInUseText" X="12" Y="150" Width="-12" Height="-86" FontId="DefaultFont" DisablePrefix="yes" HexStyle="0x0000C000"></Text> |
| 29 | + <Label Name="WelcomeHeader" X="148" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" HexStyle="000000">#(loc.Welcome)</Label> |
43 | 30 |
|
44 | | - <Button Name="FilesInUseCloseRadioButton" X="12" Y="-60" Width="-12" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes" HexStyle="0x000009">#(loc.FilesInUseCloseRadioButton)</Button> |
45 | | - <Button Name="FilesInUseDontCloseRadioButton" X="12" Y="-40" Width="-12" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes" HexStyle="0x000009">#(loc.FilesInUseDontCloseRadioButton)</Button> |
| 31 | + <Hypertext X="148" Y="120" Width="-12" Height="44" FontId="DefaultFont" Name="InstallResetIIS" HideWhenDisabled="yes">#(loc.InstallResetIIS)</Hypertext> |
| 32 | + <Hypertext X="148" Y="120" Width="-12" Height="44" FontId="DefaultFont" Name="InstallNoIIS" HideWhenDisabled="yes">#(loc.InstallNoIIS)</Hypertext> |
46 | 33 |
|
47 | | - <Button Name="FilesInUseOkButton" X="-92" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.FilesInUseOkButton)</Button> |
48 | | - <Button Name="FilesInUseCancelButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
49 | | - <Text>#(loc.FilesInUseCancelButton)</Text> |
| 34 | + <!-- Align the label with the top of the logo on the left. --> |
| 35 | + <Label Name="LicenseTermsAndPolicies" X="148" Y="288" Width="-12" Height="32" FontId="DefaultFont" HexStyle="000000">#(loc.LicenseAssent)</Label> |
| 36 | + |
| 37 | + <!-- These controls have larger vertical spacing to improve readability (20 instead of 16). --> |
| 38 | + <Hypertext Name="PrivacyStatementLink" X="172" Y="320" Width="-12" Height="16" FontId="DefaultFont" TabStop="yes" HexStyle="000000" HideWhenDisabled="yes"><A HREF="https://aka.ms/dev-privacy">Privacy Statement</A></Hypertext> |
| 39 | + <Hypertext Name="DotNetCLITelemetryLink" X="172" Y="340" Width="-12" Height="16" FontId="DefaultFont" TabStop="yes" HexStyle="000000" HideWhenDisabled="yes"><A HREF="https://aka.ms/dotnet-license-windows">Licensing Information for .NET</A></Hypertext> |
| 40 | + <Hypertext Name="DotNetEulaLink" X="172" Y="360" Width="-12" Height="16" FontId="DefaultFont" TabStop="yes" HexStyle="000000" HideWhenDisabled="yes"><A HREF="https://aka.ms/dotnet-cli-telemetry">Telemetry collection and opt-out</A></Hypertext> |
| 41 | + <Button Name="InstallButton" X="-124" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont">#(loc.InstallInstallButton)</Button> |
| 42 | + <Button Name="InstallCancelButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont"> |
| 43 | + <Text>#(loc.InstallCloseButton)</Text> |
50 | 44 | <CloseWindowAction/> |
51 | 45 | </Button> |
52 | 46 | </Page> |
53 | 47 | <Page Name="Progress"> |
54 | | - <Text X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" DisablePrefix="yes">#(loc.ProgressHeader)</Text> |
55 | | - <Text X="12" Y="120" Width="90" Height="16" FontId="DefaultFont" DisablePrefix="yes">#(loc.ProgressLabel)</Text> |
56 | | - <Text Name="OverallProgressPackageText" X="104" Y="120" Width="-12" Height="16" FontId="DefaultFont" DisablePrefix="yes">#(loc.OverallProgressPackageText)</Text> |
57 | | - <Progressbar Name="OverallCalculatedProgressbar" X="12" Y="144" Width="-12" Height="16" /> |
58 | | - <Button Name="ProgressCancelButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
| 48 | + <Label HexStyle="000000" Name="ProgressHeader" X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" DisablePrefix="yes">#(loc.ProgressHeader)</Label> |
| 49 | + <Label HexStyle="000000" Name="ProgressLabel" X="12" Y="124" Width="96" Height="16" FontId="DefaultFont" DisablePrefix="yes">#(loc.ProgressLabel)</Label> |
| 50 | + <Label HexStyle="000000" Name="OverallProgressPackageText" X="108" Y="124" Width="-12" Height="16" FontId="DefaultFont" DisablePrefix="yes">#(loc.OverallProgressPackageText)</Label> |
| 51 | + |
| 52 | + <Progressbar Name="OverallCalculatedProgressbar" X="12" Y="152" Width="-12" Height="20" /> |
| 53 | + |
| 54 | + <Button Name="ProgressCancelButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont"> |
59 | 55 | <Text>#(loc.ProgressCancelButton)</Text> |
60 | 56 | <CloseWindowAction/> |
61 | 57 | </Button> |
62 | 58 | </Page> |
63 | 59 | <Page Name="Modify"> |
64 | | - <Text X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" DisablePrefix="yes">#(loc.ModifyHeader)</Text> |
65 | | - <Hypertext X="12" Y="120" Width="-12" Height="44" FontId="DefaultFont" Name="ModifyResetIIS" HideWhenDisabled="yes">#(loc.ModifyResetIIS)</Hypertext> |
66 | | - <Hypertext X="12" Y="120" Width="-12" Height="44" FontId="DefaultFont" Name="ModifyNoIIS" HideWhenDisabled="yes">#(loc.ModifyNoIIS)</Hypertext> |
67 | | - <Button Name="RepairButton" X="-172" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button> |
68 | | - <Button Name="UninstallButton" X="-92" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont">#(loc.ModifyUninstallButton)</Button> |
69 | | - <Button Name="ModifyCancelButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
| 60 | + <Label Name="ModifyHeader" X="148" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" DisablePrefix="yes">#(loc.ModifyHeader)</Label> |
| 61 | + |
| 62 | + <Label Name="ModifyTextIIS" X="148" Y="124" Width="-12" Height="-48" FontId="DefaultFont" HexStyle="00000000" DisablePrefix="yes">#(loc.ModifyResetIIS)</Label> |
| 63 | + <Label Name="ModifyTextNoIIS" X="148" Y="124" Width="-12" Height="-48" FontId="DefaultFont" HexStyle="00000000" DisablePrefix="yes">#(loc.ModifyNoIIS)</Label> |
| 64 | + |
| 65 | + <Button Name="RepairButton" X="-236" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button> |
| 66 | + <Button Name="UninstallButton" X="-124" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont">#(loc.ModifyUninstallButton)</Button> |
| 67 | + <Button Name="ModifyCancelButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont"> |
70 | 68 | <Text>#(loc.ModifyCloseButton)</Text> |
71 | 69 | <CloseWindowAction/> |
72 | 70 | </Button> |
73 | 71 | </Page> |
74 | 72 | <Page Name="Success"> |
75 | | - <Text Name="SuccessHeader" X="12" Y="80" Width="-12" Height="60" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessHeader)</Text> |
76 | | - <Text Name="SuccessInstallHeader" X="12" Y="80" Width="-12" Height="60" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessInstallHeader)</Text> |
77 | | - <Text Name="SuccessRepairHeader" X="12" Y="80" Width="-12" Height="60" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessRepairHeader)</Text> |
78 | | - <Text Name="SuccessUninstallHeader" X="12" Y="80" Width="-12" Height="60" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessUninstallHeader)</Text> |
79 | | - <Button Name="LaunchButton" X="-92" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.SuccessLaunchButton)</Button> |
80 | | - <Text Name="SuccessRestartText" X="-12" Y="-52" Width="400" Height="36" FontId="DefaultFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessRestartText)</Text> |
81 | | - <Button Name="SuccessRestartButton" X="-92" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button> |
82 | | - <Button Name="SuccessCancelButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
| 73 | + <Label Name="SuccessHeader" X="148" Y="80" Width="-12" Height="32" HexStyle="00000000" FontId="PageHeaderFont"> |
| 74 | + <!-- Default text to display if none of the conditions are true. --> |
| 75 | + <Text>#(loc.SuccessHeader)</Text> |
| 76 | + <Text Condition="WixBundleAction = 2">#(loc.SuccessLayoutHeader)</Text> |
| 77 | + <Text Condition="WixBundleAction = 3">#(loc.SuccessUnsafeUninstallHeader)</Text> |
| 78 | + <Text Condition="WixBundleAction = 4">#(loc.SuccessUninstallHeader)</Text> |
| 79 | + <Text Condition="WixBundleAction = 5">#(loc.SuccessCacheHeader)</Text> |
| 80 | + <Text Condition="WixBundleAction = 6">#(loc.SuccessInstallHeader)</Text> |
| 81 | + <Text Condition="WixBundleAction = 7">#(loc.SuccessModifyHeader)</Text> |
| 82 | + <Text Condition="WixBundleAction = 8">#(loc.SuccessRepairHeader)</Text> |
| 83 | + </Label> |
| 84 | + |
| 85 | + <Label X="148" Y="-48" Width="-12" Height="34" FontId="DefaultFont" DisablePrefix="yes" VisibleCondition="WixStdBARestartRequired"> |
| 86 | + <Text>#(loc.SuccessRestartText)</Text> |
| 87 | + <Text Condition="WixBundleAction = 3">#(loc.SuccessUninstallRestartText)</Text> |
| 88 | + </Label> |
| 89 | + |
| 90 | + <!-- Calculate the relative offset as follows, assuming there are two buttons, right aligned: |
| 91 | + First button, X="-12" Width="100" |
| 92 | + Second button, X="-124" (-12 - 100 (width of first button) - 12 (gap between buttons)) --> |
| 93 | + <Button Name="SuccessRestartButton" X="-124" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button> |
| 94 | + <Button Name="SuccessCloseButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont"> |
83 | 95 | <Text>#(loc.SuccessCloseButton)</Text> |
84 | | - <CloseWindowAction/> |
| 96 | + <CloseWindowAction /> |
85 | 97 | </Button> |
86 | 98 | </Page> |
87 | 99 | <Page Name="Failure"> |
88 | | - <Text Name="FailureHeader" X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureHeader)</Text> |
89 | | - <Text Name="FailureInstallHeader" X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureInstallHeader)</Text> |
90 | | - <Text Name="FailureUninstallHeader" X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureUninstallHeader)</Text> |
91 | | - <Text Name="FailureRepairHeader" X="12" Y="80" Width="-12" Height="32" FontId="PageHeaderFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureRepairHeader)</Text> |
92 | | - <Hypertext Name="FailureLogFileLink" X="12" Y="120" Width="-12" Height="44" FontId="DefaultFont" TabStop="yes" HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext> |
93 | | - <Hypertext Name="FailureMessageText" X="20" Y="164" Width="-12" Height="52" FontId="ErrorFont" TabStop="yes" HideWhenDisabled="yes" /> |
94 | | - <Text Name="FailureRestartText" X="-12" Y="-52" Width="400" Height="36" FontId="DefaultFont" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureRestartText)</Text> |
95 | | - <Button Name="FailureRestartButton" X="-92" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button> |
96 | | - <Button Name="FailureCloseButton" X="-12" Y="-12" Width="76" Height="24" TabStop="yes" FontId="DefaultFont"> |
| 100 | + <Label Name="FailureHeader" X="148" Y="80" Width="-12" Height="32" HexStyle="00000000" FontId="PageHeaderFont"> |
| 101 | + <Text>#(loc.FailureHeader)</Text> |
| 102 | + <Text Condition="WixBundleAction = 2">#(loc.FailureLayoutHeader)</Text> |
| 103 | + <Text Condition="WixBundleAction = 3">#(loc.FailureUnsafeUninstallHeader)</Text> |
| 104 | + <Text Condition="WixBundleAction = 4">#(loc.FailureUninstallHeader)</Text> |
| 105 | + <Text Condition="WixBundleAction = 5">#(loc.FailureCacheHeader)</Text> |
| 106 | + <Text Condition="WixBundleAction = 6">#(loc.FailureInstallHeader)</Text> |
| 107 | + <Text Condition="WixBundleAction = 7">#(loc.FailureModifyHeader)</Text> |
| 108 | + <Text Condition="WixBundleAction = 8">#(loc.FailureRepairHeader)</Text> |
| 109 | + </Label> |
| 110 | + |
| 111 | + <!-- Reserve three lines of space (2 for the message plus a 3rd for a line break. --> |
| 112 | + <Hypertext HexStyle="000000" Name="FailureLogFileLink" X="148" Y="124" Width="-12" Height="48" FontId="DefaultFont" TabStop="yes" HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext> |
| 113 | + |
| 114 | + <!-- This element is updated by the bootstrapper application. Reserve 3 lines of space. --> |
| 115 | + <Hypertext HexStyle="000000" Name="FailureMessageText" X="148" Y="172" Width="-12" Height="48" FontId="ErrorFont" TabStop="yes" HideWhenDisabled="yes" /> |
| 116 | + |
| 117 | + <!-- Reserve two lines of space to accommodate localized content. --> |
| 118 | + <Label X="148" Y="-48" Width="-12" Height="32" FontId="DefaultFont" DisablePrefix="yes" VisibleCondition="WixStdBARestartRequired">#(loc.FailureRestartText)</Label> |
| 119 | + <Button Name="FailureRestartButton" X="-124" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button> |
| 120 | + <Button Name="FailureCloseButton" X="-12" Y="-12" Width="100" Height="24" TabStop="yes" FontId="DefaultFont"> |
97 | 121 | <Text>#(loc.FailureCloseButton)</Text> |
98 | 122 | <CloseWindowAction/> |
99 | 123 | </Button> |
|
0 commit comments