Skip to contentSkip to conversation

Help testing OpenVPN 2.2-rc Windows installer?

Openvpn-devel Samuli Seppänen 3 participants 8 messages Feb 4, 2011 – Feb 9, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

As some of you may be aware, I've been working on the new Python-based OpenVPN Windows buildsystem; now the first fully functional OpenVPN installer is ready:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-1.exe>

However, I've only done very limited testing. On Windows 7 64-bit platform the following seems to work:

- installing and uninstalling all userspace components
- installing and uninstalling the (64-bit) TAP driver
- running OpenVPN as service
- running OpenVPN using the OpenVPN-GUI

I've only noticed two small issues on the Win7 64-bit platform:

- uninstall does not remove the OpenVPN start menu entries properly (remove manually using right click -> delete)
- "View README" at the end of install does not work

Note that the installer itself is not signed, even though the TAP drivers are. This will be fixed in the final 2.2-rc release.

Now, I'd need help in verifying that both the installer and the included executables work properly on all supported 32 and 64-bit Windows platforms (XP and later). If you can, please test the installer on some _non-critical system_ and report back, whether everything works properly or not. Once all installer bugs are squashed, I'll make the openvpn-2.2-rc release. After that I'll clean up my buildsystem patches, send them here for review and then update the Windows building Wiki page:

<https://community.openvpn.net/openvpn/wiki/BuildingOnWindows>

Note that soon we'll be able to provide (untested) weekly/biweekly snapshot builds for Windows. This will benefit those who require the latest and greatest functionality.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

Hi Samuli,

Quoted 25 lines · Samuli Seppänen

Hi,

As some of you may be aware, I've been working on the new Python-based OpenVPN Windows buildsystem; now the first fully functional OpenVPN installer is ready:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-1.exe>

However, I've only done very limited testing. On Windows 7 64-bit platform the following seems to work:

- installing and uninstalling all userspace components
- installing and uninstalling the (64-bit) TAP driver
- running OpenVPN as service
- running OpenVPN using the OpenVPN-GUI

I've only noticed two small issues on the Win7 64-bit platform:

- uninstall does not remove the OpenVPN start menu entries properly (remove manually using right click -> delete)
- "View README" at the end of install does not work

Note that the installer itself is not signed, even though the TAP drivers are. This will be fixed in the final 2.2-rc release.

Quoted 9 lines

Now, I'd need help in verifying that both the installer and the included executables work properly on all supported 32 and 64-bit Windows platforms (XP and later). If you can, please test the installer on some _non-critical system_ and report back, whether everything works properly or not. Once all installer bugs are squashed, I'll make the openvpn-2.2-rc release. After that I'll clean up my buildsystem patches, send them here for review and then update the Windows building Wiki page:

just tried it on a 32bit Windows XP SP3 machine. Installation went OK, the README works but the format of the README file itself does not display properly in Notepad (CR/LF problem?).

The bad news is that the binaries don't work. All binaries refuse to start (openvpn.exe, openssl.exe, openvpn-gui.exe). The command-line tools fail with 'Cannot execute the specified program'. The OpenVPN GUI fails with an error 0xC0150002.

I have not tested whether the TAP-Win32 driver works.

share and enjoy,

JJK

#2 lore raw
Quoted 40 lines

Hi Samuli,

Quoted 25 lines · Samuli Seppänen

Hi,

As some of you may be aware, I've been working on the new Python-based OpenVPN Windows buildsystem; now the first fully functional OpenVPN installer is ready:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-1.exe>

However, I've only done very limited testing. On Windows 7 64-bit platform the following seems to work:

- installing and uninstalling all userspace components
- installing and uninstalling the (64-bit) TAP driver
- running OpenVPN as service
- running OpenVPN using the OpenVPN-GUI

I've only noticed two small issues on the Win7 64-bit platform:

- uninstall does not remove the OpenVPN start menu entries properly (remove manually using right click -> delete)
- "View README" at the end of install does not work

