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

INTEGRATION: CWS native116 (1.41.40); FILE MERGED

2007/10/10 15:13:15 is 1.41.40.1: #i82313# preparing merge module integration
üst 214eaa3a
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
# #
# $RCSfile: msiglobal.pm,v $ # $RCSfile: msiglobal.pm,v $
# #
# $Revision: 1.41 $ # $Revision: 1.42 $
# #
# last change: $Author: kz $ $Date: 2007-09-06 09:55:56 $ # last change: $Author: ihi $ $Date: 2007-11-23 13:34:41 $
# #
# 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.
...@@ -858,7 +858,7 @@ sub create_transforms ...@@ -858,7 +858,7 @@ sub create_transforms
$infoline = "WARNING: Returnvalue of $msitran is not 0. Checking version of $msitran!\n"; $infoline = "WARNING: Returnvalue of $msitran is not 0. Checking version of $msitran!\n";
push( @installer::globals::logfileinfo, $infoline); push( @installer::globals::logfileinfo, $infoline);
open(FILE, "<$msitran") or die "ERROR: Can't open $msitran for creating file hash"; open(FILE, "<$installer::globals::msitranpath") or die "ERROR: Can't open $installer::globals::msitranpath for creating file hash";
binmode(FILE); binmode(FILE);
my $digest = Digest::MD5->new->addfile(*FILE)->hexdigest; my $digest = Digest::MD5->new->addfile(*FILE)->hexdigest;
close(FILE); close(FILE);
...@@ -1160,7 +1160,7 @@ sub copy_scpactions_into_installset ...@@ -1160,7 +1160,7 @@ sub copy_scpactions_into_installset
{ {
my ($defaultlanguage, $installdir, $allscpactions) = @_; my ($defaultlanguage, $installdir, $allscpactions) = @_;
installer::logger::include_header_into_logfile("Copying files into installation set"); installer::logger::include_header_into_logfile("Copying ScpAction files into installation set");
for ( my $i = 0; $i <= $#{$allscpactions}; $i++ ) for ( my $i = 0; $i <= $#{$allscpactions}; $i++ )
{ {
...@@ -1191,6 +1191,8 @@ sub copy_windows_installer_files_into_installset ...@@ -1191,6 +1191,8 @@ sub copy_windows_installer_files_into_installset
{ {
my ($installdir, $includepatharrayref) = @_; my ($installdir, $includepatharrayref) = @_;
installer::logger::include_header_into_logfile("Copying Windows installer files into installation set");
@copyfile = (); @copyfile = ();
push(@copyfile, "instmsia.exe"); push(@copyfile, "instmsia.exe");
push(@copyfile, "instmsiw.exe"); push(@copyfile, "instmsiw.exe");
...@@ -1213,6 +1215,28 @@ sub copy_windows_installer_files_into_installset ...@@ -1213,6 +1215,28 @@ sub copy_windows_installer_files_into_installset
} }
} }
#################################################################
# Copying MergeModules for the Windows installer into the
# installation set. The list of MergeModules is located
# in %installer::globals::copy_msm_files
#################################################################
sub copy_merge_modules_into_installset
{
my ($installdir) = @_;
installer::logger::include_header_into_logfile("Copying Merge files into installation set");
my $cabfile;
foreach $cabfile ( keys %installer::globals::copy_msm_files )
{
my $sourcefile = $installer::globals::copy_msm_files{$cabfile};
my $destfile = $installdir . $installer::globals::separator . $cabfile;
installer::systemactions::copy_one_file($sourcefile, $destfile);
}
}
################################################################# #################################################################
# Copying the child projects into the # Copying the child projects into the
# installation set # installation set
......
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