github.com/nuvolaris/nuv@v0.0.0-20240511174247-a74e3a52bfd8/bin/windows/templates/LicenseAgreementDlg_HK.wxs (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!--
     3    ~ Licensed to the Apache Software Foundation (ASF) under one
     4    ~ or more contributor license agreements.  See the NOTICE file
     5    ~ distributed with this work for additional information
     6    ~ regarding copyright ownership.  The ASF licenses this file
     7    ~ to you under the Apache License, Version 2.0 (the
     8    ~ "License"); you may not use this file except in compliance
     9    ~ with the License.  You may obtain a copy of the License at
    10    ~
    11    ~   http://www.apache.org/licenses/LICENSE-2.0
    12    ~
    13    ~ Unless required by applicable law or agreed to in writing,
    14    ~ software distributed under the License is distributed on an
    15    ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    16    ~ KIND, either express or implied.  See the License for the
    17    ~ specific language governing permissions and limitations
    18    ~ under the License.
    19  -->
    20  <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    21     <Fragment>
    22        <UI>
    23           <Dialog Id="LicenseAgreementDlg_HK" Width="370" Height="270" Title="!(loc.LicenseAgreementDlg_Title)">
    24              <Control Id="LicenseAcceptedCheckBox" Type="CheckBox" X="20" Y="207" Width="330" Height="18" CheckBoxValue="1" Property="LicenseAccepted"
    25              Text="!(loc.LicenseAgreementDlgLicenseAcceptedCheckBox)" />
    26              <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
    27              <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)">
    28                 <Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg">CostingComplete = 1</Publish>
    29                 <Condition Action="disable"><![CDATA[LicenseAccepted <> "1"]]></Condition>
    30                 <Condition Action="enable">LicenseAccepted = "1"</Condition>
    31              </Control>
    32              <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
    33                 <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
    34              </Control>
    35              <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.LicenseAgreementDlgBannerBitmap)" />
    36              <Control Id="LicenseText" Type="ScrollableText" X="20" Y="60" Width="330" Height="140" Sunken="yes" TabSkip="no">
    37  
    38              {{if gt (.License | len) 0}}
    39              <Text SourceFile="{{.License}}" />
    40              {{end}}
    41  
    42              </Control>
    43              <Control Id="Print" Type="PushButton" X="112" Y="243" Width="56" Height="17" Text="!(loc.WixUIPrint)">
    44                 <Publish Event="DoAction" Value="WixUIPrintEula">1</Publish>
    45              </Control>
    46              <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
    47              <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
    48              <Control Id="Description" Type="Text" X="25" Y="23" Width="340" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.LicenseAgreementDlgDescription)" />
    49              <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.LicenseAgreementDlgTitle)" />
    50           </Dialog>
    51        </UI>
    52     </Fragment>
    53  </Wix>