Note that the installer itself is not signed, even though the TAP drivers are. This will be fixed in the final 2.2-rc release.

Quoted 10 lines

Now, I'd need help in verifying that both the installer and the included executables work properly on all supported 32 and 64-bit Windows platforms (XP and later). If you can, please test the installer on some _non-critical system_ and report back, whether everything works properly or not. Once all installer bugs are squashed, I'll make the openvpn-2.2-rc release. After that I'll clean up my buildsystem patches, send them here for review and then update the Windows building Wiki page:

Quoted 9 lines

just tried it on a 32bit Windows XP SP3 machine. Installation went OK, the README works but the format of the README file itself does not display properly in Notepad (CR/LF problem?).

The bad news is that the binaries don't work. All binaries refuse to start (openvpn.exe, openssl.exe, openvpn-gui.exe). The command-line tools fail with 'Cannot execute the specified program'. The OpenVPN GUI fails with an error 0xC0150002.

Interesting, given that OpenVPN was built on WinXP. This may have something to do with the (external) manifest files or DLL versions. I'll setup another WinXP VM to test the installer, fix these issues and then upload a second preview.

Quoted 2 lines

I have not tested whether the TAP-Win32 driver works.

It probably should, as it's "stolen" from 2.2-beta5 installer :).

Thanks for testing, JJK!

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#3 lore raw

hi Samuli,

Quoted 43 lines · Samuli Seppänen
Quoted 43 lines

Hi Samuli,

Quoted 25 lines · Samuli Seppänen

Hi,

As some of you may be aware, I've been working on the new Python-based OpenVPN Windows buildsystem; now the first fully functional OpenVPN installer is ready:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-1.exe>

However, I've only done very limited testing. On Windows 7 64-bit platform the following seems to work:

- installing and uninstalling all userspace components
- installing and uninstalling the (64-bit) TAP driver
- running OpenVPN as service
- running OpenVPN using the OpenVPN-GUI

I've only noticed two small issues on the Win7 64-bit platform:

- uninstall does not remove the OpenVPN start menu entries properly (remove manually using right click -> delete)
- "View README" at the end of install does not work

Note that the installer itself is not signed, even though the TAP drivers are. This will be fixed in the final 2.2-rc release.

Quoted 11 lines

Now, I'd need help in verifying that both the installer and the included executables work properly on all supported 32 and 64-bit Windows platforms (XP and later). If you can, please test the installer on some _non-critical system_ and report back, whether everything works properly or not. Once all installer bugs are squashed, I'll make the openvpn-2.2-rc release. After that I'll clean up my buildsystem patches, send them here for review and then update the Windows building Wiki page:

just tried it on a 32bit Windows XP SP3 machine. Installation went OK, the README works but the format of the README file itself does not display properly in Notepad (CR/LF problem?).

Quoted 8 lines
Quoted 3 lines

The bad news is that the binaries don't work. All binaries refuse to start (openvpn.exe, openssl.exe, openvpn-gui.exe). The command-line tools fail with 'Cannot execute the specified program'. The OpenVPN GUI fails with an error 0xC0150002.

Interesting, given that OpenVPN was built on WinXP. This may have something to do with the (external) manifest files or DLL versions. I'll setup another WinXP VM to test the installer, fix these issues and then upload a second preview.

did some testing: turns out that the new executables depend on the Visual Studio 2008 runtime (msvcr90.dll). The manifest files point to these MSVCR files but I did not install them in my VM (nor do I think I should have to install them). After installing the Visual Studio 2008 RT the openvpn.exe command at least *runs* .
If I remove the manifest files it no longer works - personally I think this is kinda ugly ...

cheers,

JJK

#4 lore raw
Quoted 74 lines

hi Samuli,

Quoted 54 lines · Samuli Seppänen
Quoted 43 lines

Hi Samuli,

Quoted 25 lines · Samuli Seppänen

Hi,

