diff --git a/src/lib/plugin/ns/CMakeLists.txt b/src/lib/plugin/ns/CMakeLists.txt
index 06cd7d85c..8a9baab4e 100644
--- a/src/lib/plugin/ns/CMakeLists.txt
+++ b/src/lib/plugin/ns/CMakeLists.txt
@@ -65,6 +65,20 @@ if (WIN32)
..\\..\\..\\..\\..\\lib\\${CMAKE_CFG_INTDIR}\\ns.dll
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}\\plugins\\
)
+ add_custom_command(
+ TARGET ns
+ POST_BUILD
+ COMMAND xcopy /Y /Q
+ ..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\libeay32.dll
+ ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
+ )
+ add_custom_command(
+ TARGET ns
+ POST_BUILD
+ COMMAND xcopy /Y /Q
+ ..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\ssleay32.dll
+ ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
+ )
else()
if (APPLE)
add_custom_command(
diff --git a/src/setup/win32/Product.wxs b/src/setup/win32/Product.wxs
index 1f4e9beb1..df61f862b 100644
--- a/src/setup/win32/Product.wxs
+++ b/src/setup/win32/Product.wxs
@@ -90,6 +90,8 @@
+
+