Wordpress - Redirect to settings page after install

Register an activation hook and then redirect the user's browser when you're done installing your plugin.

function myplugin_activate() {    
    // TODO: Install your plugin here.

    // I don't know of any other redirect function, so this'll have to do.
    wp_redirect(admin_url('options-general.php?page=myplugin_settings'));
    // You could use a header(sprintf('Location: %s', admin_url(...)); here instead too.
}
register_activation_hook(__FILE__, 'myplugin_activate');

I see the question is already answered. But there is a alternate scenario where you might want to redirect to settings page after a theme installed. You can do it very easily using following codes :)

if (is_admin() && isset($_GET['activated'])){

    wp_redirect(admin_url("themes.php?page=ot-theme-options"));
}

You just have to replace the following code themes.php?page=ot-theme-options With your own setting page url.

It is farly easy to do and we are using WP redirect function.

Thanks Sabbir