As some of you may be aware, I've been working on the new Python-based OpenVPN Windows buildsystem; now the first fully functional OpenVPN installer is ready:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-1.exe>

However, I've only done very limited testing. On Windows 7 64-bit platform the following seems to work:

- installing and uninstalling all userspace components
- installing and uninstalling the (64-bit) TAP driver
- running OpenVPN as service
- running OpenVPN using the OpenVPN-GUI

I've only noticed two small issues on the Win7 64-bit platform:

- uninstall does not remove the OpenVPN start menu entries properly (remove manually using right click -> delete)
- "View README" at the end of install does not work

Note that the installer itself is not signed, even though the TAP drivers are. This will be fixed in the final 2.2-rc release.

Quoted 12 lines

Now, I'd need help in verifying that both the installer and the included executables work properly on all supported 32 and 64-bit Windows platforms (XP and later). If you can, please test the installer on some _non-critical system_ and report back, whether everything works properly or not. Once all installer bugs are squashed, I'll make the openvpn-2.2-rc release. After that I'll clean up my buildsystem patches, send them here for review and then update the Windows building Wiki page:

Quoted 11 lines

just tried it on a 32bit Windows XP SP3 machine. Installation went OK, the README works but the format of the README file itself does not display properly in Notepad (CR/LF problem?).

The bad news is that the binaries don't work. All binaries refuse to start (openvpn.exe, openssl.exe, openvpn-gui.exe). The command-line tools fail with 'Cannot execute the specified program'. The OpenVPN GUI fails with an error 0xC0150002.

Quoted 6 lines

Interesting, given that OpenVPN was built on WinXP. This may have something to do with the (external) manifest files or DLL versions. I'll setup another WinXP VM to test the installer, fix these issues and then upload a second preview.

did some testing: turns out that the new executables depend on the Visual Studio 2008 runtime (msvcr90.dll). The manifest files point to these MSVCR files but I did not install them in my VM (nor do I think I should have to install them).
After installing the Visual Studio 2008 RT the openvpn.exe command at least *runs* .
If I remove the manifest files it no longer works - personally I think this is kinda ugly ...

Quoted 4 lines

cheers,

JJK

Hi Jan,

Ok, this makes sense. The openvpn.exe runs fine on the build computer, which is running Windows XP and has Visual Studio 2008 installed. However, the installer does/should contain a redistributable version of msvcrt90.dll along with an external manifest file pointing to it. Windows should find this msvcrt90.dll if it's placed in the executable directory ($OPENVPN_INSTALL_DIR\bin). Now, I'm not sure if VS tools automatically generate an internal (embedded) manifest for each EXE/DLL or not. If they do, then manifest/DLL version mismatch is one possibility, depending on whether internal or external manifest file takes precedence.

I will create a WinXP VM tomorrow and see what's going on.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#5 lore raw
Quoted 97 lines
Quoted 79 lines

hi Samuli,

Quoted 57 lines · Samuli Seppänen
Quoted 45 lines

Hi Samuli,

Quoted 25 lines · Samuli Seppänen

Hi,

As some of you may be aware, I've been working on the new Python-based OpenVPN Windows buildsystem; now the first fully functional OpenVPN installer is ready:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-1.exe>

However, I've only done very limited testing. On Windows 7 64-bit platform the following seems to work:

- installing and uninstalling all userspace components
- installing and uninstalling the (64-bit) TAP driver
- running OpenVPN as service
- running OpenVPN using the OpenVPN-GUI

I've only noticed two small issues on the Win7 64-bit platform:

- uninstall does not remove the OpenVPN start menu entries properly (remove manually using right click -> delete)
- "View README" at the end of install does not work

Note that the installer itself is not signed, even though the TAP drivers are. This will be fixed in the final 2.2-rc release.

Quoted 13 lines

