Version 2.3.4 I001 WSUS/LUP (maybe: NSIS installer problems)

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
ChristianWohlgemuth
OpenVpn Newbie
Posts: 1
Joined: Thu May 29, 2014 12:54 pm

Version 2.3.4 I001 WSUS/LUP (maybe: NSIS installer problems)

Post by ChristianWohlgemuth » Thu May 29, 2014 1:24 pm

Hello,

i've some problems with the new version 2.3.4 I001 and the NSIS installer.
Since version 2.3.3 I003 i've used a VB Script und make a EXE with iexpress.

Procedure:
  1. create VB Script
  2. create EXE with iexpress and includes follow files:
    1. VB Script (install.vbs)
    2. OpenVPN Setup (openvpn-install-2.3.4-I001-x86_64.exe)
    3. runasspc.exe
    4. crypt.spc
    5. OpenVPN GUI.lnk
    inside the dreated EXE into LUP and approve for a test group
the VB Script:

Code: Select all

' VB Script Document
option explicit
dim WshShell, fso
Set WshShell = WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
WshShell.Run "openvpn-install-2.3.3-I001-x86_64.exe /S /SELECT_SHORTCUTS=0 /SELECT_OPENVPN=1 /SELECT_SERVICE=0 /SELECT_TAP=1 /SELECT_OPENVPNGUI=1 /SELECT_ASSOCIATIONS=1 /SELECT_OPENSSL_UTILITIES=0 /SELECT_EASYRSA=0 /SELECT_PATH=1 /SELECT_OPENSSLDLLS=1 /SELECT_LZODLLS=1 /SELECT_PKCS11DLLS=1", 1, TRUE
fso.CopyFile "crypt.spc", WshShell.ExpandEnvironmentStrings("%PROGRAMFILES%") & "\OpenVPN\bin\", TRUE
fso.CopyFile "runasspc.exe", WshShell.ExpandEnvironmentStrings("%PROGRAMFILES%") & "\OpenVPN\bin\", TRUE
fso.CreateFolder WshShell.ExpandEnvironmentStrings("%ALLUSERSPROFILE%") & "\Microsoft\Windows\Start Menu\Programs\OpenVPN\"
fso.CopyFile "OpenVPN GUI.lnk", WshShell.ExpandEnvironmentStrings("%ALLUSERSPROFILE%") & "\Microsoft\Windows\Start Menu\Programs\OpenVPN\", TRUE
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\log_append", "1", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\allow_edit", "0", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\allow_service", "0", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\allow_password", "0", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\allow_proxy", "0", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\service_only", "0", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\show_balloon", "1", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\silent_connection", "0", "REG_SZ"
WshShell.RegWrite "HKLM\SOFTWARE\OpenVPN-GUI\show_script_window", "1", "REG_SZ"
when i use the new Version 2.3.4 I001 the Windows Installer give me an error: (%WINDIR%\WindowsUpdate.log)

Code: Select all

2014-05-29   12:10:28:969   5456   11cc   Misc   ===========  Logging initialized (build: 7.6.7600.256, tz: +0200)  ===========
2014-05-29   12:10:28:969   5456   11cc   Misc     = Process: C:\windows\system32\wuauclt.exe
2014-05-29   12:10:28:969   5456   11cc   Misc     = Module: C:\windows\system32\wuaueng.dll
2014-05-29   12:10:28:969   5456   11cc   Handler   :::::::::::::
2014-05-29   12:10:28:969   5456   11cc   Handler   :: START ::  Handler: Command Line Install
2014-05-29   12:10:28:969   5456   11cc   Handler   :::::::::
2014-05-29   12:10:28:969   5456   11cc   Handler     : Updates to install = 1
2014-05-29   12:10:45:804   5456   11cc   Handler     : WARNING: Command line install completed. Return code = 0x00000bc2, Result = Failed, Reboot required = false
2014-05-29   12:10:45:804   5456   11cc   Handler     : WARNING: Exit code = 0x8024200B
2014-05-29   12:10:45:804   5456   11cc   Handler   :::::::::
2014-05-29   12:10:45:804   5456   11cc   Handler   ::  END  ::  Handler: Command Line Install
2014-05-29   12:10:45:804   5456   11cc   Handler   :::::::::::::
2014-05-29   12:10:45:804   1168   128   AU   >>##  RESUMED  ## AU: Installing update [UpdateId = {87FEE29C-5D8F-4E2D-BCF8-A9DC2314F343}]
2014-05-29   12:10:45:804   1168   128   AU     # WARNING: Install failed, error = 0x80070643 / 0x00000BC2
i've seen a differenz between the $PLUGINDIR:
Image

maybe is this the problem?

thank

Post Reply