/[eiffelstudio]/trunk/Delivery/scripts/windows/install/interface/DialogViewLicenseAgreement.wxs
ViewVC logotype

Contents of /trunk/Delivery/scripts/windows/install/interface/DialogViewLicenseAgreement.wxs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 66797 - (show annotations)
Tue Feb 20 23:26:02 2007 UTC (12 years, 11 months ago) by paulb
File size: 3644 byte(s)
Change UI to force user to click View before agreeing to license.
1 <?xml version="1.0"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <?include ..\includes\Preprocessors.wxi?>
4
5 <Fragment>
6 <UI Id="UI.dialog_license_agreement">
7 <Dialog Id="DialogViewLicenseAgreement" Width="375" Height="220" Title="[ProductName]">
8 <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="375" Height="222" TabSkip="no" Text="backdrop.bmp" />
9 <Control Id="Title" Type="Text" X="55" Y="14" Width="300" Height="22" Transparent="yes" NoPrefix="yes">
10 <Text>[BigFont]End-User License Agreement</Text>
11 </Control>
12 <Control Id="SubTitle" Type="Text" X="55" Y="37" Width="300" Height="15" Transparent="yes" NoPrefix="yes">
13 <Text>[SubTitleFont]Please read the following license agreement carefully!</Text>
14 </Control>
15 <Control Id="Description" Type="Text" Height="38" Width="356" X="9" Y="70" Transparent="yes">
16 <Text>Please review the license agreement carefully for [ProductName] by clicking the View button below. Once you have review the license agreement you may continue with installation for [ProductName].</Text>
17 </Control>
18 <!--<Control Id="AgreementText" Type="ScrollableText" X="9" Y="70" Width="357" Height="84" Sunken="yes" TabSkip="no">
19 <Text SourceFile="licenses\$(var.Product)\$(var.LicenseFile)"></Text>
20 </Control>-->
21
22 <!--<Control Id="ViewLarger" Type="PushButton" Height="17" Width="56" X="309" Y="158" Text="[Button_View]">
23 <Publish Event="SpawnDialog" Value="PromptViewLicenseAgreement">1</Publish>
24 </Control>-->
25 <Control Id="ViewLarger" Type="PushButton" Height="17" Width="56" X="310" Y="110" Text="[Button_View]">
26 <Publish Property="VIEWEDLICENSE" Value="1">1</Publish>
27 <Publish Event="SpawnDialog" Value="PromptViewLicenseAgreement">1</Publish>
28 </Control>
29 <Control Id="Agree" Type="PushButton" X="187" Y="193" Width="56" Height="17" Text="[Button_Agree]">
30 <Condition Action="enable"><![CDATA[VIEWEDLICENSE = "1"]]></Condition>
31 <Condition Action="disable"><![CDATA[VIEWEDLICENSE <> "1"]]></Condition>
32 <?ifdef EiffelStudio?>
33 <Publish Event="NewDialog" Value="DialogMissingFx"><![CDATA[FXINSTALLROOT = "0"]]></Publish>
34 <Publish Event="NewDialog" Value="DialogMissingMsCompiler"><![CDATA[FXINSTALLROOT <> "0" AND CHECKCCOMPILER = "1" AND HASMSCCOMPILER <> "1"]]></Publish>
35 <Publish Event="NewDialog" Value="DialogSelectFolder"><![CDATA[FXINSTALLROOT <> "0" AND (CHECKCCOMPILER = "0" OR HASMSCCOMPILER = "1")]]></Publish>
36 <?else?>
37 <?ifdef EiffelEnvision?>
38 <Publish Event="NewDialog" Value="DialogMissingMsCompiler"><![CDATA[CHECKCCOMPILER <> "0" AND HASMSCCOMPILER = "0"]]></Publish>
39 <Publish Event="NewDialog" Value="DialogVerifyReadyInstall"><![CDATA[CHECKCCOMPILER = "0" OR HASMSCCOMPILER <> "0"]]></Publish>
40 <?else?>
41 <Publish Event="NewDialog" Value="DialogSelectFolder">1</Publish>
42 <?endif?>
43 <?endif?>
44 </Control>
45 <Control Id="Disagree" Type="PushButton" X="242" Y="193" Width="56" Height="17" Default="yes" Text="[Button_Disagree]">
46 <Publish Event="SpawnDialog" Value="PromptCancelLicense">1</Publish>
47 </Control>
48 <Control Id="Cancel" Type="PushButton" X="309" Y="193" Width="56" Height="17" Cancel="yes" Text="[Button_Cancel]">
49 <Publish Event="SpawnDialog" Value="PromptCancelInstall">1</Publish>
50 </Control>
51 </Dialog>
52 </UI>
53 </Fragment>
54 </Wix>

  ViewVC Help
Powered by ViewVC 1.1.23