This commit adds the windows installer to the OVS tree.
[cascardo/ovs.git] / windows / ovs-windows-installer / Dialogs / BeginningDialog.wxs
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   <copyright company="Cloudbase Solutions Srl">
4     Copyright 2015 Cloudbase Solutions Srl
5
6     Licensed under the Apache License, Version 2.0 (the "License"); you may
7     not use this file except in compliance with the License.You may obtain
8     a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14     WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the
15     License for the specific language governing permissions and limitations
16     under the License.
17   </copyright>
18 -->
19 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
20   <Fragment>
21     <UI>
22       <Dialog Id="BeginningDialog" Width="370" Height="270" Title="!(loc.WelcomeDlg_Title)">
23         <Control Id="Title" Type="Text" X="135" Y="20" Width="212" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgTitle)" />
24         <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
25         <Control Id="Description" Type="Text" X="135" Y="80" Width="212" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeDlgDescription)">
26           <Condition Action="show">NOT Installed OR NOT PATCH</Condition>
27           <Condition Action="hide">Installed AND PATCH</Condition>
28         </Control>
29         <Control Id="PatchDescription" Type="Text" X="135" Y="80" Width="212" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.WelcomeUpdateDlgDescriptionUpdate)">
30           <Condition Action="show">Installed AND PATCH</Condition>
31           <Condition Action="hide">NOT Installed OR NOT PATCH</Condition>
32         </Control>
33         <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.WelcomeDlgBitmap)" />
34         <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
35         <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)">
36           <Publish Property="WixUI_InstallMode" Value="Update">Installed AND PATCH</Publish>
37         </Control>
38         <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
39           <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
40         </Control>
41       </Dialog>
42
43       <InstallUISequence>
44         <Show Dialog="BeginningDialog" Before="ProgressDlg" Overridable="yes">NOT Installed OR PATCH</Show>
45       </InstallUISequence>
46
47     </UI>
48   </Fragment>
49 </Wix>