Opened 15 years ago
Closed 8 years ago
#34 closed Bug / Defect ( fixed )
OpenVPN Install and the Windows Path Environment variable
| Reported by: | Samuli Seppänen | Owned by: | Samuli Seppänen |
|---|---|---|---|
| Priority: | minor | Milestone: | release 2.4 |
| Component: | Installation | Version: | OpenVPN 2.1.0 / 2.1.1 (Community Ed) |
| Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | windows installer nsis |
| Cc: |
Description
On Windows XP (and possibly newer Windows operating systems), the OpenVPN installation process creates a Path variable in the User section of Environmental variables by default; for deployment purposes, I would suggest this to be unwise. OpenVPN has been flawless for me with the USER Path addition, but adding a variable named "Path" in the user section will cause some other applications to loose their ability to look up the SYSTEM Path for needed files such as dynamic library links and executives. The Path variable in the User section overrides the System Path for some applications, including the Windows Security Center. If OpenVPN should have a Path entry, it should be appended to the SYSTEM Path and not the USER Path. The issue is not a bug to the OpenVPN software itself, but only to the Install package.
The average Windows user probably will not understand why some of their other software is not behaving well due to a simple Path addition of the Users section, which could cause blame to OpenVPN affecting other installed software (but is not the case).
Change History (9)
comment:1 Changed 15 years ago by
comment:2 Changed 14 years ago by
| Milestone: | → beta 2.3 |
|---|
comment:3 Changed 13 years ago by
| Component: | Generic / unclassified → Installation |
|---|---|
| Priority: | major → minor |
comment:4 Changed 13 years ago by
| Owner: | set to Samuli Seppänen |
|---|---|
| Status: | new → assigned |
comment:5 Changed 13 years ago by
The
win/setpath.nsi
is to blame here. I'll see if it could be modified or replaced as suggested by the bug reporter.
comment:6 Changed 13 years ago by
| Status: | assigned → accepted |
|---|
comment:7 Changed 12 years ago by
| Milestone: | beta 2.3 → release 2.4 |
|---|
comment:8 Changed 11 years ago by
| Keywords: | windows installer nsis added |
|---|---|
| Status: | accepted → assigned |
comment:9 Changed 8 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
This problems seem to have been fixed at some point. At least on Windows 2012r2 OpenVPN's bin directory is added to system path, not to usre path. I have not heard of any other reports of this, so I suspect there is no problem on Wndows XP, either. Plus even if there were, we have already dropped active support for Windows XP in OpenVPN 2.4.
This was posted to the SF.net bug tracker by somebody (anonymous).