Kaydet (Commit) 5a797e37 authored tarafından Vladimir Glazunov's avatar Vladimir Glazunov

CWS-TOOLING: integrate CWS native304

...@@ -93,7 +93,6 @@ OpenOffice ...@@ -93,7 +93,6 @@ OpenOffice
DOWNLOADBANNER ooobanner.bmp DOWNLOADBANNER ooobanner.bmp
DOWNLOADBITMAP ooobitmap.bmp DOWNLOADBITMAP ooobitmap.bmp
DOWNLOADSETUPICO ooosetup.ico DOWNLOADSETUPICO ooosetup.ico
WINDOWSBITMAPDIRECTORY ..\inc_broffice\windows\msi_templates\Binary
RELATIVE_PATHES_IN_DDF 1 RELATIVE_PATHES_IN_DDF 1
STARTCENTER_ADDFEATURE_URL http://tools.services.openoffice.org/forward/OpenOffice.org/extensions.jsp?cid=920794 STARTCENTER_ADDFEATURE_URL http://tools.services.openoffice.org/forward/OpenOffice.org/extensions.jsp?cid=920794
STARTCENTER_INFO_URL http://tools.services.openoffice.org/forward/OpenOffice.org/homepage.jsp STARTCENTER_INFO_URL http://tools.services.openoffice.org/forward/OpenOffice.org/homepage.jsp
...@@ -160,7 +159,6 @@ OpenOffice_wJRE ...@@ -160,7 +159,6 @@ OpenOffice_wJRE
DOWNLOADBANNER ooobanner.bmp DOWNLOADBANNER ooobanner.bmp
DOWNLOADBITMAP ooobitmap.bmp DOWNLOADBITMAP ooobitmap.bmp
DOWNLOADSETUPICO ooosetup.ico DOWNLOADSETUPICO ooosetup.ico
WINDOWSBITMAPDIRECTORY ..\inc_broffice\windows\msi_templates\Binary
RELATIVE_PATHES_IN_DDF 1 RELATIVE_PATHES_IN_DDF 1
STARTCENTER_ADDFEATURE_URL http://tools.services.openoffice.org/forward/OpenOffice.org/extensions.jsp?cid=920794 STARTCENTER_ADDFEATURE_URL http://tools.services.openoffice.org/forward/OpenOffice.org/extensions.jsp?cid=920794
STARTCENTER_INFO_URL http://tools.services.openoffice.org/forward/OpenOffice.org/homepage.jsp STARTCENTER_INFO_URL http://tools.services.openoffice.org/forward/OpenOffice.org/homepage.jsp
...@@ -232,7 +230,6 @@ OpenOffice_Dev ...@@ -232,7 +230,6 @@ OpenOffice_Dev
DOWNLOADBANNER ooobanner.bmp DOWNLOADBANNER ooobanner.bmp
DOWNLOADBITMAP ooobitmap.bmp DOWNLOADBITMAP ooobitmap.bmp
DOWNLOADSETUPICO ooosetup.ico DOWNLOADSETUPICO ooosetup.ico
WINDOWSBITMAPDIRECTORY ..\inc_broffice\windows\msi_templates\Binary
LOCALUSERDIR $ORIGIN/.. LOCALUSERDIR $ORIGIN/..
RELATIVE_PATHES_IN_DDF 1 RELATIVE_PATHES_IN_DDF 1
STARTCENTER_ADDFEATURE_URL http://tools.services.openoffice.org/forward/OpenOffice.org/extensions.jsp?cid=920794 STARTCENTER_ADDFEATURE_URL http://tools.services.openoffice.org/forward/OpenOffice.org/extensions.jsp?cid=920794
......
...@@ -131,7 +131,9 @@ sub set_global_environment_variables ...@@ -131,7 +131,9 @@ sub set_global_environment_variables
if ( $ENV{'SOLAR_JAVA'} ) { $installer::globals::solarjavaset = 1; } if ( $ENV{'SOLAR_JAVA'} ) { $installer::globals::solarjavaset = 1; }
if ( $ENV{'RPM'} ) { $installer::globals::rpm = $ENV{'RPM'}; } if ( $ENV{'RPM'} ) { $installer::globals::rpm = $ENV{'RPM'}; }
if ( $ENV{'DONTCOMPRESS'} ) { $installer::globals::solarisdontcompress = 1; } if ( $ENV{'DONTCOMPRESS'} ) { $installer::globals::solarisdontcompress = 1; }
if (( $ENV{'DISABLE_STRIP'} ) && ( $ENV{'DISABLE_STRIP'} ne '' )) { $installer::globals::strip = 0; }
if ( $installer::globals::localinstalldir ) { $installer::globals::localinstalldirset = 1; }
# Special handling, if LOCALINSTALLDIR contains "~" in the path # Special handling, if LOCALINSTALLDIR contains "~" in the path
if ( $installer::globals::localinstalldir =~ /^\s*\~/ ) { check_tilde_in_directory(); } if ( $installer::globals::localinstalldir =~ /^\s*\~/ ) { check_tilde_in_directory(); }
} }
......
...@@ -236,7 +236,7 @@ BEGIN ...@@ -236,7 +236,7 @@ BEGIN
$mergefiles_added_into_collector = 0; $mergefiles_added_into_collector = 0;
$creating_windows_installer_patch = 0; $creating_windows_installer_patch = 0;
$strip = $ENV{DISABLE_STRIP} eq ''; $strip = 1;
$solarjava = 0; $solarjava = 0;
$jdklib = ""; $jdklib = "";
$jrepath = ""; $jrepath = "";
......
...@@ -321,6 +321,13 @@ sub create_directories ...@@ -321,6 +321,13 @@ sub create_directories
else else
{ {
$path = $installer::globals::unpackpath . $installer::globals::separator; $path = $installer::globals::unpackpath . $installer::globals::separator;
# special handling, if LOCALINSTALLDIR is set
if (( $installer::globals::localinstalldirset ) && ( $newdirectory eq "install" ))
{
$installer::globals::localinstalldir =~ s/\Q$installer::globals::separator\E\s*$//;
$path = $installer::globals::localinstalldir . $installer::globals::separator;
}
} }
$infoline = "create_directories: Using $path for $newdirectory !\n"; $infoline = "create_directories: Using $path for $newdirectory !\n";
......
...@@ -402,11 +402,6 @@ sub create_installation_directory ...@@ -402,11 +402,6 @@ sub create_installation_directory
else else
{ {
$installdir = installer::systemactions::create_directories("install", $languageref); $installdir = installer::systemactions::create_directories("install", $languageref);
if ( $installer::globals::localinstalldir )
{
$installdir = $installer::globals::localinstalldir;
$installer::globals::localinstalldirset = 1;
}
installer::logger::print_message( "... creating installation set in $installdir ...\n" ); installer::logger::print_message( "... creating installation set in $installdir ...\n" );
remove_old_installation_sets($installdir); remove_old_installation_sets($installdir);
my $inprogressinstalldir = $installdir . "_inprogress"; my $inprogressinstalldir = $installdir . "_inprogress";
......
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