Lines Matching refs:installer
24 package installer::systemactions;
28 use installer::converter;
29 use installer::exiter;
30 use installer::globals;
31 use installer::pathanalyzer;
32 use installer::remover;
51 $installer::logger::Lang->print("\n");
52 $installer::logger::Lang->printf("Created directory: %s\n", $directory);
67 $installer::logger::Lang->print("\n");
68 $installer::logger::Lang->printf(
77 installer::pathanalyzer::get_path_from_fullqualifiedname(\$parentdir);
84 $installer::logger::Lang->print("\n");
85 $installer::logger::Lang->printf(
95 $installer::logger::Lang->print($infoline);
98 $installer::logger::Lang->print("\n");
99 $installer::logger::Lang->printf(
106 …installer::exiter::exit_program("ERROR: Could not create parent directory \"$parentdir\"", "create…
118 $installer::logger::Lang->print("\n");
119 $installer::logger::Lang->printf(
130 $installer::logger::Lang->print("\n");
131 $installer::logger::Lang->printf(
138 …installer::exiter::exit_program("ERROR: Failed to create the directory: $directory", "create_direc…
144 $installer::logger::Lang->print("\n");
145 $installer::logger::Lang->printf(
153 $installer::logger::Lang->printf("Already existing directory, did not create: %s\n", $directory);
175 $installer::logger::Lang->print("\n");
176 $installer::logger::Lang->printf("Created directory: %s\n", $directory);
187 $installer::logger::Lang->print("\n");
188 $installer::logger::Lang->printf(
197 installer::pathanalyzer::get_path_from_fullqualifiedname(\$parentdir);
204 $installer::logger::Lang->print("\n");
205 $installer::logger::Lang->printf(
215 $installer::logger::Lang->print($infoline);
218 $installer::logger::Lang->print("\n");
219 $installer::logger::Lang->printf(
226 …installer::exiter::exit_program("ERROR: Could not create parent directory \"$parentdir\"", "create…
238 $installer::logger::Lang->print("\n");
239 $installer::logger::Lang->printf("Attention: Created directory \"%s\" in the second try.\n",
249 $installer::logger::Lang->print("\n");
250 $installer::logger::Lang->printf(
257 …installer::exiter::exit_program("ERROR: Failed to create the directory: $directory", "create_direc…
263 $installer::logger::Lang->print("\n");
264 $installer::logger::Lang->printf(
272 $installer::logger::Lang->print("\n");
273 $installer::logger::Lang->printf("Already existing directory, did not create: %s\n", $directory);
325 …$installer::logger::Lang->printf("directory '%s' is not empty and can not be removed\n", $director…
334 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
338 $installer::logger::Lang->printf("ERROR: Could not remove \"%s\"!\n", $directory);
342 $installer::logger::Lang->printf("Success: Removed \"%s\"!\n", $directory);
377 …$installer::globals::unpackpath =~ s/\Q$installer::globals::separator\E\s*$//; # removing ending s…
383 if ( $installer::globals::temppathdefined ) { $path = $installer::globals::temppath; }
384 else { $path = $installer::globals::unpackpath; }
385 $path =~ s/\Q$installer::globals::separator\E\s*$//; # removing ending slashes and backslashes
386 $path = $path . $installer::globals::separator;
390 if ( $installer::globals::jdstemppathdefined ) { $path = $installer::globals::jdstemppath; }
391 else { $path = $installer::globals::unpackpath; }
392 $path =~ s/\Q$installer::globals::separator\E\s*$//; # removing ending slashes and backslashes
393 $path = $path . $installer::globals::separator;
394 installer::systemactions::create_directory($path);
398 $path = $installer::globals::unpackpath . $installer::globals::separator;
401 if (( $installer::globals::localinstalldirset ) && ( $newdirectory eq "install" ))
403 $installer::globals::localinstalldir =~ s/\Q$installer::globals::separator\E\s*$//;
404 $path = $installer::globals::localinstalldir . $installer::globals::separator;
409 $installer::logger::Lang->print($infoline);
413 …$path = $path . ".." . $installer::globals::separator . "common" . $installer::globals::productext…
416 $path = $path . $newdirectory . $installer::globals::separator;
421 my $localproductname = $installer::globals::product;
424 if ( $installer::globals::product =~ /^\s*(.+?)\_\_(.+?)\s*$/ )
430 …if ( $installer::globals::languagepack ) { $path = $path . $localproductname . "_languagepack" . $…
431 …elsif ( $installer::globals::patch ) { $path = $path . $localproductname . "_patch" . $installer::…
432 else { $path = $path . $localproductname . $installer::globals::separator; }
438 $path = $path . $localproductsubdir . $installer::globals::separator;
442 $path = $path . $installer::globals::installertypedir . $installer::globals::separator;
445 $path = $path . $newdirectory . $installer::globals::separator;
454 my $languagestring = installer::languages::get_language_directory_name($$languagesref);
456 $path = $path . $languagestring . $installer::globals::separator;
461 installer::remover::remove_ending_pathseparator(\$path);
463 $path = installer::converter::make_path_conform($path);
480 if ( $installer::globals::isos2 ) {
497 $installer::logger::Lang->print($infoline);
504 if ($installer::globals::iswin && -f $dest) {
519 $installer::logger::Lang->print($infoline);
548 $installer::logger::Lang->print($infoline);
576 $installer::logger::Lang->print($infoline);
604 $installer::logger::Lang->print($infoline);
620 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
621 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
624 $installer::logger::Lang->print($infoline);
626 $installer::logger::Lang->print($infoline);
638 my $sourcefile = $sourcedir . $installer::globals::separator . $onefile;
639 my $destfile = $destdir . $installer::globals::separator . $onefile;
690 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
691 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
696 $installer::logger::Lang->print($infoline);
698 $installer::logger::Lang->print($infoline);
710 my $source = $sourcedir . $installer::globals::separator . $onefile;
711 my $dest = $destdir . $installer::globals::separator . $onefile;
734 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
735 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
740 $installer::logger::Lang->print($infoline);
742 $installer::logger::Lang->print($infoline);
754 my $source = $sourcedir . $installer::globals::separator . $onefile;
755 my $dest = $destdir . $installer::globals::separator . $onefile;
781 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
782 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
787 $installer::logger::Lang->print($infoline);
789 $installer::logger::Lang->print($infoline);
801 my $source = $sourcedir . $installer::globals::separator . $onefile;
802 my $dest = $destdir . $installer::globals::separator . $onefile;
828 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
829 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
834 $installer::logger::Lang->print($infoline);
836 $installer::logger::Lang->print($infoline);
848 my $source = $sourcedir . $installer::globals::separator . $onefile;
849 my $dest = $destdir . $installer::globals::separator . $onefile;
873 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
874 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
877 $installer::logger::Lang->print($infoline);
879 $installer::logger::Lang->print($infoline);
893 my $sourcefile = $sourcedir . $installer::globals::separator . $onefile;
894 my $destfile = $destdir . $installer::globals::separator . $onefile;
915 $sourcedir =~ s/\Q$installer::globals::separator\E\s*$//;
916 $destdir =~ s/\Q$installer::globals::separator\E\s*$//;
919 $installer::logger::Lang->print($infoline);
921 $installer::logger::Lang->print($infoline);
935 my $sourcefile = $sourcedir . $installer::globals::separator . $onefile;
936 my $destfile = $destdir . $installer::globals::separator . $onefile;
958 $dir =~ s/\Q$installer::globals::separator\E\s*$//;
961 $installer::logger::Lang->print($infoline);
963 $installer::logger::Lang->print($infoline);
978 my $sourcefile = $dir . $installer::globals::separator . $onefile;
979 $destfile = $dir . $installer::globals::separator . $destfile;
1000 $dir =~ s/\Q$installer::globals::separator\E\s*$//;
1003 $installer::logger::Lang->print($infoline);
1005 $installer::logger::Lang->print($infoline);
1037 installer::pathanalyzer::get_path_from_fullqualifiedname(\$basedir);
1062 $installer::logger::Lang->print("\n");
1063 $installer::logger::Lang->printf("Moved directory from %s to %s\n", $olddir, $newdir);
1068 $installer::logger::Lang->print("\n");
1069 …$installer::logger::Lang->printf("ATTENTION: Could not move directory from %s to %s, \"make_number…
1087 installer::pathanalyzer::get_path_from_fullqualifiedname(\$basedir);
1106 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$onedir);
1108 …if ( $onedir =~ /^\s*\Q$installer::globals::build\E\_\Q$installer::globals::lastminor\E\_(.*?)\-(\…
1185 $installer::logger::Lang->print("\n");
1186 $installer::logger::Lang->printf("Moved directory from $olddir to %s\n", $newdir);
1190 $installer::logger::Lang->print("\n");
1191 $installer::logger::Lang->printf(
1229 …if ( ! $founddir ) { installer::exiter::exit_program("ERROR: Did not find directory beginning with…
1250 $installer::logger::Lang->print("\n");
1251 $installer::logger::Lang->printf("Moved directory from $olddir to %s\n", $newdir);
1255 …installer::exiter::exit_program("ERROR: Could not move directory from $olddir to $newdir", "rename…
1270 installer::pathanalyzer::get_path_from_fullqualifiedname(\$basedir);
1272 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1274 my $newdir = $basedir . $installer::globals::separator . $dirname;
1292 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1301 my $completeentry = $basedir . $installer::globals::separator . $direntry;
1323 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1332 my $completeentry = $basedir . $installer::globals::separator . $direntry;
1353 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1362 my $completeentry = $basedir . $installer::globals::separator . $direntry;
1383 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1392 my $completeentry = $basedir . $installer::globals::separator . $direntry;
1413 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1422 my $completeentry = $basedir . $installer::globals::separator . $direntry;
1445 $basedir =~ s/\Q$installer::globals::separator\E\s*$//;
1454 my $completeentry = $basedir . $installer::globals::separator . $direntry;
1459 if (! installer::existence::exists_in_array($completeentry, $oldcontent))
1489 $installer::logger::Lang->print("\n");
1490 $installer::logger::Lang->printf("Created directory: %s\n", $directory);
1523 installer::pathanalyzer::get_path_from_fullqualifiedname(\$parentdir);
1525 $installer::logger::Lang->printf("INFO: Did not create directory %s\n", $directory);
1526 $installer::logger::Lang->printf("Now trying to create parent directory %s\n", $parentdir);
1545 $directory =~ s/\Q$installer::globals::separator\E\s*$//;
1551 $installer::logger::Lang->print("\n");
1552 $installer::logger::Lang->printf("Removing directory %s\n", $directory);
1565 my $item = $directory . $installer::globals::separator . $oneitem;
1583 …$installer::logger::Info->printf("trying to remove directory that doesn't exist: %s\n", $directory…
1589 $installer::logger::Lang->printf("Warning: Problem with removing empty dir %s\n", $directory);
1599 $installer::logger::Lang->print("\n");
1600 $installer::logger::Lang->printf("Warning (Try %d): Problems with removing directory %s\n",
1607 $installer::logger::Lang->printf("Successfully removed empty dir %s\n", $directory);
1611 $installer::logger::Lang->printf("Warning: rmdir %s failed.\n", $directory);
1627 $directory =~ s/\Q$installer::globals::separator\E\s*$//;
1659 $directory =~ s/\Q$installer::globals::separator\E\s*$//;
1666 …else { installer::exiter::exit_program("ERROR: Directory $directory already exists!", "create_pid_…
1690 my $completefilename = $directory . $installer::globals::separator . $onefile;
1692 if ( $pathstring ne "" ) { $sep = $installer::globals::separator; }
1720 $installer::logger::Lang->printf("seaching files under '%s'\n", $currentdir);
1734 $fullname = $path . $installer::globals::separator . $item;
1738 $sep = $installer::globals::separator;
1753 $installer::logger::Lang->printf(" found %d new files in '%s'\n", $count, $path);
1768 $dir =~ s/\Q$installer::globals::separator\E\s*$//;
1782 my $item = $dir . $installer::globals::separator . $oneitem;
1792 $installer::logger::Info->printf("remove_empty_dirs_in_folder %s\n", $dir);
1797 $installer::logger::Lang->printf("Successfully removed empty dir %s\n", $dir);