Kaydet (Commit) 8523978a authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS native116 (1.93.38); FILE MERGED

2007/10/10 15:13:15 is 1.93.38.1: #i82313# preparing merge module integration
üst 51cc70ce
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
# #
# $RCSfile: make_installer.pl,v $ # $RCSfile: make_installer.pl,v $
# #
# $Revision: 1.95 $ # $Revision: 1.96 $
# #
# last change: $Author: hr $ $Date: 2007-11-02 12:55:00 $ # last change: $Author: ihi $ $Date: 2007-11-23 13:33:45 $
# #
# The Contents of this file are made available subject to # The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1. # the terms of GNU Lesser General Public License Version 2.1.
...@@ -85,6 +85,7 @@ use installer::windows::idtglobal; ...@@ -85,6 +85,7 @@ use installer::windows::idtglobal;
use installer::windows::inifile; use installer::windows::inifile;
use installer::windows::java; use installer::windows::java;
use installer::windows::media; use installer::windows::media;
use installer::windows::mergemodule;
use installer::windows::msiglobal; use installer::windows::msiglobal;
use installer::windows::patch; use installer::windows::patch;
use installer::windows::property; use installer::windows::property;
...@@ -463,6 +464,7 @@ my $folderinproductarrayref; ...@@ -463,6 +464,7 @@ my $folderinproductarrayref;
my $folderitemsinproductarrayref; my $folderitemsinproductarrayref;
my $registryitemsinproductarrayref; my $registryitemsinproductarrayref;
my $windowscustomactionsarrayref; my $windowscustomactionsarrayref;
my $mergemodulesarrayref;
if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, FolderItem, RegistryItem, WindowsCustomAction if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, FolderItem, RegistryItem, WindowsCustomAction
{ {
...@@ -494,6 +496,11 @@ if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, Fo ...@@ -494,6 +496,11 @@ if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, Fo
$windowscustomactionsarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "WindowsCustomAction"); $windowscustomactionsarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "WindowsCustomAction");
if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "windowscustomactions1.log", $windowscustomactionsarrayref); } if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "windowscustomactions1.log", $windowscustomactionsarrayref); }
installer::logger::print_message( "... analyzing Windows merge modules ... \n" );
$mergemodulesarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "MergeModule");
if ( $installer::globals::globallogging ) { installer::files::save_array_of_hashes($loggingdir . "mergemodules1.log", $mergemodulesarrayref); }
} }
my $modulesinproductarrayref; my $modulesinproductarrayref;
...@@ -1996,6 +2003,9 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ ) ...@@ -1996,6 +2003,9 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
installer::windows::msiglobal::write_summary_into_msi_database($msifilename, $onelanguage, $languagefile, $allvariableshashref); installer::windows::msiglobal::write_summary_into_msi_database($msifilename, $onelanguage, $languagefile, $allvariableshashref);
# if there are Merge Modules, they have to be integrated now
installer::windows::mergemodule::merge_mergemodules_into_msi_database($mergemodulesarrayref, $msifilename, $languagestringref, $onelanguage, $languagefile, $allvariableshashref, $includepatharrayref);
# copy msi database into installation directory # copy msi database into installation directory
my $msidestfilename = $installdir . $installer::globals::separator . $msidatabasename; my $msidestfilename = $installdir . $installer::globals::separator . $msidatabasename;
...@@ -2034,6 +2044,10 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ ) ...@@ -2034,6 +2044,10 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
installer::windows::msiglobal::copy_windows_installer_files_into_installset($installdir, $includepatharrayref); installer::windows::msiglobal::copy_windows_installer_files_into_installset($installdir, $includepatharrayref);
# ... copying MergeModules into installation set
installer::windows::msiglobal::copy_merge_modules_into_installset($installdir);
# ... copying the child projects # ... copying the child projects
if ($installer::globals::addchildprojects) if ($installer::globals::addchildprojects)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment