Why this cannot work in my profile installation?
array( 'module' => 'views', 'delta' => 'views-block', 'theme' => $default_theme, 'status' => 1, 'weight' => 0, 'region' => 'map_region', 'visibility' => BLOCK_VISIBILITY_LISTED, 'pages' => '<front>', 'cache' => -1, ),
Is just a copy of standard's profile hook_install() and i add a views block installed with the profile in $blocks array.
All is set right except block only visible in front page ("front" is set correctly in the block config 'pages' but the visibility setting is stuck to 'All pages except those listed')
Looks like the system module re-sets them upon install.