summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/windows/msp.pm
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-02-26 13:01:10 +0000
committerOliver Bolte <obo@openoffice.org>2009-02-26 13:01:10 +0000
commitf3983734ef76293c95f722367f93b95878e34783 (patch)
tree3ab9a7440dd04225a55e0d6bcd7256491cca5513 /solenv/bin/modules/installer/windows/msp.pm
parentc2e1a702d2c4233b97ab6a3fd4fd37c9adf920c1 (diff)
CWS-TOOLING: integrate CWS native226_DEV300
2009-02-12 17:28:38 +0100 is r267681 : #i99151# one temp dir for each msimsp process
Diffstat (limited to 'solenv/bin/modules/installer/windows/msp.pm')
-rw-r--r--solenv/bin/modules/installer/windows/msp.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/msp.pm b/solenv/bin/modules/installer/windows/msp.pm
index 64c3eea1e403..27f3342e4cc9 100644
--- a/solenv/bin/modules/installer/windows/msp.pm
+++ b/solenv/bin/modules/installer/windows/msp.pm
@@ -182,11 +182,20 @@ sub execute_msimsp
my $returnvalue = "";
my $logfilename = $localmspdir . $installer::globals::separator . "msimsp.log";
+ # Using a specific temp for each msimsp.exe process
+ # Creating temp directory again (should already have happened)
+ installer::systemactions::create_directory_structure($installer::globals::temppath);
+
+ # Creating old installation directory
+ my $dirname = "msimsptemp";
+ my $msimsptemppath = $installer::globals::temppath . $installer::globals::separator . $dirname;
+ if ( ! -d $msimsptemppath) { installer::systemactions::create_directory($msimsptemppath); }
+
# r:\msvc9p\PlatformSDK\v6.1\bin\msimsp.exe -s c:\patch\hotfix_qfe1.pcp -p c:\patch\patch_ooo3_m2_m3.msp -l c:\patch\patch_ooo3_m2_m3.log
if ( -f $logfilename ) { unlink $logfilename; }
- $systemcall = $msimsp . " -s " . $fullpcpfilename . " -p " . $mspfilename . " -l " . $logfilename;
+ $systemcall = $msimsp . " -s " . $fullpcpfilename . " -p " . $mspfilename . " -l " . $logfilename . " -f " . $msimsptemppath;
installer::logger::print_message( "... $systemcall ...\n" );
$returnvalue = system($systemcall);