'Windows specific config validations.'

def ValidateEndConfig(self, config_obj, errors_fatal=True):

    errors = super(WindowsClientRepacker, self).ValidateEndConfig(config_obj, errors_fatal=errors_fatal)
    for path in config_obj.GetRaw('Client.tempdir_roots'):
        if path.startswith('/'):
            errors.append(('Client.tempdir_root    %s    starts    with    /,    probably    has    Unix    path.' % path))
    if config_obj.GetRaw('Logging.path').startswith('/'):
        errors.append(('Logging.path    starts    with    /,    probably    has    Unix    path.    %s' % config_obj['Logging.path']))
    if ('Windows\\' in config_obj.GetRaw('Logging.path')):
        errors.append('Windows    in    Logging.path,    you    probably    want    %(WINDIR|env)    instead')
    if (not config_obj['Client.binary_name'].endswith('.exe')):
        errors.append(('Missing    .exe    extension    on    binary_name    %s' % config_obj['Client.binary_name']))
    if (not config_obj['Nanny.binary'].endswith('.exe')):
        errors.append('Missing    .exe    extension    on    nanny_binary')
    if (errors_fatal and errors):
        for error in errors:
            logging.error('Build    Config    Error:    %s', error)
        raise RuntimeError('Bad    configuration    generated.    Terminating.')
    else:
        return errors
