Opened 14 years ago
Closed 10 years ago
#77 closed Bug / Defect ( wontfix )
Windows x64 vars.bat bug
| Reported by: | Free_Being | Owned by: | Eric Crist |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | easy-rsa | Version: | easyrsa-2.x |
| Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
| Cc: |
Description
With a x64 Windows, into vars.bat, HOME var is not correct :
We can replace %
ProgramFiles?
% by %
ProgramFiles?
(x86)%
Thank you ;)
Attachments (1)
Change History (7)
Changed 14 years ago by
| Attachment: | Bug OpenVPN var x64.png added |
|---|
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
what if we add something to 'vars.bat' like
set home_var=%
ProgramFiles?
%\...
setlocal enableextensions
if defined
ProgramFiles?
(x86) (set home_var=%
ProgramFiles?
(x86)%\....
?
comment:4 Changed 13 years ago by
| Owner: | set to Eric Crist |
|---|---|
| Status: | new → assigned |
comment:5 Changed 11 years ago by
| Keywords: | easy-rsa added |
|---|
This might have been fixed in recent easy-rsa versions. Ecrist?
comment:6 Changed 10 years ago by
| Component: | Generic / unclassified → easy-rsa |
|---|---|
| Keywords: | easy-rsa removed |
| Resolution: | → wontfix |
| Status: | assigned → closed |
| Version: | 2.2-beta / 2.2-RC → easyrsa-2.x |
Easy-rsa is now its
own project
. Moreover, easy-rsa 2.x is no longer supported, so I'll close this as "wontfix".
This is not as easy as doing such a change. Because the unfortunate users who will then try to run vars.bat on a 32bit versions of Windows will then begin to complain it doesn't work for them.
We simply need to rethink this and see how to detect which platform (32/64 bit) we are on and use the appropriate variable accordingly.