summaryrefslogtreecommitdiff
path: root/windows/README.rst
diff options
context:
space:
mode:
authorAlin Gabriel Serdean <aserdean@cloudbasesolutions.com>2015-06-06 01:06:30 +0300
committerGurucharan Shetty <gshetty@nicira.com>2015-06-07 14:40:52 -0700
commitd183efc22b2b0b84c341500a73f567f98f4d00f4 (patch)
treeea00fa2aa7c25eec4049e9e58b89b644c3d2fe2e /windows/README.rst
parentd8485a90af4ca1448ed7e33354994c97785c851d (diff)
downloadopenvswitch-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/README.rst')
-rw-r--r--windows/README.rst48
1 files changed, 48 insertions, 0 deletions
diff --git a/windows/README.rst b/windows/README.rst
new file mode 100644
index 000000000..37fb98d5a
--- /dev/null
+++ b/windows/README.rst
@@ -0,0 +1,48 @@
+Open vSwitch Windows installer
+==============================
+
+This project generates a MSI installer for Open vSwitch on Windows, including
+CLI executables, services and the Hyper-V vswitch forwarding extension.
+
+Requirements
+------------
+
+Visual Studio 2013 community, professional, premium or ultimate edition
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Visual Studio Community 2013 is freely available at:
+https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx
+
+WiX Toolset 3.9
+^^^^^^^^^^^^^^^
+
+Download and install from:
+http://wixtoolset.org/releases/v3.9/stable
+
+Microsoft_VC120_CRT_x86.msm
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+This Windows merge module is available with Visual Studio and contains the
+Visual C++ 2013 x86 runtime redistributables files.
+Copy the file in the *Redist* directory.
+
+Open vSwitch installer
+----------------------
+
+The installer will be generated under the following path:
+* windows\ovs-windows-installer\bin\Release\OpenvSwitch.msi
+
+Note: the kernel driver needs to be signed.
+
+
+Build instructions
+------------------
+
+Build the solution in the Visual Studio IDE or via command line:
+
+ msbuild ovs-windows-installer.sln /p:Platform=x86 /p:Configuration=Release
+
+Silent installation
+-------------------
+
+ msiexec /i OpenvSwitch.msi ADDLOCAL=OpenvSwitchCLI,OpenvSwitchDriver /l*v log.txt