diff options
author | Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> | 2015-06-06 01:06:30 +0300 |
---|---|---|
committer | Gurucharan Shetty <gshetty@nicira.com> | 2015-06-07 14:40:52 -0700 |
commit | d183efc22b2b0b84c341500a73f567f98f4d00f4 (patch) | |
tree | ea00fa2aa7c25eec4049e9e58b89b644c3d2fe2e /windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs | |
parent | d8485a90af4ca1448ed7e33354994c97785c851d (diff) | |
download | openvswitch-d183efc22b2b0b84c341500a73f567f98f4d00f4.tar.gz |
This commit adds the windows installer to the OVS tree.
Requirements are the following:
Visual Studio Community 2013
WiX Toolset 3.9
Microsoft_VC120_CRT_x86.msm
More detailed information on the requirements and build instructions
can be found under:
https://github.com/cloudbase/ovs-windows-installer/blob/master/README.rst
To run and make the installer issue the following:
./boot.sh
./configure CC=./build-aux/cccl LD="`which link`" \
LIBS="-lws2_32 -liphlpapi" --prefix="C:/openvswitch/usr" \
--localstatedir="C:/openvswitch/var" --sysconfdir="C:/openvswitch/etc" \
--with-pthread="C:/pthread" --with-vstudiotarget="Release"
make clean && make -j16 windows_installer
To uninstall one could use the following Powershell commandlets:
$app = Get-WmiObject -Class Win32_Product | Where-Object `
{ $_.Name -match "Open Vswitch" }
$app.Uninstall()
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Co-authored-by: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
Signed-off-by: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs')
-rw-r--r-- | windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs b/windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs new file mode 100644 index 000000000..397ee04b4 --- /dev/null +++ b/windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + <copyright company="Cloudbase Solutions Srl"> + Copyright 2015 Cloudbase Solutions Srl + + Licensed under the Apache License, Version 2.0 (the "License"); you may + not use this file except in compliance with the License.You may obtain + a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the + License for the specific language governing permissions and limitations + under the License. + </copyright> +--> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <UI> + <Dialog Id="UserFinishDialog" Width="370" Height="270" Title="!(loc.UserExit_Title)"> + <Control Id="Title" Type="Text" X="135" Y="20" Width="210" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.UserExitTitle)" /> + <Control Id="Description" Type="Text" X="135" Y="80" Width="210" Height="80" Transparent="yes" NoPrefix="yes" Text="!(loc.UserExitDescription1) !(loc.UserExitDescription2)" /> + <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.UserExitBitmap)" /> + <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUICancel)" /> + <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" /> + <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> + <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIFinish)"> + <Publish Event="EndDialog" Value="Exit">1</Publish> + </Control> + </Dialog> + + <AdminUISequence> + <Show Dialog="UserFinishDialog" OnExit="cancel" Overridable="yes" /> + </AdminUISequence> + + <InstallUISequence> + <Show Dialog="UserFinishDialog" OnExit="cancel" Overridable="yes" /> + </InstallUISequence> + + </UI> + </Fragment> +</Wix>
\ No newline at end of file |