Opened 13 years ago

Closed 9 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:


With a x64 Windows, into vars.bat, HOME var is not correct :

We can replace %ProgramFiles?% by %ProgramFiles?(x86)%

Thank you ;)

Attachments (1)

Bug OpenVPN var x64.png (85.5 KB) - added by Free_Being 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by Free_Being

Attachment: Bug OpenVPN var x64.png added

comment:1 Changed 13 years ago by David Sommerseth

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.

comment:2 Changed 13 years ago by Free_Being

I hope you'll can do it :)

comment:3 Changed 13 years ago by JJK

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 12 years ago by David Sommerseth

Owner: set to Eric Crist
Status: newassigned

comment:5 Changed 11 years ago by Samuli Seppänen

Keywords: easy-rsa added

This might have been fixed in recent easy-rsa versions. Ecrist?

comment:6 Changed 9 years ago by Samuli Seppänen

Component: Generic / unclassifiedeasy-rsa
Keywords: easy-rsa removed
Resolution: wontfix
Status: assignedclosed
Version: 2.2-beta / 2.2-RCeasyrsa-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".

Note: See TracTickets for help on using tickets.