[misc] more bool -> BOOL and const strings
[misc] quote inf file name passed to the installer

* Also removing a warning when logging is disabled.