Lines Matching refs:installer
24 package installer::control;
27 use installer::converter;
28 use installer::exiter;
29 use installer::files;
30 use installer::globals;
31 use installer::pathanalyzer;
32 use installer::scriptitems;
33 use installer::systemactions;
49 $installer::logger::Info->printf("...... searching %s ...\n", $onefile);
51 …my $fileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath_classic(\$onefi…
56 installer::logger::print_error( "$onefile not found\n" );
60 $installer::logger::Info->print( "\tFound: $$fileref\n" );
66 …installer::exiter::exit_program("ERROR: Could not find all needed files in path!", "check_needed_f…
84 my $local_pathseparator = $installer::globals::pathseparator;
97 …my $patharrayref = installer::converter::convert_stringlist_into_array(\$pathvariable, $local_path…
99 $installer::globals::patharray = $patharrayref;
103 if (($installer::globals::iswin) && ($installer::globals::iswindowsbuild))
107 elsif ($installer::globals::iswin || $installer::globals::isos2)
118 $installer::logger::Info->printf("...... searching %s ...\n", $onefile);
120 …my $fileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath_classic(\$onefi…
125 installer::logger::print_error( "$onefile not found\n" );
129 $installer::logger::Info->print( "\tFound: $$fileref\n" );
131 if ( $onefile eq "msitran.exe" ) { $installer::globals::msitranpath = $$fileref; }
137 …installer::exiter::exit_program("ERROR: Could not find all needed files in path!", "check_system_p…
142 if (( $installer::globals::call_epm ) && (!($installer::globals::iswindowsbuild)))
145 …my $fileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$onefile, $pat…
148 $installer::globals::epm_in_path = 1;
156 $installer::globals::epm_path = $$fileref;
162 if ( $installer::globals::iswindowsbuild ) { $installer::globals::upxfile = "upx.exe"; }
163 else { $installer::globals::upxfile = "upx"; }
165 my $upxfilename = $installer::globals::upxfile;
166 …my $upxfileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath_classic(\$up…
170 $installer::globals::upx_in_path = 1;
171 $installer::globals::upxfile = $$upxfileref;
172 $installer::logger::Info->print( "\tFound: $$upxfileref\n" );
196 $installer::logger::Global->printf("ERROR: Could not execute \"%s\"!\n", $systemcall);
200 $installer::logger::Global->printf("Success: Executed \"%s\" successfully!\n", $systemcall);
213 $installer::logger::Global->printf("%s\n", $versionline);
227 $installer::logger::Global->printf("Using version: %s\n", $makecabversion);
246 …$installer::logger::Global->printf("Tested version: %s\n", $installer::globals::controlledmakecabv…
252 if ( $makecabversion < $installer::globals::controlledmakecabversion )
255 if ( $installer::globals::isopensourceproduct )
257 …installer::logger::print_warning("Old version of makecab.exe. Found version: \"$makecabversion\", …
261 …installer::exiter::exit_program("makecab.exe too old. Found version: \"$makecabversion\", required…
267 $installer::logger::Global->print("Warning: No version check of makecab.exe\n");
282 foreach $key ( @installer::globals::environmentvariables )
290 installer::logger::print_error( "$key not set in environment\n" );
297 …installer::exiter::exit_program("ERROR: Environment variable not set!", "check_system_environment"…
367 …my $ignore_errors = ( ! $installer::globals::pro ) && ( $installer::globals::ignore_error_in_logfi…
403 installer::logger::include_header_into_logfile("Summary:");
407 $installer::logger::Info->print($line, $force);
414 @installer::globals::errorlogfileinfo = @output;
427 …if (!( $ENV{'SHIPDRIVE'} )) { installer::exiter::exit_program("ERROR: SHIPDRIVE must be set for up…
431 my $languagestring = installer::languages::get_language_directory_name($$languagesref);
433 my $productstring = $installer::globals::product;
442 if ( $installer::globals::languagepack ) { $productstring = $productstring . "_languagepack"; }
443 if ( $installer::globals::patch ) { $productstring = $productstring . "_patch"; }
445 my $destdir = $shipdrive . $installer::globals::separator . $installer::globals::compiler .
446 $installer::globals::productextension . $installer::globals::separator .
447 $productstring . $installer::globals::separator;
449 if ( $productsubdir ) { $destdir = $destdir . $productsubdir . $installer::globals::separator; }
451 $destdir = $destdir . $installer::globals::installertypedir . $installer::globals::separator .
452 $installer::globals::build . "_" . $installer::globals::lastminor . "_" .
453 "native_inprogress-number_" . $languagestring . "\." . $installer::globals::buildid;
455 $installer::logger::Global->print("\n");
456 $installer::logger::Global->printf("Setting ship directory: %s\n", $destdir);
473 $installer::logger::Global->print("\n");
474 $installer::logger::Global->print("Environment variable UPDATER set\n");
478 $installer::logger::Global->print("Environment variable CWS_WORK_STAMP not set\n");
483 $installer::logger::Global->printf("Ship drive defined: %s\n", $shipdrive);
487 $installer::logger::Global->print("Ship drive exists\n");
491 …y $directory = $installer::globals::product . "_" . $installer::globals::compiler . "_" . $install…
494 $directory = $shipdrive . $installer::globals::separator . $directory;
496 $installer::logger::Global->printf("Try to create directory: %s\n", $directory);
499 $installer::globals::shiptestdirectory = $directory;
501 if ( installer::systemactions::try_to_create_directory($directory))
503 $installer::logger::Global->print("Write access on Ship drive\n");
504 $installer::logger::Global->print(
506 $installer::globals::shiptestdirectory);
517 … $installer::logger::Global->printf("Environment variable SOLARENV: %s\n", $solarenv);
526 $installer::logger::Global->print($infoline);
530 …$installer::logger::Global->print("Content of SOLARENV starts with the content of SOL_TMP\: Local …
534 …$installer::logger::Global->print("Content of SOLARENV does not start with the content of SOL_TMP:…
536 $installer::globals::updatepack = 1; # That's it
541 if ( -d $installer::globals::shiptestdirectory )
543 $installer::logger::Global->printf(
545 $installer::globals::shiptestdirectory);
549 $installer::logger::Global->printf(
551 $installer::globals::shiptestdirectory);
556 $installer::logger::Global->print("No write access on Ship drive\n");
557 … $installer::logger::Global->printf("Failed to create directory \n", $directory);
560 …installer::exiter::exit_program("ERROR: No write access to SHIPDRIVE although BSCLIENT is set.", "…
566 $installer::logger::Global->print("Ship drive not found: No updatepack\n");
571 … $installer::logger::Global->print("Environment variable SHIPDRIVE not set: No updatepack\n");
576 … $installer::logger::Global->print("Environment variable CWS_WORK_STAMP defined: No updatepack\n");
580 if ( $installer::globals::updatepack )
582 $installer::logger::Global->print("Setting updatepack true\n");
583 $installer::logger::Global->print("\n");
587 $installer::logger::Global->print("\n");
588 $installer::logger::Global->print("No updatepack\n");
601 …my $fileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$installer::gl…
603 …if ( $$fileref eq "" ) { installer::exiter::exit_program("ERROR: Did not find Windows encoding lis…
605 $installer::logger::Global->printf("Found encoding file: %s\n", $$fileref);
607 my $encodinglist = installer::files::read_file($$fileref);
633 …installer::exiter::exit_program("ERROR: Wrong syntax in Windows encoding list $installer::globals:…
637 $installer::globals::msiencoding = \%msiencoding;
638 $installer::globals::msilanguage = \%msilanguage;
664 …if (( $onefile->{'Name'} =~ /\.oxt\s*$/ ) && ( $onefile->{'Dir'} eq $installer::globals::extension…
666 …installer::exiter::exit_program("There is currently only for Linux (RPM) and Windows a reliable me…
680 if ( ! $installer::globals::solarjavaset ) { $allvariables->{'XPDINSTALLER'} = 0; }
694 ( $allvariables->{'ADDREQUIREDPACKAGES'} )) { $installer::globals::addchildprojects = 1; }
696 if ( $installer::globals::patch )
698 $installer::globals::addchildprojects = 0; # no child projects for patches
701 $installer::logger::Global->printf(
703 $installer::globals::addchildprojects);
714 if ( $allvariables->{'JAVAINSTALLER'} ) { $installer::globals::addjavainstaller = 1; }
716 if ( $installer::globals::patch ) { $installer::globals::addjavainstaller = 0; }
717 if ( $installer::globals::languagepack ) { $installer::globals::addjavainstaller = 0; }
718 if ( $allvariableshashref->{'XPDINSTALLER'} ) { $installer::globals::addjavainstaller = 0; }
720 $installer::logger::Global->printf(
722 $installer::globals::addjavainstaller);
733 if ( $allvariables->{'ADDSYSTEMINTEGRATION'} ) { $installer::globals::addsystemintegration = 1; }
735 if ( $installer::globals::patch ) { $installer::globals::addsystemintegration = 0; }
736 if ( $installer::globals::languagepack ) { $installer::globals::addsystemintegration = 0; }
737 …if (( $installer::globals::packageformat eq "native" ) || ( $installer::globals::packageformat eq …
739 $installer::logger::Global->printf(
741 $installer::globals::addsystemintegration);