Index: xmlsitemap_node/xmlsitemap_node.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.install,v
retrieving revision 1.9.2.46
diff -u -p -r1.9.2.46 xmlsitemap_node.install
--- xmlsitemap_node/xmlsitemap_node.install	11 Mar 2009 16:01:03 -0000	1.9.2.46
+++ xmlsitemap_node/xmlsitemap_node.install	6 Apr 2009 13:22:17 -0000
@@ -79,6 +79,12 @@ function xmlsitemap_node_schema() {
 function xmlsitemap_node_install() {
   drupal_install_schema('xmlsitemap_node');
   db_query("UPDATE {system} SET weight = 5 WHERE name = 'xmlsitemap_node'");
+  drupal_load('module', 'xmlsitemap_helper');
+  module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
+  xmlsitemap_helper_add_database_batch_operation(
+    drupal_get_path('module', 'xmlsitemap_node') .'/xmlsitemap_node.install',
+    '_xmlsitemap_node_update_database_batch'
+  );
 }
 
 /**
@@ -389,6 +395,7 @@ function xmlsitemap_node_update_6115() {
  *
  */
 function xmlsitemap_node_update_6116() {
+  drupal_load('module', 'xmlsitemap_helper');
   module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
   xmlsitemap_helper_add_database_batch_operation(
     drupal_get_path('module', 'xmlsitemap_node') .'/xmlsitemap_node.install',
Index: xmlsitemap_term/xmlsitemap_term.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap_term/xmlsitemap_term.install,v
retrieving revision 1.5.2.36
diff -u -p -r1.5.2.36 xmlsitemap_term.install
--- xmlsitemap_term/xmlsitemap_term.install	28 Mar 2009 19:14:57 -0000	1.5.2.36
+++ xmlsitemap_term/xmlsitemap_term.install	6 Apr 2009 13:22:17 -0000
@@ -79,6 +79,12 @@ function xmlsitemap_term_schema() {
 function xmlsitemap_term_install() {
   drupal_install_schema('xmlsitemap_term');
   db_query("UPDATE {system} SET weight = 10 WHERE name = 'xmlsitemap_term'");
+  drupal_load('module', 'xmlsitemap_helper');
+  module_load_include('inc', 'xmlsitemap_helper', 'includes/xmlsitemap_helper.install');
+  xmlsitemap_helper_add_database_batch_operation(
+    drupal_get_path('module', 'xmlsitemap_term') .'/xmlsitemap_term.install',
+    '_xmlsitemap_term_update_database_batch'
+  );
 }
 
 /**