Now, I'd need help in verifying that both the installer and the included executables work properly on all supported 32 and 64-bit Windows platforms (XP and later). If you can, please test the installer on some _non-critical system_ and report back, whether everything works properly or not. Once all installer bugs are squashed, I'll make the openvpn-2.2-rc release. After that I'll clean up my buildsystem patches, send them here for review and then update the Windows building Wiki page:

Quoted 12 lines

just tried it on a 32bit Windows XP SP3 machine. Installation went OK, the README works but the format of the README file itself does not display properly in Notepad (CR/LF problem?).

The bad news is that the binaries don't work. All binaries refuse to start (openvpn.exe, openssl.exe, openvpn-gui.exe). The command-line tools fail with 'Cannot execute the specified program'. The OpenVPN GUI fails with an error 0xC0150002.

Quoted 7 lines

Interesting, given that OpenVPN was built on WinXP. This may have something to do with the (external) manifest files or DLL versions. I'll setup another WinXP VM to test the installer, fix these issues and then upload a second preview.

did some testing: turns out that the new executables depend on the Visual Studio 2008 runtime (msvcr90.dll). The manifest files point to these MSVCR files but I did not install them in my VM (nor do I think I should have to install them).
After installing the Visual Studio 2008 RT the openvpn.exe command at least *runs* .
If I remove the manifest files it no longer works - personally I think this is kinda ugly ...

Quoted 5 lines

cheers,

JJK

Hi Jan,

Ok, this makes sense. The openvpn.exe runs fine on the build computer, which is running Windows XP and has Visual Studio 2008 installed. However, the installer does/should contain a redistributable version of msvcrt90.dll along with an external manifest file pointing to it. Windows should find this msvcrt90.dll if it's placed in the executable directory ($OPENVPN_INSTALL_DIR\bin). Now, I'm not sure if VS tools automatically generate an internal (embedded) manifest for each EXE/DLL or not. If they do, then manifest/DLL version mismatch is one possibility, depending on whether internal or external manifest file takes precedence.

Quoted 3 lines

I will create a WinXP VM tomorrow and see what's going on.

Hi,

The issue was that the installer did not install msvcr90.dll - that's now fixed. The installer, openvpn.exe, openvpnserv.exe and openssl.exe worked fine on my WinXP 32-bit test VM. The updated installer is here:

<http://build.openvpn.net/downloads/releases/openvpn-2.2-rc-install-preview-2.exe>

I'll do some more testing tomorrow.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#6 lore raw

Hello,

Quoted 2 lines

The issue was that the installer did not install msvcr90.dll - that's now fixed.

I haven't checked how the installer does it, but there is a standard procedure to do this!
http://support.microsoft.com/kb/326922/en-us

Why it should be done correctly: http://en.wikipedia.org/wiki/DLL_hell

Additionally good windows software is designed to meet criteria of windows logo program, even if you don't want to certify it.

The Windows 7 Software Logo Program
http://msdn.microsoft.com/en-us/windows/dd203105.aspx

greetings
Carsten

#7 lore raw

Hi Carsten,

Quoted 11 lines

Hello,

Quoted 3 lines

The issue was that the installer did not install msvcr90.dll - that's now fixed.

I haven't checked how the installer does it, but there is a standard procedure to do this!
http://support.microsoft.com/kb/326922/en-us

The installer installs the msvcr90.dll into the application program directory ($OPENVPN_HOME\bin), so it's following this standard procedure. I did try the "vcredist_<arch>.exe" install route, but that failed for some reason. I'm sure it could be made to work.

Quoted 8 lines

Why it should be done correctly: http://en.wikipedia.org/wiki/DLL_hell

Additionally good windows software is designed to meet criteria of windows logo program, even if you don't want to certify it.

The Windows 7 Software Logo Program
http://msdn.microsoft.com/en-us/windows/dd203105.aspx

The TAP driver is already signed and installs on 64-bit Windows, but I'm not sure if it has passed the WHQL tests[1]. I would assume no, but I'll verify that from James.

[1] http://en.wikipedia.org/wiki/Windows_Logo_Program

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock