Lines Matching refs:installer

24 package installer::worker;
30 use installer::control;
31 use installer::converter;
32 use installer::existence;
33 use installer::exiter;
34 use installer::files;
35 use installer::globals;
36 use installer::logger;
37 use installer::mail;
38 use installer::pathanalyzer;
39 use installer::scpzipfiles;
40 use installer::scriptitems;
41 use installer::sorter;
42 use installer::systemactions;
43 use installer::windows::language;
53 installer::logger::include_header_into_logfile("Unpacking tar.gz files:");
55 $installer::logger::Info->print( "... unpacking tar.gz files ... \n" );
57 my $localdirectory = $directory . $installer::globals::separator . "packages";
58 …my $alltargzfiles = installer::systemactions::find_file_with_file_extension("tar.gz", $localdirect…
62 my $onefile = $localdirectory . $installer::globals::separator . ${$alltargzfiles}[$i];
68 $installer::logger::Lang->print($infoline);
73 $installer::logger::Lang->print($infoline);
78 $installer::logger::Lang->print($infoline);
91 installer::logger::include_header_into_logfile("Copying installation set to ship:");
94 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$dirname);
96 my $localshipinstalldir = $shipinstalldir . $installer::globals::separator . $dirname;
97 …if ( ! -d $localshipinstalldir ) { installer::systemactions::create_directory_structure($localship…
100 …$installer::logger::Info->print( "... copy installation set from " . $destdir . " to " . $localshi…
101 installer::systemactions::copy_complete_directory($destdir, $localshipinstalldir);
103 if (( ! $installer::globals::iswindowsbuild ) && ( $installer::globals::addjavainstaller ))
111 …if ( $installer::globals::issolarisbuild ) { unpack_all_targzfiles_in_directory($localshipinstalld…
113 …$localshipinstalldir = installer::systemactions::rename_string_in_directory($localshipinstalldir, …
126 installer::logger::include_header_into_logfile("Linking installation set to ship:");
129 $installer::logger::Info->print( $infoline );
130 $installer::logger::Lang->print($infoline);
135 $installer::logger::Lang->print($infoline);
136 installer::systemactions::create_directory_structure($shipinstalldir);
138 $installer::logger::Lang->print($infoline);
142 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$dirname);
144 my $localshipinstalldir = $shipinstalldir . $installer::globals::separator . $dirname;
147 …$installer::logger::Lang->print( "... linking installation set from " . $destdir . " to " . $local…
154 $installer::logger::Lang->print($infoline);
159 $installer::logger::Lang->print($infoline);
164 $installer::logger::Lang->print($infoline);
180 …my $checksumfileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$insta…
181 …if ( $$checksumfileref eq "" ) { installer::exiter::exit_program("ERROR: Could not find file $inst…
227 my $numberedchecksumfilename = $installer::globals::checksumfilename;
229installer::files::save_file($installchecksumdir . $installer::globals::separator . $numberedchecks…
271 for ( my $i = 0; $i <= $#{$installer::globals::nopatchfilecollector}; $i++ )
273 my $onefile = ${$installer::globals::nopatchfilecollector}[$i];
291 …my $installpatchlistdir = installer::systemactions::create_directory_next_to_directory($installlog…
294installer::files::save_file($installpatchlistdir . $installer::globals::separator . $patchlistfile…
295 $installer::logger::Info->print( "... creating patchlist file $patchlistfilename \n" );
297 …if (( $installer::globals::patch ) && ( ! $installer::globals::creating_windows_installer_patch ))…
301installer::files::save_file($installpatchlistdir . $installer::globals::separator . $patchlistfile…
302 $installer::logger::Info->print( "... creating patch exclusion file $patchlistfilename \n" );
316 $installer::logger::Info->print( "... removing old installation directories ...\n" );
320 if ( -d $removedir ) { installer::systemactions::remove_complete_directory($removedir, 1); }
325 if ( -d $removedir ) { installer::systemactions::remove_complete_directory($removedir, 1); }
328 if ( -d $removedir ) { installer::systemactions::remove_complete_directory($removedir, 1); }
332 …if ( $installer::globals::localinstalldirset ) { installer::systemactions::create_directory_struct…
334 installer::systemactions::create_directory($basedir);
345 $installer::logger::Info->print( "... removing old installation directories ...\n" );
348 installer::pathanalyzer::get_path_from_fullqualifiedname(\$basedir);
351 my $alldirs = installer::systemactions::get_all_directories($basedir);
367 installer::systemactions::remove_complete_directory(${$alldirs}[$i], 1);
372 installer::systemactions::remove_complete_directory(${$alldirs}[$i], 1);
390 if ( $installer::globals::updatepack )
393 installer::systemactions::create_directory_structure($installdir);
394 …$$current_install_number_ref = installer::systemactions::determine_maximum_number($installdir, $la…
395 …$installdir = installer::systemactions::rename_string_in_directory($installdir, "number", $$curren…
400 $installdir = installer::systemactions::create_directories("install", $languageref);
401 $installer::logger::Info->print( "... creating installation set in $installdir ...\n" );
404 installer::systemactions::rename_directory($installdir, $inprogressinstalldir);
408 $installer::globals::saveinstalldir = $installdir; # saving directory globally, in case of exiting
424 …$installer::logger::Info->print( "... checking log file " . $loggingdir . $installer::globals::log…
426 my $contains_error = installer::control::check_logfile();
432 …my $errordir = installer::systemactions::rename_string_in_directory($installdir, "_inprogress", "_…
433 if ($installer::globals::updatepack)
435 installer::mail::send_fail_mail($allsettingsarrayref, $languagestringref, $errordir);
438 for ( my $j = 0; $j <= $#installer::globals::errorlogfileinfo; $j++ )
440 my $line = $installer::globals::errorlogfileinfo[$j];
442 installer::logger::print_error( $line );
452 if ( $installer::globals::updatepack )
454 …if ( $installdir =~ /_download_inprogress/ ) { $destdir = installer::systemactions::rename_string_…
455 …elsif ( $installdir =~ /_jds_inprogress/ ) { $destdir = installer::systemactions::rename_string_in…
456 …elsif ( $installdir =~ /_msp_inprogress/ ) { $destdir = installer::systemactions::rename_string_in…
459 …if ( $installdir =~ /_packed/ ) { $destdir = installer::systemactions::rename_string_in_directory(…
460 …else { $destdir = installer::systemactions::rename_string_in_directory($installdir, "_inprogress",…
462 installer::mail::send_success_mail($allsettingsarrayref, $languagestringref, $destdir);
466 … $destdir = installer::systemactions::rename_string_in_directory($installdir, "_inprogress", "");
474 my $numberedlogfilename = $installer::globals::logfilename;
475 if ( $installer::globals::updatepack )
481 $installlogdir . $installer::globals::separator . $numberedlogfilename)
483 if ($log_file_name ne $installer::logger::Lang->{'filename'})
485 $installer::logger::Info->printf(" copying log file to %s\n", $log_file_name);
486installer::systemactions::copy_one_file($installer::logger::Lang->{'filename'}, $log_file_name);
491 …if (( $installer::globals::patch ) || ( $installer::globals::creating_windows_installer_patch )) {…
493 …if ( $installer::globals::creating_windows_installer_patch ) { $installer::globals::creating_windo…
499 …if ( ! $is_success) { installer::exiter::exit_program("ERROR: Found an error in the logfile. Packa…
513 my $numberedlogfilename = $installer::globals::logfilename;
514 …if ( $installer::globals::updatepack ) { $numberedlogfilename =~ s /log_/log_$current_install_numb…
515 $installer::logger::Info->print( "... creating log file $numberedlogfilename \n" );
516 installer::files::save_file($loggingdir . $numberedlogfilename, \@installer::globals::logfileinfo);
517installer::files::save_file($installlogdir . $installer::globals::separator . $numberedlogfilename…
527 $installer::logger::Info->print( "... cleaning the output tree ...\n" );
529 for ( my $i = 0; $i <= $#installer::globals::removedirs; $i++ )
531 if ( -d $installer::globals::removedirs[$i] )
533 …$installer::logger::Info->print( "... removing directory $installer::globals::removedirs[$i] ...\n…
534 installer::systemactions::remove_complete_directory($installer::globals::removedirs[$i], 1);
540 if ( $installer::globals::shiptestdirectory )
542 if ( -d $installer::globals::shiptestdirectory )
544 my $infoline = "Last try to remove $installer::globals::shiptestdirectory . \n";
545 $installer::logger::Lang->print($infoline);
546 my $systemcall = "rmdir $installer::globals::shiptestdirectory";
559 $installer::logger::Info->print( "... cleaning jds directories ...\n" );
561 for ( my $i = 0; $i <= $#installer::globals::jdsremovedirs; $i++ )
563 if ( -d $installer::globals::jdsremovedirs[$i] )
565 …$installer::logger::Info->print( "... removing directory $installer::globals::jdsremovedirs[$i] ..…
566installer::systemactions::remove_complete_directory($installer::globals::jdsremovedirs[$i], 1);
691 …for ( my $i = 0; $i <= $#{$newfiles}; $i++ ) { push(@{$installer::globals::nopatchfilecollector}, …
736 $installer::logger::Lang->printf(
740 if ( $flag eq "BINARYTABLE_ONLY" ) { push(@installer::globals::binarytableonlyfiles, $oneitem); }
763 $installer::logger::Info->print( "... installing module $packagename ...\n" );
765 my $destdir = $installer::globals::destdir;
768 $installer::logger::Info->print( "DestDir: $destdir \n" );
769 $installer::logger::Info->print( "Rootpath: $installer::globals::rootpath \n" );
772 `mkdir -p $destdir$installer::globals::rootpath`;
837 my $fname = $installer::globals::destdir . "/$packagename";
838 if ($installer::globals::languagepack) { $fname .= ".$languagestring"; }
858 installer::converter::copy_item_object($inffile, $shellnewfileref);
866 installer::pathanalyzer::get_path_from_fullqualifiedname(\$destination);
920 if ( ! installer::existence::exists_in_array($module, \@allmodules) )
956 …if (( $firstlanguage ) && ( ! $installer::globals::shellnewfilesadded )) { add_shellnewfile_into_f…
963 $installer::globals::shellnewfilesadded = 1;
1002 my $exefile = installer::existence::get_specified_file($filesref, $executablegid);
1024 if ( $inffilemodule =~ /Module_Root/i ) { $inffilemodule = $installer::globals::rootmodulegid; }
1101 installer::logger::include_header_into_logfile("Creating inf files:");
1104 my $infdir = installer::systemactions::create_directories($infdirname, $languagestringref);
1107 $installer::logger::Lang->print($infoline);
1118 …if ( ! -f $templatefilename ) { installer::exiter::exit_program("ERROR: Could not find file $templ…
1130 $installer::logger::Lang->print($infoline);
1132 my $templatefile = installer::files::read_file($templatefilename);
1139 $installer::logger::Lang->print($infoline);
1143 my $windowslanguage = installer::windows::language::get_windows_language($onelanguage);
1146 my $sourcepath = $infdir . $installer::globals::separator . $language_inf_file_name;
1147 installer::files::save_file($sourcepath, $templatefile);
1150 $installer::logger::Lang->print($infoline);
1157 …if ( $j < $#{$languagesarrayref} ) { installer::converter::copy_item_object($inffile, $languageini…
1165 installer::pathanalyzer::get_path_from_fullqualifiedname(\$destination);
1184 installer::logger::include_header_into_logfile("Selecting items for patches. Item: $itemname");
1216 installer::logger::include_header_into_logfile("Selecting RegistryItems for patches");
1241 installer::logger::include_header_into_logfile("Selecting RegistryItems for Language Packs");
1268 installer::logger::include_header_into_logfile("Analyzing patch files");
1279 if ( $installer::globals::iswindowsbuild )
1282 $onefile->{'modules'} = $installer::globals::rootmodulegid;
1325 @installer::globals::linuxlinks = (); # empty this array, because it could be already used
1326 @installer::globals::linuxpatchfiles = (); # empty this array, because it could be already used
1327 …@installer::globals::allfilessav = (); # empty this array, because it could be already used. Requi…
1336 installer::converter::copy_item_object($onefile, $linkfile);
1347 installer::converter::copy_item_object($onefile, $copyfile);
1348 push( @installer::globals::allfilessav, $copyfile);
1353 …if ( $ispatchfile ) { $onefile->{'destination'} = $onefile->{'destination'} . "\.$installer::globa…
1354 …else { $onefile->{'destination'} = $onefile->{'destination'} . "\.$installer::globals::linuxlibrar…
1357 $installer::logger::Lang->print($infoline);
1361 else { push( @installer::globals::linuxpatchfiles, $onefile); }
1366 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$linkdestination);
1367 …if ( $ispatchfile ) { $linkfile->{'destinationfile'} = $linkdestination . "\.$installer::globals::…
1368 …else { $linkfile->{'destinationfile'} = $linkdestination . "\.$installer::globals::linuxlibrarybas…
1369 push( @installer::globals::linuxlinks, $linkfile );
1372 $installer::logger::Lang->print($infoline);
1412 installer::converter::copy_item_object($searchedlinkfile, $linkfile);
1417 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$linkdestination);
1422 installer::pathanalyzer::get_path_from_fullqualifiedname(\$localdestination);
1423 $localdestination =~ s/\Q$installer::globals::separator\E\s*$//;
1424 …$linkfile->{'destination'} = $localdestination . $installer::globals::separator . $onelink->{'Name…
1427 $installer::logger::Lang->print($infoline);
1431 push( @installer::globals::linuxlinks, $linkfile );
1438 my $searchedlinkfile = find_file_by_id(\@installer::globals::allfilessav, $fileid);
1443 installer::converter::copy_item_object($searchedlinkfile, $linkfile);
1448 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$linkdestination);
1453 installer::pathanalyzer::get_path_from_fullqualifiedname(\$localdestination);
1454 $localdestination =~ s/\Q$installer::globals::separator\E\s*$//;
1455 …$linkfile->{'destination'} = $localdestination . $installer::globals::separator . $onelink->{'Name…
1458 $installer::logger::Lang->print($infoline);
1462 push( @installer::globals::linuxlinks, $linkfile );
1465 …if ( $fileid eq "" ) { installer::exiter::exit_program("ERROR: No FileID assigned to forced link $…
1616 installer::sorter::sorting_array_of_strings(\@sortedarray);
1635 …if ( ! $allvariableshashref->{'WINDOWSPATCHLEVEL'} ) { installer::exiter::exit_program("ERROR: No …
1637 my $windowspatchlevel = $installer::globals::buildid;
1660installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$localfilename); # file name…
1669 installer::pathanalyzer::get_path_from_fullqualifiedname(\$olddestination); # directory part
1678 push(@installer::globals::patchfilecollector, $patchfileline);
1682 …my $winpatchdir = installer::systemactions::create_directories($winpatchdirname, $languagestringre…
1684 my $patchlistfile = installer::existence::get_specified_file_by_name($filesref, $patchfilename);
1696 $patchfilename = $winpatchdir . $installer::globals::separator . $patchfilename;
1697 installer::files::save_file($patchfilename, $patchfilelist);
1699 $installer::logger::Lang->print("\n");
1700 $installer::logger::Lang->printf("Created list of patch files: %s\n", $patchfilename);
1710 $installer::logger::Lang->print($infoline);
1711 $installer::logger::Info->print( "... size of patch list file: $filesize Byte ... \n" );
1871 if ( $installer::globals::islinuxrpmbuild )
1873 $allpackages = installer::systemactions::find_file_with_file_extension("rpm", $directory);
1876 if ( $installer::globals::issolarisbuild )
1878 $allpackages = installer::systemactions::get_all_directories($directory);
1931 if ( $installer::globals::issolarispkgbuild ) # on Solaris $onepackage contains the complete path
1933 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$packagename);
1936 if ( ! installer::existence::exists_in_array($packagename, $allexcludepackages))
1941 if ( $installer::globals::islinuxrpmbuild )
1943 my $sourcepackage = $sourcedir . $installer::globals::separator . $packagename;
1944 my $destfile = $destdir . $installer::globals::separator . $packagename;
1945 …if ( ! -f $sourcepackage ) { installer::exiter::exit_program("ERROR: Could not find RPM $sourcepac…
1946 installer::systemactions::hardlink_one_file($sourcepackage, $destfile);
1949 if ( $installer::globals::issolarispkgbuild )
1951 my $destinationdir = $destdir . $installer::globals::separator . $packagename;
1952 …if ( ! -d $onepackage ) { installer::exiter::exit_program("ERROR: Could not find Solaris package $…
1963 $installer::logger::Lang->print($infoline);
1969 $installer::logger::Lang->print($infoline);
1985 $installer::logger::Lang->print($infoline);
1990 $installer::logger::Lang->print($infoline);
1995 $installer::logger::Lang->print($infoline);
2008 $installer::logger::Lang->print($infoline);
2016 $installer::logger::Lang->print($infoline);
2020 …my $packagesourceref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$onep…
2021 …if ($$packagesourceref eq "") { installer::exiter::exit_program("ERROR: Could not find jds file $o…
2030 my $destfile = $destdir . $installer::globals::separator . $onepackage;
2031 installer::systemactions::copy_one_file($$packagesourceref, $destfile);
2044 $installer::logger::Info->print("\n");
2045 $installer::logger::Info->print("******************************************\n");
2046 $installer::logger::Info->print("... creating jds installation set ...\n");
2047 $installer::logger::Info->print("******************************************\n");
2049 installer::logger::include_header_into_logfile("Creating jds installation sets:");
2052 installer::pathanalyzer::get_path_from_fullqualifiedname(\$firstdir);
2055 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$lastdir);
2063 if ( -d $jdsdir ) { installer::systemactions::remove_complete_directory($jdsdir); }
2067 if ( -d $olddir ) { installer::systemactions::remove_complete_directory($olddir); }
2071 if ( -d $olddir ) { installer::systemactions::remove_complete_directory($olddir); }
2075 installer::systemactions::create_directory($jdsdir);
2077 $installer::globals::saveinstalldir = $jdsdir;
2080 my $filelistname = $installer::globals::jdsexcludefilename;
2082 …my $filelistnameref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$filel…
2083 …if ($$filelistnameref eq "") { installer::exiter::exit_program("ERROR: Could not find jds list fil…
2085 my $listfile = installer::files::read_file($$filelistnameref);
2088 $installer::logger::Lang->print($infoline);
2098 my $alldirs = installer::systemactions::get_all_directories($installationdir);
2101 …if ( $installer::globals::issolarisbuild ) { $sourcedir = $installer::globals::saved_packages_path…
2122 …if ( ! $allvariableshashref->{'JDSLANG'} ) { installer::exiter::exit_program("ERROR: For building …
2125 my $sortedarray1 = installer::converter::convert_stringlist_into_array(\$languagestring, ",");
2127 installer::sorter::sorting_array_of_strings($sortedarray1);
2129 my $sortedarray2 = installer::converter::convert_stringlist_into_array($languagestringref, "_");
2130 installer::sorter::sorting_array_of_strings($sortedarray2);
2132 my $string1 = installer::converter::convert_array_to_comma_separated_string($sortedarray1);
2133 my $string2 = installer::converter::convert_array_to_comma_separated_string($sortedarray2);
2184installer::logger::include_header_into_logfile("Start: Copying scp action files into installation …
2186 for ( my $i = 0; $i <= $#installer::globals::allscpactions; $i++ )
2188 my $onescpaction = $installer::globals::allscpactions[$i];
2196 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
2197 if ( $subdir ) { $destdir = $destdir . $installer::globals::separator . $subdir; }
2200 my $destfile = $destdir . $installer::globals::separator . $onescpaction->{'DestinationName'};
2208 installer::systemactions::create_directory_structure($destdir);
2212 installer::systemactions::create_directory($destdir);
2215 installer::systemactions::copy_one_file($sourcefile, $destfile);
2225installer::logger::include_header_into_logfile("End: Copying scp action files into installation se…
2239 push(@installer::globals::allscpactions, ${$allscpactions}[$i]);
2251 if (( $installer::globals::islinuxintelrpmbuild ) || ( $installer::globals::islinuxinteldebbuild ))
2255 elsif (( $installer::globals::islinuxppcrpmbuild ) || ( $installer::globals::islinuxppcdebbuild ))
2259 …elsif (( $installer::globals::islinuxx86_64rpmbuild ) || ( $installer::globals::islinuxx86_64debbu…
2263 elsif ( $installer::globals::issolarissparcbuild )
2267 elsif ( $installer::globals::issolarisx86build )
2271 elsif ( $installer::globals::iswindowsbuild )
2275 elsif(( $installer::globals::compiler =~ /^unxmac.i/ ))
2279 elsif ( $installer::globals::compiler =~ /^unxmaccx/ )
2283 elsif ( $installer::globals::compiler =~ /^unxmacxp/ )
2290 $platformname = $installer::globals::compiler;
2311 …my $includefiles = installer::converter::convert_stringlist_into_array_without_linebreak_and_quote…
2318 …$includefilenameref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$inclu…
2319 …if ( $$includefilenameref eq "" ) { installer::exiter::exit_program("Include file $includefilename…
2321 $installer::logger::Global->printf("Including inc file: %s\n", $$includefilenameref);
2323 my $includefile = installer::files::read_file($$includefilenameref);
2335 $installer::logger::Global->printf("Setting of variable: %s = %s\n",
2344 if ( $installer::globals::iswindowsbuild )
2349 $installer::logger::Global->printf(
2364 installer::logger::globallog("Reading all directories: Start");
2365 $installer::logger::Info->print( "... reading include paths ...\n" );
2368 @installer::globals::allincludepathes =();
2374 installer::remover::remove_leading_and_ending_whitespaces(\$includepath);
2378 $installer::logger::Global->printf(
2386 installer::systemactions::read_full_directory($includepath, $pathstring, \@sourcefiles);
2390 $installer::logger::Global->printf(
2397 $installer::logger::Global->printf(
2409 push(@installer::globals::allincludepathes, \%allfileshash);
2413 $installer::globals::include_pathes_read = 1;
2415 installer::logger::globallog("Reading all directories: End");
2416 $installer::logger::Global->print("\n");
2487 …if ( ! -f $sumfile ) { installer::exiter::exit_program("ERROR: No file /usr/bin/sum", "call_sum");…
2500 $installer::logger::Lang->print($infoline);
2505 $installer::logger::Lang->print($infoline);
2510 $installer::logger::Lang->print($infoline);
2527 if ( ! -f $wcfile ) { installer::exiter::exit_program("ERROR: No file /usr/bin/wc", "call_wc"); }
2540 $installer::logger::Lang->print($infoline);
2545 $installer::logger::Lang->print($infoline);
2550 $installer::logger::Lang->print($infoline);
2599 …if (( ! $found ) || ( $patchid eq "" )) { installer::exiter::exit_program("ERROR: No patch id defi…
2647 my $sourcefile = $olddir . $installer::globals::separator . ${$copyfiles}[$i];
2648 my $destfile = $newdir . $installer::globals::separator . ${$copyfiles}[$i];
2655 $installer::logger::Lang->print($infoline);
2660 $installer::logger::Lang->print($infoline);
2665 $installer::logger::Lang->print($infoline);
2706 $installer::logger::Lang->add_timestamp("Starting generating cygwin paths");
2709 $installer::logger::Lang->print($infoline);
2726 my $temppath = $installer::globals::temppath;
2727 $temppath =~ s/\Q$installer::globals::separator\E\s*$//;
2728 $tmpfilename = $temppath . $installer::globals::separator . $tmpfilename;
2730 $installer::logger::Lang->print($infoline);
2733 installer::files::save_file($tmpfilename, \@pathcollector);
2736 $installer::logger::Lang->printf(
2748 $installer::logger::Lang->printf(
2754 $installer::logger::Lang->print("ERROR: Failed to convert to cygwin paths!\n");
2755 installer::exiter::exit_program(
2780 $installer::logger::Lang->print($infoline);
2781installer::exiter::exit_program("ERROR: No cygwin sourcepath defined for file ${$filesref}[$i]->{'…
2785 $installer::logger::Lang->add_timestamp("Ending generating cygwin paths");
2831 installer::systemactions::create_directory($newdir);
2835 my $allsubdirs = installer::systemactions::get_all_directories_without_path($olddir);
2840 my $sourcedir = $olddir . $installer::globals::separator . ${$allsubdirs}[$i];
2841 my $destdir = $newdir . $installer::globals::separator . ${$allsubdirs}[$i];
2843 installer::systemactions::softlink_complete_directory($sourcedir, $destdir, $directory_depth);
2850 my $sourcefile = $olddir . $installer::globals::separator . $allcopyfiles[$i];
2851 my $destfile = $newdir . $installer::globals::separator . $allcopyfiles[$i];
2852 installer::systemactions::copy_one_file($sourcefile, $destfile);
2857 $pkginfofilename = $newdir . $installer::globals::separator . $pkginfofilename;
2859 my $pkginfofile = installer::files::read_file($pkginfofilename);
2861 installer::files::save_file($pkginfofilename, $pkginfofile);
2865 $pkgmapfilename = $newdir . $installer::globals::separator . $pkgmapfilename;
2867 my $pkgmapfile = installer::files::read_file($pkgmapfilename);
2869 installer::files::save_file($pkgmapfilename, $pkgmapfile);
2900 installer::systemactions::create_directory($newdir);
2902 my $oldinstalldir = $olddir . $installer::globals::separator . "install";
2903 my $newinstalldir = $newdir . $installer::globals::separator . "install";
2905 installer::systemactions::copy_complete_directory($oldinstalldir, $newinstalldir);
2908 …my $allinstallfiles = installer::systemactions::get_all_files_from_one_directory_without_path($new…
2915 my $sourcefile = $olddir . $installer::globals::separator . $allcopyfiles[$i];
2916 my $destfile = $newdir . $installer::globals::separator . $allcopyfiles[$i];
2917 installer::systemactions::copy_one_file($sourcefile, $destfile);
2922 $pkginfofilename = $newdir . $installer::globals::separator . $pkginfofilename;
2924 my $pkginfofile = installer::files::read_file($pkginfofilename);
2927 installer::files::save_file($pkginfofilename, $pkginfofile);
2931 $pkgmapfilename = $newdir . $installer::globals::separator . $pkgmapfilename;
2933 my $pkgmapfile = installer::files::read_file($pkgmapfilename);
2936 installer::files::save_file($pkgmapfilename, $pkgmapfile);
2961 …my $hiddendirbase = installer::systemactions::create_directories("hidden_$diritem", $languagestrin…
2963 installer::logger::include_header_into_logfile("$item with flag HIDDEN:");
2983 …my $hiddendir = $hiddendirbase . $installer::globals::separator . $onelanguage . $installer::globa…
2984 installer::systemactions::create_directory($hiddendir); # creating language specific directories
2993 my $copysuccess = installer::systemactions::copy_one_file($sourcefile, $destfile);
3000 installer::pathanalyzer::get_path_from_fullqualifiedname(\$destination);
3002 … else { $onefile->{'destination'} = $destination . $installer::globals::separator . $newfilename; }
3005 $installer::logger::Lang->print($infoline);
3010 $installer::logger::Lang->print($infoline);
3016 $installer::logger::Lang->print($infoline);
3076 …my $spellcheckfileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$spe…
3078 …if ($$spellcheckfileref eq "") { installer::exiter::exit_program("ERROR: Could not find $spellchec…
3080 $installer::logger::Global->printf("Using spellchecker file: %s\n", $$spellcheckfileref);
3082 my $spellcheckfile = installer::files::read_file($$spellcheckfileref);
3098 if ( $installer::globals::languagepack )
3128 my $langlisthash = installer::converter::convert_stringlist_into_hash(\$languagelist, ",");
3129 …foreach my $onelang ( keys %{$langlisthash} ) { $installer::globals::spellcheckerlanguagehash{$one…
3132 $installer::globals::analyze_spellcheckerlanguage = 1;
3137 …foreach my $lang (sort keys %installer::globals::spellcheckerlanguagehash) { $langstring = $langst…
3140 …$installer::logger::Global->printf("Collected spellchecker languages for spellchecker: %s\n", $lan…
3157 …my $licenseref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$licensefil…
3158 …if ($$licenseref eq "") { installer::exiter::exit_program("ERROR: Could not find License file $lic…
3159 my $licensefile = installer::files::read_file($$licenseref);
3162 my $setupfilename = $installdir . $installer::globals::separator . "setup";
3163 my $setupfile = installer::files::read_file($setupfilename);
3167 $installer::logger::Lang->print($infoline);
3174 installer::files::save_file($setupfilename, $setupfile);
3186 …my $getuidlibraryref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$getu…
3187 …if ($$getuidlibraryref eq "") { installer::exiter::exit_program("ERROR: Could not find $getuidlibr…
3189 $installer::globals::getuidpath = $$getuidlibraryref;
3190 $installer::globals::getuidpathset = 1;
3209 $installer::logger::Lang->print($infoline);
3214 $installer::logger::Lang->print($infoline);
3219 $installer::logger::Lang->print($infoline);
3225 my $fulltarfile = $installdir . $installer::globals::separator . $tarfilename;
3246 $installer::logger::Lang->print($infoline);
3251 $installer::logger::Lang->print($infoline);
3256 $installer::logger::Lang->print($infoline);
3306 …my $additional_license_name = $installer::globals::englishsolarislicensename; # always the English…
3307 …my $licensefileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$additi…
3308 …if ( $$licensefileref eq "" ) { installer::exiter::exit_program("ERROR: Could not find license fil…
3309 $installer::globals::englishlicenseset = 1;
3310 $installer::globals::englishlicense = installer::files::read_file($$licensefileref);
3311installer::scpzipfiles::replace_all_ziplistvariables_in_file($installer::globals::englishlicense, …
3328 $installer::logger::Lang->print($infoline);
3333 $installer::logger::Lang->print($infoline);
3338 $installer::logger::Lang->print($infoline);
3387 …my $copyrightfilename = ${$packages}[$i] . $installer::globals::separator . "install" . $installer
3388 …if ( ! -f $copyrightfilename ) { installer::exiter::exit_program("ERROR: Could not find license fi…
3389 my $copyrightfile = installer::files::read_file($copyrightfilename);
3393 installer::systemactions::copy_one_file($copyrightfilename, $savcopyrightfilename);
3398 …for ( my $i = 0; $i <= $#{$installer::globals::englishlicense}; $i++ ) { push(@{$copyrightfile}, $…
3399 installer::files::save_file($copyrightfilename, $copyrightfile);
3406 my $pkgmapfilename = ${$packages}[$i] . $installer::globals::separator . "pkgmap";
3407 …if ( ! -f $pkgmapfilename ) { installer::exiter::exit_program("ERROR: Could not find pkgmap in sys…
3408 my $pkgmap = installer::files::read_file($pkgmapfilename);
3410 installer::files::save_file($pkgmapfilename, $pkgmap);
3422 installer::logger::include_header_into_logfile("Collecing all packagemaps (pkgmap):");
3424 my $pkgmapdir = installer::systemactions::create_directories("pkgmap", $languagestringref);
3426 my $pkgmapsubdir = $pkgmapdir . $installer::globals::separator . $subdirname;
3427 if ( -d $pkgmapsubdir ) { installer::systemactions::remove_complete_directory($pkgmapsubdir); }
3428 if ( ! -d $pkgmapsubdir ) { installer::systemactions::create_directory($pkgmapsubdir); }
3432 my $searchdir = $installdir . $installer::globals::separator . $installer::globals::epmoutpath;
3434 my $allpackages = installer::systemactions::get_all_directories_without_path($searchdir);
3438 …my $pkgmapfile = $searchdir . $installer::globals::separator . ${$allpackages}[$i] . $installer::g…
3439 …my $destfilename = $pkgmapsubdir . $installer::globals::separator . ${$allpackages}[$i] . "_pkgmap…
3440 installer::systemactions::copy_one_file($pkgmapfile, $destfilename);
3449 installer::systemactions::remove_complete_directory($pkgmapsubdir, 1);