Install/uninstall dialer DLL as part of Windows installer operation
PATCH 1/1 Install/uninstall dialer DLL as part of Windows installer operation
From 30e851ffafcc9ad76928d796f9b18144c8d79040 Mon Sep 17 00:00:00 2001
From: Kevin Kane <[email protected]...>
Date: Fri, 13 Jul 2018 09:47:43 -0700
Subject: Install/uninstall dialer DLL as part of Windows installer operation
Signed-off-by Kevin Kane <[email protected]...>
---
windows-nsis/openvpn.nsi | 4 ++++
1 file changed, 4 insertions(+)
windows-nsis/openvpn.nsi +0 -0
@@ -1,6 +1,7 @@
; ****************************************************************************
; * Copyright (C) 2002-2010 OpenVPN Technologies, Inc. *
; * Copyright (C) 2012 Alon Bar-Lev <[email protected]...> *
+; * Portions Copyright (C) 2018 Microsoft Corporation *
; * This program is free software; you can redistribute it and/or modify * ; * it under the terms of the GNU General Public License version 2 * ; * as published by the Free Software Foundation. *
@@ -443,8 +444,10 @@ Section /o "${PACKAGE_NAME} GUI" SecOpenVPNGUI
${If} ${RunningX64}
File "${OPENVPN_ROOT_X86_64}\bin\openvpn-gui.exe"
+ File "${OPENVPN_ROOT_X86_64}\bin\libopenvpndialer-0.dll"
${Else}
File "${OPENVPN_ROOT_I686}\bin\openvpn-gui.exe"
+ File "${OPENVPN_ROOT_I686}\bin\libopenvpndialer-0.dll"
${EndIf}
${If} ${SectionIsSelected} ${SecAddShortcutsWorkaround}
@@ -770,6 +773,7 @@ Section "Uninstall"
${EndIf}
Delete "$INSTDIR\bin\openvpn-gui.exe"
+ Delete "$INSTDIR\bin\libopenvpndialer-0.dll"
Delete "$DESKTOP\${PACKAGE_NAME} GUI.lnk"
Delete "$INSTDIR\bin\openvpn.exe"--
2.17.1.windows.2