63 lines
4.7 KiB
Plaintext
63 lines
4.7 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--
|
||
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
|
||
|
The use and distribution terms for this software are covered by the
|
||
|
Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
|
||
|
which can be found in the file CPL.TXT at the root of this distribution.
|
||
|
By using this software in any fashion, you are agreeing to be bound by
|
||
|
the terms of this license.
|
||
|
|
||
|
You must not remove this notice, or any other, from this software.
|
||
|
-->
|
||
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||
|
<?include $(sys.CURRENTDIR)\Config.wxi?>
|
||
|
<Fragment>
|
||
|
<UI>
|
||
|
<Dialog Id="MyWelcomeEulaDlg" Width="370" Height="270" Title="!(loc.WelcomeEulaDlg_Title)">
|
||
|
<!--
|
||
|
<Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.WelcomeEulaDlgBitmap)" />
|
||
|
-->
|
||
|
<Control Id="Title" Type="Text" X="16" Y="6" Width="336" Height="30" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeEulaDlgTitle)" />
|
||
|
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
|
||
|
<Control Id="LicenseAcceptedCheckBox" Type="CheckBox" X="16" Y="207" Width="340" Height="18" CheckBoxValue="1" Property="LicenseAccepted" Text="!(loc.WelcomeEulaDlgLicenseAcceptedCheckBox)" />
|
||
|
<Control Id="Print" Type="PushButton" X="88" Y="243" Width="56" Height="17" Text="!(loc.WixUIPrint)">
|
||
|
<Publish Event="DoAction" Value="WixUIPrintEula">1</Publish>
|
||
|
</Control>
|
||
|
<Control Id="Back" Type="PushButton" X="156" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
|
||
|
<Control Id="Install" Type="PushButton" ElevationShield="yes" X="212" Y="243" Width="80" Height="17" Default="yes" Text="!(loc.WelcomeEulaDlgInstall)" Hidden="yes">
|
||
|
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1</Publish>
|
||
|
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
|
||
|
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>
|
||
|
<Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
|
||
|
<Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
|
||
|
<Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>
|
||
|
<Condition Action="disable"><![CDATA[LicenseAccepted <> "1"]]></Condition>
|
||
|
<Condition Action="enable">LicenseAccepted = "1"</Condition>
|
||
|
<Condition Action="show">ALLUSERS</Condition>
|
||
|
</Control>
|
||
|
<Control Id="InstallNoShield" Type="PushButton" ElevationShield="no" X="212" Y="243" Width="80" Height="17" Default="yes" Text="!(loc.WelcomeEulaDlgInstall)" Hidden="yes">
|
||
|
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1</Publish>
|
||
|
<Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
|
||
|
<Publish Event="SpawnDialog" Value="OutOfRbDiskDlg">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT PROMPTROLLBACKCOST)</Publish>
|
||
|
<Publish Event="EndDialog" Value="Return">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
|
||
|
<Publish Event="EnableRollback" Value="False">OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 0 AND PROMPTROLLBACKCOST="D"</Publish>
|
||
|
<Publish Event="SpawnDialog" Value="OutOfDiskDlg">(OutOfDiskSpace = 1 AND OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND PROMPTROLLBACKCOST="F")</Publish>
|
||
|
<Condition Action="disable"><![CDATA[LicenseAccepted <> "1"]]></Condition>
|
||
|
<Condition Action="enable">LicenseAccepted = "1"</Condition>
|
||
|
<Condition Action="show">NOT ALLUSERS</Condition>
|
||
|
</Control>
|
||
|
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
|
||
|
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
|
||
|
</Control>
|
||
|
<Control Id="LicenseText" Type="ScrollableText" X="16" Y="36" Width="340" Height="162" Sunken="yes" TabSkip="no">
|
||
|
<Text SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" />
|
||
|
</Control>
|
||
|
</Dialog>
|
||
|
</UI>
|
||
|
|
||
|
<InstallUISequence>
|
||
|
<Show Dialog="MyWelcomeEulaDlg" Before="ProgressDlg" Overridable="yes">NOT Installed</Show>
|
||
|
</InstallUISequence>
|
||
|
</Fragment>
|
||
|
</Wix>
|