Lines Matching refs:installer
32 use installer::archivefiles;
33 use installer::control;
34 use installer::converter;
35 use installer::copyproject;
36 use installer::download;
37 use installer::environment;
38 use installer::epmfile;
39 use installer::exiter;
40 use installer::files;
41 use installer::followme;
42 use installer::globals;
43 use installer::javainstaller;
44 use installer::languagepack;
45 use installer::languages;
46 use installer::logger;
47 use installer::mail;
48 use installer::packagelist;
49 use installer::packagepool;
50 use installer::parameter;
51 use installer::pathanalyzer;
52 use installer::profiles;
53 use installer::scppatchsoname;
54 use installer::scpzipfiles;
55 use installer::scriptitems;
56 use installer::setupscript;
57 use installer::simplepackage;
58 use installer::sorter;
59 use installer::strip;
60 use installer::substfilenamefiles;
61 use installer::upx;
62 use installer::systemactions;
63 use installer::windows::assembly;
64 use installer::windows::binary;
65 use installer::windows::component;
66 use installer::windows::createfolder;
67 use installer::windows::directory;
68 use installer::windows::feature;
69 use installer::windows::featurecomponent;
70 use installer::windows::file;
71 use installer::windows::font;
72 use installer::windows::icon;
73 use installer::windows::idtglobal;
74 use installer::windows::inifile;
75 use installer::windows::java;
76 use installer::windows::media;
77 use installer::windows::msiglobal;
78 use installer::windows::patch;
79 use installer::windows::property;
80 use installer::windows::removefile;
81 use installer::windows::registry;
82 use installer::windows::selfreg;
83 use installer::windows::shortcut;
84 use installer::windows::strip;
85 use installer::windows::upgrade;
86 use installer::worker;
87 use installer::xpdinstaller;
88 use installer::ziplist;
89 use installer::patch::InstallationSet;
90 use installer::patch::Msi;
98 if ($installer::globals::setupscript_defined_in_productlist)
100 installer::setupscript::set_setupscript_name($allsettingsarrayref, $includepatharrayref);
103 …$installer::logger::Info->print( "... analyzing script: $installer::globals::setupscriptname ... \…
104 installer::logger::globallog("setup script file: $installer::globals::setupscriptname");
105 …$installer::logger::Info->print( "... analyzing script: $installer::globals::setupscriptname ... \…
108 my $setupscriptref = installer::files::read_file($installer::globals::setupscriptname);
112 …installer::scpzipfiles::replace_all_ziplistvariables_in_file($setupscriptref, $allvariableshashref…
115 …my $allscriptvariablesref = installer::setupscript::get_all_scriptvariables_from_installation_obje…
117 $installer::globals::setupscriptname);
118 installer::setupscript::add_lowercase_productname_setupscriptvariable($allscriptvariablesref);
119 … installer::setupscript::resolve_lowercase_productname_setupscriptvariable($allscriptvariablesref);
121 $setupscriptref = installer::setupscript::replace_all_setupscriptvariables_in_script(
130 …installer::setupscript::add_installationobject_to_variables($allvariableshashref, $allscriptvariab…
133 installer::setupscript::add_forced_properties($allvariableshashref);
136 installer::setupscript::replace_preset_properties($allvariableshashref);
139 …installer::scpzipfiles::replace_all_ziplistvariables_in_file($setupscriptref, $allvariableshashref…
183 if ( $installer::globals::compiler =~ /wntgcci/ )
185 …installer::windows::strip::strip_binaries($filesinproductlanguageresolvedarrayref, $languagestring…
188 …$installdir = installer::worker::create_installation_directory($shipinstalldir, $languagestringref…
190 my $idtdirbase = installer::systemactions::create_directories("idt_files", $languagestringref);
191 …$installer::globals::infodirectory = installer::systemactions::create_directories("info_files", $l…
192 …my $installlogdir = installer::systemactions::create_directory_next_to_directory($installdir, "log…
200 installer::packagelist::prepare_cabinet_files($packages, $allvariableshashref);
202 installer::packagelist::log_cabinet_assignments();
208 $installer::logger::Info->print( "... creating idt files ...\n" );
210 installer::logger::include_header_into_logfile("Creating idt files:");
212 …my $newidtdir = $idtdirbase . $installer::globals::separator . "00"; # new files into language ind…
213 installer::systemactions::create_directory($newidtdir);
216 my $binarytablefiles = installer::worker::collect_all_items_with_special_flag(
221 @installer::globals::binarytableonlyfiles = ();
222 $filesinproductlanguageresolvedarrayref = installer::worker::remove_all_items_with_special_flag(
227 …my $inifiletableentries = installer::worker::collect_all_items_with_special_flag($profileitemsinpr…
230 installer::windows::msiglobal::set_msiproductversion($allvariableshashref);
231 …installer::windows::msiglobal::put_msiproductversion_into_bootstrapfile($filesinproductlanguageres…
234 installer::windows::file::assign_cab_to_files($filesinproductlanguageresolvedarrayref);
235 …installer::windows::file::assign_sequencenumbers_to_files($filesinproductlanguageresolvedarrayref);
238 installer::windows::directory::collectdirectorytrees($directoriesforepmarrayref);
240 $filesinproductlanguageresolvedarrayref = installer::windows::file::filter_files(
243 installer::windows::file::prepare_file_table_creation(
247 my $file_table_data = installer::windows::file::create_file_table_data(
250 installer::windows::file::create_file_table($file_table_data, $newidtdir);
251 …installer::windows::file::create_filehash_table($filesinproductlanguageresolvedarrayref, $newidtdi…
252 …my @allfilecomponents = installer::windows::file::collect_components($filesinproductlanguageresolv…
255 installer::windows::directory::prepare_directory_table_creation(
258 installer::windows::directory::create_directory_table(
264 my $registry_table_data = installer::windows::registry::prepare_registry_table(
268 …my @allregistrycomponents = installer::windows::registry::collect_registry_components($registry_ta…
270 …my $target_registry_component_translation = installer::windows::component::prepare_component_table…
275 @allregistrycomponents = installer::windows::component::apply_component_translation(
278 installer::windows::registry::translate_component_names(
283 installer::windows::registry::create_registry_table_32(
288 installer::windows::registry::create_registry_table_64(
294 my $component_table_data = installer::windows::component::create_component_table_data (
301 installer::windows::component::create_component_table(
306 installer::windows::feature::add_uniquekey($modulesinproductlanguageresolvedarrayref);
307 $modulesinproductlanguageresolvedarrayref = installer::windows::feature::sort_feature(
312 my $features = installer::windows::feature::prepare_feature_table(
316 $features = installer::windows::feature::add_missing_features($features);
317 installer::windows::feature::create_feature_table(
323 installer::windows::featurecomponent::create_featurecomponent_table(
328 installer::windows::media::create_media_table(
333 installer::windows::font::create_font_table(
341 installer::windows::shortcut::create_shortcut_table(
352 installer::windows::inifile::create_inifile_table(
357 installer::windows::icon::create_icon_table(
361 installer::windows::createfolder::create_createfolder_table(
367 installer::windows::upgrade::create_upgrade_table(
371 if ( ! $installer::globals::languagepack ) # the following tables not for language packs
373 …installer::windows::removefile::create_removefile_table($folderitemsinproductlanguageresolvedarray…
375 …installer::windows::selfreg::create_selfreg_table($filesinproductlanguageresolvedarrayref, $newidt…
378 …installer::windows::assembly::create_msiassembly_table($filesinproductlanguageresolvedarrayref, $n…
379 …installer::windows::assembly::create_msiassemblyname_table($filesinproductlanguageresolvedarrayref…
380 …installer::windows::assembly::add_assembly_condition_into_component_table($filesinproductlanguager…
383 $installer::logger::Lang->print("\n");
395 …if ( installer::existence::exists_in_array($onelanguage, \@installer::globals::bidilanguages) ) { …
397 my $languageidtdir = $idtdirbase . $installer::globals::separator . $onelanguage;
398 …if ( -d $languageidtdir ) { installer::systemactions::remove_complete_directory($languageidtdir, 1…
399 installer::systemactions::create_directory($languageidtdir);
403 $installer::logger::Info->print( "... copying idt files ...\n" );
405 installer::logger::include_header_into_logfile("Copying idt files to $languageidtdir:");
407 installer::windows::idtglobal::prepare_language_idt_directory(
416 …if (( ! $installer::globals::languagepack ) && ( ! $allvariableshashref->{'NOLANGUAGESELECTIONPROD…
422 … my $controlidttablename = $languageidtdir . $installer::globals::separator . "Control.idt";
423 my $controlidttable = installer::files::read_file($controlidttablename);
424 …installer::windows::idtglobal::add_language_checkboxes_to_database($controlidttable, $languagesarr…
425 installer::files::save_file($controlidttablename, $controlidttable);
426 … $installer::logger::Lang->printf("Added checkboxes for language selection dialog into table %s\n",
433 … $installer::logger::Info->print( "... localizing idt files (language: $onelanguage) ...\n" );
435 … installer::logger::include_header_into_logfile("Localizing idt files (Language: $onelanguage):");
452 …my $languagefilename = installer::windows::idtglobal::get_languagefilename($oneidtfilename, $insta…
453 my $languagefile = installer::files::read_file($languagefilename);
455 $oneidtfilename = $languageidtdir . $installer::globals::separator . $oneidtfilename;
456 $oneidtfile = installer::files::read_file($oneidtfilename);
459 … installer::windows::idtglobal::translate_idtfile($oneidtfile, $languagefile, $onelanguage);
461 installer::files::save_file($oneidtfilename, $oneidtfile);
463 $installer::logger::Lang->printf("Translated idt file: %s into language %s\n",
466 $installer::logger::Lang->printf("Used languagefile: %s\n", $languagefilename);
471 installer::windows::idtglobal::setencoding($languageidtdir, $onelanguage);
475 …if ( $is_bidi ) { installer::windows::idtglobal::setbidiattributes($languageidtdir, $onelanguage);…
478 installer::windows::idtglobal::set_multilanguageonly_condition($languageidtdir);
484 …my $licensefilesource = installer::windows::idtglobal::get_rtflicensefilesource($onelanguage, $inc…
485 my $licensefile = installer::files::read_file($licensefilesource);
486 installer::scpzipfiles::replace_all_ziplistvariables_in_rtffile(
489 my $controltablename = $languageidtdir . $installer::globals::separator . "Control.idt";
490 my $controltable = installer::files::read_file($controltablename);
491 installer::windows::idtglobal::add_licensefile_to_database($licensefile, $controltable);
492 installer::files::save_file($controltablename, $controltable);
494 $installer::logger::Lang->printf("Added licensefile %s into database %s\n",
501 …installer::windows::component::set_component_in_environment_table($languageidtdir, $filesinproduct…
505 installer::windows::property::set_codes_in_property_table($languageidtdir);
509 …installer::windows::property::update_property_table($languageidtdir, $onelanguage, $allvariablesha…
513 installer::windows::msiglobal::update_reglocat_table($languageidtdir, $allvariableshashref);
517 installer::windows::msiglobal::update_removere_table($languageidtdir);
521 …installer::windows::property::set_languages_in_property_table($languageidtdir, $languagesarrayref);
524 installer::windows::property::update_checkbox_table($languageidtdir, $allvariableshashref);
527 installer::windows::binary::update_binary_table(
534 …if (( $installer::globals::patch ) || ( $installer::globals::languagepack ) || ( $allvariableshash…
538 …installer::windows::idtglobal::addcustomactions($languageidtdir, $windowscustomactionsarrayref, $f…
542 if ($installer::globals::addchildprojects)
545 …installer::windows::idtglobal::add_childprojects($languageidtdir, $filesinproductlanguageresolveda…
547 …if ( $allvariableshashref->{'JAVAPRODUCT'} ) { installer::windows::java::update_java_tables($langu…
552 if ( $installer::globals::iswin ) # only possible on a Windows platform
554 …my $msidatabasename = installer::windows::msiglobal::get_msidatabasename($allvariableshashref, $on…
555 my $msifilename = $languageidtdir . $installer::globals::separator . $msidatabasename;
557 … $installer::logger::Info->print( "... creating msi database (language $onelanguage) ... \n" );
564 …installer::windows::msiglobal::prepare_64bit_database($languageidtdir, $allvariableshashref); # ma…
565 installer::windows::msiglobal::create_msi_database($languageidtdir ,$msifilename);
569 …my $languagefile = installer::files::read_file($installer::globals::idtlanguagepath . $installer::…
572 …installer::windows::msiglobal::write_summary_into_msi_database($msifilename, $onelanguage, $langua…
576 my $msidestfilename = $installdir . $installer::globals::separator . $msidatabasename;
577 installer::systemactions::copy_one_file($msifilename, $msidestfilename);
584 my $defaultlanguage = installer::languages::get_default_language($languagesarrayref);
586 if ( $installer::globals::iswin ) # only possible on a Windows platform
590 …installer::windows::msiglobal::create_transforms($languagesarrayref, $defaultlanguage, $installdir…
593 …installer::windows::msiglobal::rename_msi_database_in_installset($defaultlanguage, $installdir, $a…
595 …if ( $allvariableshashref->{'ADDLANGUAGEINDATABASENAME'} ) { installer::windows::msiglobal::add_la…
597 $installer::logger::Info->print( "... generating setup.ini ...\n" );
599 …if ( ! $allvariableshashref->{'NOLOADERREQUIRED'} ) { installer::windows::msiglobal::create_setup_…
605 $installer::logger::Info->print( "... copying files into installation set ...\n" );
608 installer::worker::put_scpactions_into_installset($installdir);
612 …installer::windows::msiglobal::copy_windows_installer_files_into_installset($installdir, $includep…
616 if ($installer::globals::addchildprojects)
618 …installer::windows::msiglobal::copy_child_projects_into_installset($installdir, $allvariableshashr…
621 $installer::logger::Info->print( "... creating ddf files ...\n" );
626 my $ddfdir = installer::systemactions::create_directories("ddf", $languagestringref);
628 …$installer::globals::packjobref = installer::windows::msiglobal::generate_cab_file_list($filesinpr…
630 $installer::logger::Info->print("\n");
637 if ( $installer::globals::iswin ) # only possible on a Windows platform
639 $installer::logger::Info->print( "... packaging installation set ... \n" );
640 …installer::windows::msiglobal::execute_packaging($installer::globals::packjobref, $loggingdir, $al…
641 …if ( $installer::globals::include_cab_in_msi ) { installer::windows::msiglobal::include_cabs_into_…
650 installer::worker::clean_output_tree(); # removing directories created in the output tree
651 …($is_success, $finalinstalldir) = installer::worker::analyze_and_save_logfile($loggingdir, $instal…
658 my $downloadname = installer::ziplist::getinfofromziplist($allsettingsarrayref, "downloadname");
659 …if ( $installer::globals::languagepack ) { $downloadname = installer::ziplist::getinfofromziplist(…
660 …if ( $installer::globals::patch ) { $downloadname = installer::ziplist::getinfofromziplist($allset…
662 …if ( $is_success ) { installer::followme::save_followme_info($finalinstalldir, $includepatharrayre…
667 …my $downloaddir = installer::download::create_download_sets($finalinstalldir, $includepatharrayref…
668 …installer::worker::analyze_and_save_logfile($loggingdir, $downloaddir, $installlogdir, $allsetting…
705 …my $installdir = installer::worker::create_installation_directory($shipinstalldir, $languagestring…
707 my $listfiledir = installer::systemactions::create_directories("listfile", $languagestringref);
708 …my $installlogdir = installer::systemactions::create_directory_next_to_directory($installdir, "log…
715 …if ( $installer::globals::issolarisbuild ) { installer::epmfile::read_packagemap($allvariableshas…
721 installer::worker::shuffle_array($packages);
731 …if ( $installer::globals::languagepack ) { installer::languagepack::replace_languagestring_variabl…
738 …if (( $installer::globals::patch ) && ( $installer::globals::issolarispkgbuild )) { $shellscriptsf…
746 if ( $installer::globals::issolarisbuild ) # only for Solaris
757 … installer::packagelist::resolve_packagevariables(\$packagename, $allvariableshashref, 0);
761 if ( $installer::globals::debian ) { $packagename =~ s/_/-/g; }
764 if ( $installer::globals::debian ) { $packagename =~ s/_/-/g; }
768 $installer::globals::add_required_package = "";
769 $installer::globals::linuxlinkrpmprocess = 0;
771 if ( $installer::globals::makelinuxlinkrpm )
774 …$installer::globals::add_required_package = $oldpackagename; # the link rpm requires the non-linke…
775 if ( $installer::globals::languagepack ) { $packagename = $packagename . "_u"; }
778 push(@installer::globals::linkrpms, $savestring);
780 $installer::globals::linuxlinkrpmprocess = 1;
788 installer::logger::include_header_into_logfile("Creating package: $packagename ($k)");
795 if (( $installer::globals::patch ) ||
796 ( $installer::globals::languagepack ) ||
797 ( $installer::globals::packageformat eq "native" ) ||
798 ( $installer::globals::packageformat eq "portable" ) ||
799 … ( $installer::globals::packageformat eq "osx" )) { $allvariableshashref->{'POOLPRODUCT'} = 0; }
803 if ( ! $installer::globals::sessionidset ) { installer::packagepool::set_sessionid(); }
804 if ( ! $installer::globals::poolpathset ) { installer::packagepool::set_pool_path(); }
805 …if (( ! $installer::globals::getuidpathset ) && ( $installer::globals::issolarisbuild )) { install…
807 … my $package_is_creatable = installer::packagepool::check_package_availability($packagename);
809 …if (( ! $package_is_creatable ) && ( ! exists($installer::globals::poolshiftedpackages{$packagenam…
813 … $installer::globals::poolshiftedpackages{$packagename} = 1; # only shifting each package once
815 …$installer::logger::Info->printf("Pool: Package \"%s\" cannot be created at the moment. Trying aga…
816 …$installer::logger::Lang->printf("Pool: Package \"%s\" cannot be created at the moment. Trying aga…
827 if ($installer::globals::rootpath eq "")
830 … installer::packagelist::resolve_packagevariables(\$packagerootpath, $allvariableshashref, 1);
835 $packagerootpath = $installer::globals::rootpath;
842 …my $filesinpackage = installer::converter::copy_collector($filesinproductlanguageresolvedarrayref);
843 …my $linksinpackage = installer::converter::copy_collector($linksinproductlanguageresolvedarrayref);
844 …my $unixlinksinpackage = installer::converter::copy_collector($unixlinksinproductlanguageresolveda…
845 my $dirsinpackage = installer::converter::copy_collector($directoriesforepmarrayref);
851 installer::scriptitems::add_rootpath_to_directories($dirsinpackage, $packagerootpath);
852 installer::scriptitems::add_rootpath_to_files($filesinpackage, $packagerootpath);
853 installer::scriptitems::add_rootpath_to_links($linksinpackage, $packagerootpath);
854 installer::scriptitems::add_rootpath_to_files($unixlinksinpackage, $packagerootpath);
860 … $filesinpackage = installer::packagelist::find_files_for_package($filesinpackage, $onepackage);
861 …$unixlinksinpackage = installer::packagelist::find_files_for_package($unixlinksinpackage, $onepack…
862 …$linksinpackage = installer::packagelist::find_links_for_package($linksinpackage, $filesinpackage);
863 $dirsinpackage = installer::packagelist::find_dirs_for_package($dirsinpackage, $onepackage);
871 push(@installer::globals::emptypackages, $packagename);
872 $installer::logger::Lang->print("\n");
873 $installer::logger::Lang->print("\n");
874 … $installer::logger::Lang->print("No file in package: %s \-\> Skipping\n\n", $packagename);
883 …if (( $installer::globals::patch ) && (( $installer::globals::islinuxrpmbuild ) || ( $installer::g…
885 … my $patchfiles = installer::worker::collect_all_items_with_special_flag($filesinpackage ,"PATCH");
888 $installer::logger::Lang->print("\n");
889 $installer::logger::Lang->print("\n");
890 … $installer::logger::Lang->print("Linux Patch: No patch file in package: %s \-\> Skipping\n\n",
904 if ( $installer::globals::strip )
906 installer::strip::strip_libraries($filesinpackage, $languagestringref);
913 …if (( $installer::globals::islinuxbuild ) && ( ! $installer::globals::simple )) # for rpms and deb…
918 if ( $installer::globals::linuxlinkrpms =~ /\b$onepackagename\b/ )
922 if (( $installer::globals::makelinuxlinkrpm ) && ( ! $run ))
924 $filesinpackage = \@installer::globals::linuxpatchfiles;
925 $linksinpackage = \@installer::globals::linuxlinks;
926 $installer::globals::makelinuxlinkrpm = 0;
927 … if ( $installer::globals::patch ) { $installer::globals::call_epm = 1; } # enabling packing again
931 if (( ! $installer::globals::makelinuxlinkrpm ) && ( ! $run ))
933 $filesinpackage = installer::worker::prepare_linuxlinkfiles($filesinpackage);
934 … $linksinpackage = installer::worker::prepare_forced_linuxlinkfiles($linksinpackage);
935 $installer::globals::makelinuxlinkrpm = 1;
936 …if ( $allvariableshashref->{'OPENSOURCE'} ) { $installer::globals::add_required_package = $package…
937 …if ( $installer::globals::patch ) { $installer::globals::call_epm = 0; } # no packing of core mod…
948 …if ( $installer::globals::simple ) { installer::worker::install_simple($onepackagename, $$language…
954 if (( $installer::globals::call_epm ) && ( ! $found_epm ))
956 $epmexecutable = installer::epmfile::find_epm_on_system($includepatharrayref);
957 … installer::epmfile::set_patch_state($epmexecutable); # setting $installer::globals::is_special_epm
965 if ( ! $installer::globals::simple )
976 $installer::logger::Info->print( "... creating epm list file $epmfilename ... \n" );
978 my $completeepmfilename = $listfiledir . $installer::globals::separator . $epmfilename;
982 …my $epmheaderref = installer::epmfile::create_epm_header($allvariableshashref, $filesinproductlang…
983 installer::epmfile::adding_header_to_epm_file(\@epmfile, $epmheaderref);
985 if (( $installer::globals::patch ) && ( $installer::globals::issolarispkgbuild ))
987 $filesinpackage = installer::worker::analyze_patch_files($filesinpackage);
991 push(@installer::globals::emptypackages, $packagename);
992 $installer::logger::Lang->print("\n");
993 … $installer::logger::Lang->print("No file in package: %s \-\> Skipping\n", $packagename);
1000 …installer::epmfile::put_directories_into_epmfile($dirsinpackage, \@epmfile, $allvariableshashref, …
1001 installer::epmfile::put_files_into_epmfile($filesinpackage, \@epmfile );
1002 installer::epmfile::put_links_into_epmfile($linksinpackage, \@epmfile );
1003 installer::epmfile::put_unixlinks_into_epmfile($unixlinksinpackage, \@epmfile );
1005 …if ((!( $shellscriptsfilename eq "" )) && (!($installer::globals::iswindowsbuild))) { installer::e…
1007 installer::files::save_file($completeepmfilename ,\@epmfile);
1016 …installer::epmfile::analyze_rootpath($packagerootpath, \$staticpath, \$relocatablepath, $allvariab…
1020 …installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "PR…
1021 …installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "SO…
1022 …installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "UR…
1024 installer::files::save_file($completeepmfilename ,\@epmfile);
1033 … = installer::packagepool::package_is_up_to_date($allvariableshashref, $onepackage, $packagename, …
1037 … my $package_is_creatable = installer::packagepool::check_package_availability($packagename);
1039 …if (( ! $package_is_creatable ) && ( ! exists($installer::globals::poolshiftedpackages{$packagenam…
1043 … $installer::globals::poolshiftedpackages{$packagename} = 1; # only shifting each package once
1045 $installer::logger::Info->print("\n");
1046 …$installer::logger::Info->print("Pool: Package \"%s\" cannot be created at the moment. Trying agai…
1047 $installer::logger::Lang->print("\n");
1048 …$installer::logger::Lang->print("Pool: Package \"%s\" cannot be created at the moment. Trying agai…
1056 $installer::logger::Info->print("\n");
1057 …$installer::logger::Info->print("Pool: Package \"%s\" had pooling problems. Repeating packaging im…
1058 $installer::logger::Lang->print("\n");
1059 …$installer::logger::Lang->print("Pool: Package \"%s\" had pooling problems. Repeating packaging im…
1083 …if (( $installer::globals::is_special_epm ) && ( ($installer::globals::islinuxrpmbuild) || ($insta…
1085 … if ( $installer::globals::call_epm ) # only do something, if epm is really executed
1089 $installer::logger::Info->print( "... starting AOO compatible EPM ... \n" );
1091 …installer::epmfile::call_epm($epmexecutable, $completeepmfilename, $packagename, $includepatharray…
1093 …my $newepmdir = installer::epmfile::prepare_packages($loggingdir, $packagename, $staticpath, $relo…
1095 …installer::epmfile::create_packages_without_epm($newepmdir, $packagename, $includepatharrayref, $a…
1099 … installer::epmfile::remove_temporary_epm_files($newepmdir, $loggingdir, $packagename);
1105 installer::epmfile::create_new_directory_structure($newepmdir);
1106 $installer::globals::postprocess_specialepm = 1;
1114 …installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "\$…
1115 …installer::files::save_file($completeepmfilename ,\@epmfile); # Warning for pool, content of epm f…
1117 if ( $installer::globals::call_epm )
1120 if ( $installer::globals::is_special_epm )
1122 … $installer::logger::Info->print( "... starting AOO compatible EPM ... \n" );
1126 $installer::logger::Info->print( "... starting unpatched EPM ... \n" );
1129 …if ( $installer::globals::call_epm ) { installer::epmfile::call_epm($epmexecutable, $completeepmfi…
1131 …if (($installer::globals::islinuxrpmbuild) || ($installer::globals::issolarispkgbuild) || ($instal…
1133 $installer::globals::postprocess_standardepm = 1;
1138 …iableshashref->{'POOLPRODUCT'} ) { installer::packagepool::put_content_into_pool($packagename, $in…
1152 if ( $installer::globals::isxpdplatform )
1154 if (( ! $installer::globals::languagepack ) && ( ! $installer::globals::patch ))
1156 … if (( $allvariableshashref->{'XPDINSTALLER'} ) && ( $installer::globals::call_epm != 0 ))
1158 …installer::xpdinstaller::create_xpd_file($onepackage, $packages, $languagestringref, $allvariables…
1159 $installer::globals::xpd_files_prepared = 1;
1160 %installer::globals::xpdpackageinfo = ();
1165 …if ( $installer::globals::makelinuxlinkrpm ) { $k--; } # decreasing the counter to create the link…
1169 installer::packagepool::log_pool_statistics();
1175 if ( $installer::globals::postprocess_specialepm )
1177 installer::logger::include_header_into_logfile("Post EPM processes (AOO Compatible EPM):");
1182 …if ( $installer::globals::addsystemintegration ) { installer::epmfile::put_systemintegration_into_…
1186 …if ($installer::globals::addlicensefile) { installer::worker::put_scpactions_into_installset(".");…
1189 …if ($installer::globals::addchildprojects) { installer::epmfile::put_childprojects_into_installset…
1192 …if ( $allvariableshashref->{'PUT_LICENSE_INTO_SETUP'} ) { installer::worker::put_license_into_setu…
1195 …installer::globals::languagepack ) && ( ! $installer::globals::debian ) && ( ! $installer::globals…
1198 …if (( $installer::globals::patch ) && ( $installer::globals::issolarispkgbuild )) { installer::epm…
1199 …if (( $installer::globals::patch ) && ( $installer::globals::islinuxrpmbuild )) { installer::epmfi…
1202 … (( $allvariableshashref->{'XPDINSTALLER'} ) && ( $installer::globals::isxpdplatform ) && ( $insta…
1204 …installer::xpdinstaller::create_xpd_installer($installdir, $allvariableshashref, $languagestringre…
1205 $installer::globals::addjavainstaller = 0; # only one java installer possible
1210 …if ( $installer::globals::addjavainstaller ) { installer::javainstaller::create_java_installer($in…
1213 if ( $installer::globals::postprocess_standardepm )
1215 installer::logger::include_header_into_logfile("Post EPM processes (Unpatched EPM):");
1220 my $newepmdir = installer::epmfile::determine_installdir_ooo();
1223 …if ( $installer::globals::addsystemintegration ) { installer::epmfile::put_systemintegration_into_…
1227 …if ($installer::globals::addlicensefile) { installer::worker::put_scpactions_into_installset(".");…
1230 …if ( $allvariableshashref->{'PUT_LICENSE_INTO_SETUP'} ) { installer::worker::put_license_into_setu…
1233 …if ( ( $installer::globals::languagepack ) && ( ! $installer::globals::debian ) && ( ! $installer:…
1238 …if (( $installer::globals::issolarispkgbuild ) && ( $allvariableshashref->{'COLLECT_PKGMAP'} )) { …
1247 installer::worker::clean_output_tree(); # removing directories created in the output tree
1248 …($is_success, $finalinstalldir) = installer::worker::analyze_and_save_logfile($loggingdir, $instal…
1249 my $downloadname = installer::ziplist::getinfofromziplist($allsettingsarrayref, "downloadname");
1250 …if ( $is_success ) { installer::followme::save_followme_info($finalinstalldir, $includepatharrayre…
1256 if ( $installer::globals::makedownload )
1262 …my $downloaddir = installer::download::create_download_sets($finalinstalldir, $includepatharrayref…
1263 …installer::worker::analyze_and_save_logfile($loggingdir, $downloaddir, $installlogdir, $allsetting…
1271 if ( $installer::globals::makejds )
1276 if (! $installer::globals::issolarispkgbuild ) { $create_jds = 0; }
1280 if ( ! $installer::globals::jds_language_controlled )
1282 …my $correct_language = installer::worker::check_jds_language($allvariableshashref, $languagestring…
1283 $installer::globals::correct_jds_language = $correct_language;
1284 $installer::globals::jds_language_controlled = 1;
1287 if ( $installer::globals::correct_jds_language )
1289 …my $jdsdir = installer::worker::create_jds_sets($finalinstalldir, $allvariableshashref, $languages…
1290 installer::worker::clean_jds_temp_dirs();
1291 …installer::worker::analyze_and_save_logfile($loggingdir, $jdsdir, $installlogdir, $allsettingsarra…
1310 installer::logger::starttime();
1311 $installer::logger::Global->add_timestamp("starting logging");
1315 $installer::logger::Lang->set_forward($installer::logger::Global);
1316 $installer::logger::Info->set_forward($installer::logger::Global);
1323 $installer::logger::Info->print( "... checking environment variables ...\n" );
1324 my $environmentvariableshashref = installer::control::check_system_environment();
1326 installer::environment::set_global_environment_variables($environmentvariableshashref);
1332 installer::parameter::saveparameter();
1333 installer::parameter::getparameter();
1337 installer::parameter::control_fundamental_parameter();
1338 installer::parameter::setglobalvariables();
1339 installer::parameter::control_required_parameter();
1341 if (!($installer::globals::languages_defined_in_productlist)) { installer::languages::analyze_langu…
1342 installer::parameter::outputparameter();
1344 installer::control::check_updatepack();
1346 $installer::globals::build = uc($installer::globals::build); # using "SRC680" instead of "src680"
1352 my $loggingdir = installer::systemactions::create_directories("logging", "");
1353 $loggingdir = $loggingdir . $installer::globals::separator;
1354 $installer::globals::exitlog = $loggingdir;
1365 $installer::logger::Info->print("... checking required files ...\n");
1366 installer::control::check_system_path();
1368 my $pathvariableshashref = installer::environment::create_pathvariables($environmentvariableshashre…
1374 $installer::logger::Info->print( "... analyzing $installer::globals::ziplistname ... \n" );
1378 = installer::ziplist::read_openoffice_lst_file(
1379 $installer::globals::ziplistname,
1380 $installer::globals::product,
1382 $installer::logger::Lang->printf("variables:\n");
1385 $installer::logger::Global->printf(" %s -> %s\n", $key, $allvariableshashref->{$key});
1391 if ($installer::globals::is_release)
1393 $installer::logger::Info->print("... building a release, checking required values ... \n");
1394 $installer::globals::target_version = $allvariableshashref->{'PRODUCTVERSION'};
1395 $installer::globals::source_version = $allvariableshashref->{'PREVIOUS_VERSION'};
1396 if ( ! defined $installer::globals::source_version)
1398 $installer::globals::source_version = installer::patch::ReleasesList::GetPreviousVersion(
1399 $installer::globals::target_version);
1401 if ( ! defined $installer::globals::source_version)
1403 installer::exiter::exit_program(
1409 $installer::globals::is_major_release
1410 = installer::patch::Version::IsMajorVersion($installer::globals::target_version);
1412 …$installer::logger::Info->printf(" building version %s\n", $installer::globals::target_version);
1413 $installer::logger::Info->printf(" which is %sa major version\n",
1414 $installer::globals::is_major_release
1417 …$installer::logger::Info->printf(" previous version is %s\n", $installer::globals::source_versi…
1425 installer::simplepackage::check_simple_packager_project($allvariableshashref);
1431 installer::control::set_addchildprojects($allvariableshashref);
1432 installer::control::set_addjavainstaller($allvariableshashref);
1433 installer::control::set_addsystemintegration($allvariableshashref);
1440 installer::systemactions::remove_empty_directory($oldloggingdir);
1441 $loggingdir = installer::systemactions::create_directories("logging", "");
1442 $loggingdir = $loggingdir . $installer::globals::separator;
1443 $installer::globals::exitlog = $loggingdir;
1447 if (!($installer::globals::is_copy_only_project)) { installer::ziplist::set_manufacturer($allvariab…
1453 if ( $installer::globals::iswindowsbuild ) { installer::control::check_makecab_version(); }
1459 my $includepathref = installer::ziplist::getinfofromziplist($allsettingsarrayref, "include");
1462 …installer::exiter::exit_program("ERROR: Definition for \"include\" not found in $installer::global…
1465 my $includepatharrayref = installer::converter::convert_stringlist_into_array($includepathref, ",");
1467 installer::ziplist::replace_all_variables_in_pathes($includepatharrayref, $pathvariableshashref);
1469 installer::ziplist::replace_minor_in_pathes($includepatharrayref);
1471 installer::ziplist::replace_packagetype_in_pathes($includepatharrayref);
1473 installer::ziplist::resolve_relative_pathes($includepatharrayref);
1475 installer::ziplist::remove_ending_separator($includepatharrayref);
1482 installer::worker::collect_all_files_from_includepathes($includepatharrayref);
1489 if ($installer::globals::languages_defined_in_productlist) { installer::languages::get_info_about_l…
1495 if ( $installer::globals::iswindowsbuild ) { installer::control::read_encodinglist($includepatharra…
1500 if (($installer::globals::ismacdmgbuild) && ($installer::globals::product =~ /Apache_OpenOffice_Dev…
1502 if (($installer::globals::ismacdmgbuild) && ($installer::globals::product =~ /Apache_OpenOffice_Bet…
1508 if ( $allvariableshashref->{'ADD_INCLUDE_FILES'} ) { installer::worker::add_variables_from_inc_to_h…
1514 installer::control::check_java_for_xpd($allvariableshashref);
1522 installer::logger::log_hashref($allvariableshashref);
1524 $installer::logger::Info->print( "... analyzing directories ... \n" );
1528 my $dirsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Dir…
1530 if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_hostname($dirsinpro…
1531 if ( $installer::globals::patch ) { installer::scriptitems::use_patch_hostname($dirsinproductarrayr…
1533 if ( $allvariableshashref->{'SHIFT_BASIS_INTO_BRAND_LAYER'} ) { $dirsinproductarrayref = installer:…
1534 if ( $allvariableshashref->{'OFFICEDIRECTORYNAME'} ) { installer::scriptitems::set_officedirectory_…
1537 installer::scriptitems::resolve_all_directory_names($dirsinproductarrayref);
1539 $installer::logger::Info->print( "... analyzing files ... \n" );
1541 my $filesinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Fi…
1543 $filesinproductarrayref = installer::scriptitems::remove_delete_only_files_from_productlists($files…
1545 if (( ! $installer::globals::iswindowsbuild ) &&
1546 ( ! $installer::globals::islinuxrpmbuild ) &&
1547 ( ! $installer::globals::islinuxdebbuild ) &&
1548 ( ! $installer::globals::issolarispkgbuild ) &&
1549 ( $installer::globals::packageformat ne "installed" ) &&
1550 ( $installer::globals::packageformat ne "dmg" ) &&
1551 ( $installer::globals::packageformat ne "archive" ))
1552 { installer::control::check_oxtfiles($filesinproductarrayref); }
1554 if ($installer::globals::product =~ /suite/i ) { $filesinproductarrayref = installer::scriptitems::…
1556 if (! $installer::globals::languagepack)
1558 …$filesinproductarrayref = installer::scriptitems::remove_Languagepacklibraries_from_Installset($fi…
1561 if (! $installer::globals::patch)
1563 …$filesinproductarrayref = installer::scriptitems::remove_patchonlyfiles_from_Installset($filesinpr…
1566 if (! $installer::globals::tab)
1568 …$filesinproductarrayref = installer::scriptitems::remove_tabonlyfiles_from_Installset($filesinprod…
1571 if (( $installer::globals::packageformat ne "installed" ) && ( $installer::globals::packageformat n…
1573 …$filesinproductarrayref = installer::scriptitems::remove_installedproductonlyfiles_from_Installset…
1576 $installer::logger::Info->print( "... analyzing scpactions ... \n" );
1578 my $scpactionsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref…
1580 if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isxpdplatform ))
1582 …$scpactionsinproductarrayref = installer::scriptitems::remove_Xpdonly_Items($scpactionsinproductar…
1585 if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_copy_scpaction($scp…
1586 if ( $installer::globals::patch ) { installer::scriptitems::use_patch_copy_scpaction($scpactionsinp…
1587 if ($installer::globals::devsnapshotbuild) { installer::scriptitems::use_dev_copy_scpaction($scpact…
1588 if ($installer::globals::betabuild) { installer::scriptitems::use_beta_copy_scpaction($scpactionsin…
1590 if ($installer::globals::betabuild && $installer::globals::languagepack) { installer::scriptitems::…
1594 installer::scriptitems::change_keys_of_scpactions($scpactionsinproductarrayref);
1596 $installer::logger::Info->print( "... analyzing shortcuts ... \n" );
1598 my $linksinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Sh…
1600 $installer::logger::Info->print( "... analyzing unix links ... \n" );
1602 my $unixlinksinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref,…
1606 $installer::logger::Info->print( "... analyzing profile ... \n" );
1608 my $profilesinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, …
1610 $installer::logger::Info->print( "... analyzing profileitems ... \n" );
1612 my $profileitemsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptr…
1619 if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, FolderItem, RegistryIt…
1621 $installer::logger::Info->print( "... analyzing folders ... \n" );
1623 …$folderinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Fol…
1625 $installer::logger::Info->print( "... analyzing folderitems ... \n" );
1627 …$folderitemsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref,…
1629 …installer::setupscript::add_predefined_folder($folderitemsinproductarrayref, $folderinproductarray…
1631 …installer::setupscript::prepare_non_advertised_files($folderitemsinproductarrayref, $filesinproduc…
1633 $installer::logger::Info->print( "... analyzing registryitems ... \n" );
1635 …$registryitemsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptre…
1637 …$registryitemsinproductarrayref = installer::scriptitems::remove_uninstall_regitems_from_script($r…
1639 $installer::logger::Info->print( "... analyzing Windows custom actions ... \n" );
1641 …$windowscustomactionsarrayref = installer::setupscript::get_all_items_from_script($setupscriptref,…
1646 if (!($installer::globals::is_copy_only_project))
1648 $installer::logger::Info->print( "... analyzing modules ... \n" );
1650 …$modulesinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Mo…
1652 if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isxpdplatform ))
1654 …$modulesinproductarrayref = installer::scriptitems::remove_Xpdonly_Items($modulesinproductarrayref…
1657 installer::scriptitems::resolve_assigned_modules($modulesinproductarrayref);
1659 …$modulesinproductarrayref = installer::scriptitems::remove_template_modules($modulesinproductarray…
1661 installer::scriptitems::set_children_flag($modulesinproductarrayref);
1663 installer::scriptitems::collect_all_languagemodules($modulesinproductarrayref);
1667 …installer::scriptitems::assigning_modules_to_items($modulesinproductarrayref, $filesinproductarray…
1669 …installer::scriptitems::assigning_modules_to_items($modulesinproductarrayref, $unixlinksinproducta…
1671 …installer::scriptitems::assigning_modules_to_items($modulesinproductarrayref, $dirsinproductarrayr…
1676 if ( $installer::globals::debug ) { installer::logger::savedebug($installer::globals::exitlog); }
1696 …my $languagesarrayref = installer::languages::get_all_languages_for_one_product($installer::global…
1698 $installer::globals::alllanguagesinproductarrayref = $languagesarrayref;
1699 my $languagestringref = installer::languages::get_language_string($languagesarrayref);
1700 $installer::logger::Info->print( "------------------------------------\n" );
1701 $installer::logger::Info->print( "... languages $$languagestringref ... \n" );
1703 if ( $installer::globals::patch )
1705 $installer::globals::addlicensefile = 0; # no license files for patches
1706 $installer::globals::makedownload = 0;
1707 $installer::globals::makejds = 0;
1710 if ( $installer::globals::languagepack )
1712 $installer::globals::addchildprojects = 0;
1713 $installer::globals::addsystemintegration = 0;
1714 $installer::globals::makejds = 0;
1715 $installer::globals::addlicensefile = 0;
1717 if ( $allvariableshashref->{'OPENSOURCE'} ) { $installer::globals::makedownload = 1; }
1718 else { $installer::globals::makedownload = 0; }
1722 if ($installer::globals::is_release
1723 && $installer::globals::iswindowsbuild)
1725 … my $releases = installer::patch::ReleasesList::Instance()->{$installer::globals::source_version};
1728 $installer::logger::Info->printf(
1730 $installer::globals::source_version);
1731 $installer::logger::Info->printf(" reverting to non-release build\n");
1732 $installer::globals::is_release = 0;
1734 …elsif ( ! defined $releases->{'msi'}->{installer::languages::get_normalized_language($$languagestr…
1736 $installer::logger::Info->printf(
1739 $installer::globals::source_version);
1740 $installer::logger::Info->printf(" reverting to non-release build\n");
1741 $installer::globals::is_release = 0;
1745 $installer::logger::Info->printf("preparing MSI object for source version %s\n",
1746 $installer::globals::source_version);
1749 … installer::patch::Version::StringToNumberArray($installer::globals::source_version));
1750 $installer::globals::source_msi = installer::patch::Msi->FindAndCreate(
1751 $installer::globals::source_version,
1754 $installer::globals::product);
1763 installer::logger::copy_globalinfo_into_logfile();
1764 $installer::globals::globalinfo_copied = 1;
1767 if ( $installer::globals::updatepack ) { $logminor = $installer::globals::lastminor; }
1768 else { $logminor = $installer::globals::minor; }
1771 my $loglanguagestring = installer::languages::get_language_directory_name($$languagestringref);
1774 $loggingdir = $loggingdir . $loglanguagestring . $installer::globals::separator;
1775 installer::systemactions::create_directory($loggingdir);
1778 $installer::globals::logfilename = sprintf("log_%s%s_%s.log",
1779 $installer::globals::build,
1782 $installer::logger::Lang->set_filename($loggingdir . $installer::globals::logfilename);
1783 $installer::logger::Lang->copy_lines_from($installer::logger::Global);
1784 $installer::logger::Lang->set_filter(\&installer::control::filter_log_error);
1785 installer::control::prepare_error_processing();
1787 $installer::logger::Lang->set_forward(undef);
1788 $installer::logger::Info->set_forward($installer::logger::Lang);
1790 $installer::logger::Lang->add_timestamp("starting log for language ".$loglanguagestring);
1795 open(my $F2, "> " . $loggingdir . $installer::globals::logfilename . '.file');
1801 $installer::globals::exitlog = $loggingdir;
1807 …if ( $installer::globals::updatepack ) { $shipinstalldir = installer::control::determine_ship_dire…
1813 if (!($installer::globals::is_copy_only_project))
1815 if (( $installer::globals::iswindowsbuild )
1816 && ( $installer::globals::packageformat ne "archive" )
1817 && ( $installer::globals::packageformat ne "installed" ))
1819 installer::windows::msiglobal::set_global_code_variables(
1829 …my $includepatharrayref_lang = installer::ziplist::replace_languages_in_pathes($includepatharrayre…
1831 …if ( $installer::globals::refresh_includepathes ) { installer::worker::collect_all_files_from_incl…
1833 installer::ziplist::list_all_files_from_include_path($includepatharrayref_lang);
1839 …if ( $allvariableshashref->{'SPELLCHECKERFILE'} ) { installer::worker::set_spellcheckerlanguages($…
1845 …my $dirsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pro…
1850 …installer::scriptitems::changing_name_of_language_dependent_keys($dirsinproductlanguageresolvedarr…
1852 …installer::scriptitems::checking_directories_with_corrupt_hostname($dirsinproductlanguageresolveda…
1854 …installer::scriptitems::set_global_directory_hostnames($dirsinproductlanguageresolvedarrayref, $al…
1860 $installer::logger::Info->print( "... analyzing files ...\n" );
1862 …my $filesinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pr…
1864 if ( ! $installer::globals::set_office_start_language )
1866 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_office_start_language_fil…
1869 …installer::scriptitems::changing_name_of_language_dependent_keys($filesinproductlanguageresolvedar…
1870 …if ( $installer::globals::iswin and $^O =~ /MSWin/i ) { installer::converter::convert_slash_to_bac…
1872 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_non_existent_languages_in…
1874 …installer::scriptitems::get_Source_Directory_For_Files_From_Includepathlist($filesinproductlanguag…
1876 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::add_bundled_extension_blobs( $fi…
1877 …($filesinproductlanguageresolvedarrayref,$dirsinproductarrayref) = installer::scriptitems::add_bun…
1880 …installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($filesinproductlangu…
1882 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_Files_Without_Sourcedirec…
1884 if ($installer::globals::languagepack)
1886 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_Files_For_Languagepacks($…
1892 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::add_License_Files_into_Installdi…
1895 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_onlyasialanguage_files_fr…
1897 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_onlywesternlanguage_files…
1899 installer::scriptitems::make_filename_language_specific($filesinproductlanguageresolvedarrayref);
1905 $installer::logger::Info->print( "... analyzing files with flag ARCHIVE ...\n" );
1909 …$filesinproductlanguageresolvedarrayref = installer::archivefiles::resolving_archive_flag($filesin…
1913 if (!( $installer::globals::iswindowsbuild || $installer::globals::simple ) )
1915 installer::scriptitems::quoting_illegal_filenames($filesinproductlanguageresolvedarrayref);
1922 $installer::logger::Info->print( "... analyzing files with flag SUBST_FILENAME ...\n" );
1924 …installer::substfilenamefiles::resolving_subst_filename_flag($filesinproductlanguageresolvedarrayr…
1930 $installer::logger::Info->print( "... analyzing files with flag SCPZIP_REPLACE ...\n" );
1934 …installer::scpzipfiles::resolving_scpzip_replace_flag($filesinproductlanguageresolvedarrayref, $al…
1940 $installer::logger::Info->print( "... analyzing files with flag PATCH_SO_NAME ...\n" );
1944 …installer::scppatchsoname::resolving_patchsoname_flag($filesinproductlanguageresolvedarrayref, $al…
1950 $installer::logger::Info->print( "... analyzing files with flag HIDDEN ...\n" );
1952 …installer::worker::resolving_hidden_flag($filesinproductlanguageresolvedarrayref, $allvariableshas…
1958 $installer::logger::Info->print( "... analyzing all directories for this product ...\n" );
1967 …my ($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_f…
1969 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_with…
1978 …my $scpactionsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_…
1980 …installer::scriptitems::changing_name_of_language_dependent_keys($scpactionsinproductlanguageresol…
1982 …installer::scriptitems::get_Source_Directory_For_Files_From_Includepathlist($scpactionsinproductla…
1986 …installer::scpzipfiles::resolving_scpzip_replace_flag($scpactionsinproductlanguageresolvedarrayref…
1988 …installer::scppatchsoname::resolving_patchsoname_flag($scpactionsinproductlanguageresolvedarrayref…
1994 $installer::logger::Info->print( "... analyzing links ...\n" );
1996 …my $linksinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pr…
1998 …installer::scriptitems::changing_name_of_language_dependent_keys($linksinproductlanguageresolvedar…
2000 …installer::scriptitems::get_destination_file_path_for_links($linksinproductlanguageresolvedarrayre…
2002 …installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($linksinproductlangu…
2006 …installer::scriptitems::get_destination_link_path_for_links($linksinproductlanguageresolvedarrayre…
2008 …$linksinproductlanguageresolvedarrayref = installer::scriptitems::remove_workstation_only_items($l…
2010 installer::scriptitems::resolve_links_with_flag_relative($linksinproductlanguageresolvedarrayref);
2016 $installer::logger::Info->print( "... analyzing unix links ...\n" );
2018 …my $unixlinksinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_i…
2020 …installer::scriptitems::changing_name_of_language_dependent_keys($unixlinksinproductlanguageresolv…
2022 …installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($unixlinksinproductl…
2031 …if ((!($installer::globals::is_copy_only_project)) && (!($installer::globals::product =~ /ada/i ))…
2033 $installer::logger::Info->print( "... creating profiles ...\n" );
2035 …$profilesinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pr…
2037 …$profileitemsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_i…
2039 …installer::scriptitems::changing_name_of_language_dependent_keys($profilesinproductlanguageresolve…
2041 …installer::scriptitems::changing_name_of_language_dependent_keys($profileitemsinproductlanguageres…
2043 …installer::scriptitems::replace_setup_variables($profileitemsinproductlanguageresolvedarrayref, $l…
2045 if ( $installer::globals::patch_user_dir )
2047 installer::scriptitems::replace_userdir_variable(
2052 …installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($profilesinproductla…
2056 …installer::profiles::create_profiles($profilesinproductlanguageresolvedarrayref, $profileitemsinpr…
2063 …if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, FolderItem, RegistryI…
2069 $installer::logger::Info->print( "... analyzing folder ...\n" );
2071 …$folderinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_prod…
2073 …installer::scriptitems::changing_name_of_language_dependent_keys($folderinproductlanguageresolveda…
2079 $installer::logger::Info->print( "... analyzing folderitems ...\n" );
2081 …$folderitemsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in…
2083 …installer::scriptitems::changing_name_of_language_dependent_keys($folderitemsinproductlanguagereso…
2089 $installer::logger::Info->print( "... analyzing registryitems ...\n" );
2091 …$registryitemsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_…
2093 …installer::scriptitems::changing_name_of_language_dependent_keys($registryitemsinproductlanguagere…
2102 if (!($installer::globals::is_copy_only_project))
2104 $installer::logger::Info->print( "... analyzing modules ...\n" );
2106 …$modulesinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pro…
2108 …$modulesinproductlanguageresolvedarrayref = installer::scriptitems::remove_not_required_language_m…
2110 …installer::scriptitems::changing_name_of_language_dependent_keys($modulesinproductlanguageresolved…
2113 …installer::scriptitems::select_required_language_strings($modulesinproductlanguageresolvedarrayref…
2117 …if ( $installer::globals::is_copy_only_project ) { installer::copyproject::copy_project($filesinpr…
2120 if ( $installer::globals::languagepack )
2122 …$filesinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($filesinp…
2123 …$scpactionsinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($scp…
2124 …$linksinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($linksinp…
2125 …$unixlinksinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($unix…
2129 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_from…
2130 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_with…
2131 installer::sorter::sorting_array_of_hashes($directoriesforepmarrayref, "HostName");
2133 if ( $installer::globals::iswindowsbuild )
2135 …$registryitemsinproductlanguageresolvedarrayref = installer::worker::select_langpack_items($regist…
2141 …if ( $installer::globals::patch ) { installer::worker::collect_all_files_without_patch_flag($files…
2144 …if (( $installer::globals::patch ) && (( $installer::globals::issolarispkgbuild ) || ( $installer:…
2146 …$filesinproductlanguageresolvedarrayref = installer::worker::select_patch_items($filesinproductlan…
2147 …$scpactionsinproductlanguageresolvedarrayref = installer::worker::select_patch_items($scpactionsin…
2148 …$linksinproductlanguageresolvedarrayref = installer::worker::select_patch_items($linksinproductlan…
2149 …$unixlinksinproductlanguageresolvedarrayref = installer::worker::select_patch_items($unixlinksinpr…
2150 …$folderitemsinproductlanguageresolvedarrayref = installer::worker::select_patch_items($folderitems…
2153 if ( $installer::globals::iswindowsbuild )
2155 …$registryitemsinproductlanguageresolvedarrayref = installer::worker::select_patch_items_without_na…
2157 …installer::worker::prepare_windows_patchfiles($filesinproductlanguageresolvedarrayref, $languagest…
2160 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_from…
2162 installer::sorter::sorting_array_of_hashes($directoriesforepmarrayref, "HostName");
2170 installer::worker::collect_scpactions($scpactionsinproductlanguageresolvedarrayref);
2176 …if (( $installer::globals::iswindowsbuild ) && ( ! $installer::globals::patch )) # Windows specifi…
2178 $installer::logger::Info->print( "... creating inf files ...\n" );
2179 installer::worker::create_inf_file(
2197 installer::upx::upx_on_libraries($filesinproductlanguageresolvedarrayref, $languagestringref);
2207 if ( $installer::globals::is_simple_packager_project )
2209 …installer::simplepackage::create_simple_package($filesinproductlanguageresolvedarrayref, $director…
2217 $installer::logger::Info->print( "... analyzing package list ...\n" );
2219 …my $packages = installer::packagelist::collectpackages($modulesinproductlanguageresolvedarrayref, …
2220 installer::packagelist::check_packagelist($packages);
2222 …$packages = installer::packagelist::analyze_list($packages, $modulesinproductlanguageresolvedarray…
2223 installer::packagelist::remove_multiple_modules_packages($packages);
2226 installer::packagelist::log_packages_content($packages);
2227 installer::packagelist::create_module_destination_hash($packages, $allvariableshashref);
2233 if ( $installer::globals::iswindowsbuild )
2280 my $speciallogfilename = "fileinfo_" . $installer::globals::product . "\.log";
2281 …installer::files::save_array_of_hashes($loggingdir . $speciallogfilename, $filesinproductlanguager…
2285 if ( $installer::globals::debug ) { installer::logger::savedebug($installer::globals::exitlog); }
2291 installer::logger::stoptime();