Bug 1224

Summary: Defaults should not fall back to "Program Files (x86) if Unbound is 64bit by default
Product: unbound Reporter: drahnier
Component: serverAssignee: unbound team <unbound-team>
Severity: enhancement CC: cathya, wouter
Priority: P5    
Version: 1.6.0   
Hardware: x86_64   
OS: Windows   
Attachments: everything "Program Files (x86)'

Description drahnier 2017-02-22 07:28:23 CET
For example: 'unbound-control', if not being passed a "-c <configfile>", looks for a config file at "C:\Program Files (x86)\Unbound\service.conf".

The default installation path for everything 64 bit is " ...\Program Files\ ...", not "...\Program Files (x86)\ ..." in 64bit Windows.
Comment 1 Wouter Wijngaards 2017-02-22 08:32:18 CET
Hi Drahnier,

Fixed.  Turns out this path is set in configure when windows is the build target (with the x86 in it).  Set that to the right path.

Thanks for the report,

Best regards, Wouter
Comment 2 drahnier 2017-02-23 01:49:54 CET
Created attachment 374 [details]
everything "Program Files (x86)'

Just to make sure, the "fix" covers everything related to 'Program Files (x86)', for example, such as what can be seen in the attached screenshot.
Comment 3 Wouter Wijngaards 2017-02-23 09:11:01 CET
Hi Drahnier,

Yes that bit should be fixed (but the screenshot is useful because that usage printout is there to print those builtin path defaults).

Best regards, Wouter