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);
112installer::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);
119installer::setupscript::resolve_lowercase_productname_setupscriptvariable($allscriptvariablesref);
121 $setupscriptref = installer::setupscript::replace_all_setupscriptvariables_in_script(
130installer::setupscript::add_installationobject_to_variables($allvariableshashref, $allscriptvariab…
133 installer::setupscript::add_forced_properties($allvariableshashref);
136 installer::setupscript::replace_preset_properties($allvariableshashref);
139installer::scpzipfiles::replace_all_ziplistvariables_in_file($setupscriptref, $allvariableshashref…
183 if ( $installer::globals::compiler =~ /wntgcci/ )
185installer::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);
231installer::windows::msiglobal::put_msiproductversion_into_bootstrapfile($filesinproductlanguageres…
234 installer::windows::file::assign_cab_to_files($filesinproductlanguageresolvedarrayref);
235installer::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);
251installer::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
373installer::windows::removefile::create_removefile_table($folderitemsinproductlanguageresolvedarray…
375installer::windows::selfreg::create_selfreg_table($filesinproductlanguageresolvedarrayref, $newidt…
378installer::windows::assembly::create_msiassembly_table($filesinproductlanguageresolvedarrayref, $n…
379installer::windows::assembly::create_msiassemblyname_table($filesinproductlanguageresolvedarrayref…
380installer::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);
424installer::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" );
435installer::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);
459installer::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",
501installer::windows::component::set_component_in_environment_table($languageidtdir, $filesinproduct…
505 installer::windows::property::set_codes_in_property_table($languageidtdir);
509installer::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);
521installer::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…
538installer::windows::idtglobal::addcustomactions($languageidtdir, $windowscustomactionsarrayref, $f…
542 if ($installer::globals::addchildprojects)
545installer::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" );
564installer::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::…
572installer::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
590installer::windows::msiglobal::create_transforms($languagesarrayref, $defaultlanguage, $installdir…
593installer::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);
612installer::windows::msiglobal::copy_windows_installer_files_into_installset($installdir, $includep…
616 if ($installer::globals::addchildprojects)
618installer::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" );
640installer::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…
668installer::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
757installer::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 "")
830installer::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);
957installer::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);
1000installer::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);
1016installer::epmfile::analyze_rootpath($packagerootpath, \$staticpath, \$relocatablepath, $allvariab…
1020installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "PR…
1021installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "SO…
1022installer::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 patched epm ... \n" );
1091installer::epmfile::call_epm($epmexecutable, $completeepmfilename, $packagename, $includepatharray…
1093 …my $newepmdir = installer::epmfile::prepare_packages($loggingdir, $packagename, $staticpath, $relo…
1095installer::epmfile::create_packages_without_epm($newepmdir, $packagename, $includepatharrayref, $a…
1099installer::epmfile::remove_temporary_epm_files($newepmdir, $loggingdir, $packagename);
1105 installer::epmfile::create_new_directory_structure($newepmdir);
1106 $installer::globals::postprocess_specialepm = 1;
1114installer::epmfile::resolve_path_in_epm_list_before_packaging(\@epmfile, $completeepmfilename, "\$…
1115installer::files::save_file($completeepmfilename ,\@epmfile); # Warning for pool, content of epm f…
1117 if ( $installer::globals::call_epm )
1121 $installer::logger::Info->print( "... starting unpatched epm ... \n" );
1123 …if ( $installer::globals::call_epm ) { installer::epmfile::call_epm($epmexecutable, $completeepmfi…
1125 …if (($installer::globals::islinuxrpmbuild) || ($installer::globals::issolarispkgbuild) || ($instal…
1127 $installer::globals::postprocess_standardepm = 1;
1132 …iableshashref->{'POOLPRODUCT'} ) { installer::packagepool::put_content_into_pool($packagename, $in…
1146 if ( $installer::globals::isxpdplatform )
1148 if (( ! $installer::globals::languagepack ) && ( ! $installer::globals::patch ))
1150 … if (( $allvariableshashref->{'XPDINSTALLER'} ) && ( $installer::globals::call_epm != 0 ))
1152installer::xpdinstaller::create_xpd_file($onepackage, $packages, $languagestringref, $allvariables…
1153 $installer::globals::xpd_files_prepared = 1;
1154 %installer::globals::xpdpackageinfo = ();
1159 …if ( $installer::globals::makelinuxlinkrpm ) { $k--; } # decreasing the counter to create the link…
1163 installer::packagepool::log_pool_statistics();
1169 if ( $installer::globals::postprocess_specialepm )
1171 installer::logger::include_header_into_logfile("Post EPM processes (Patched EPM):");
1176 …if ( $installer::globals::addsystemintegration ) { installer::epmfile::put_systemintegration_into_…
1180 …if ($installer::globals::addlicensefile) { installer::worker::put_scpactions_into_installset(".");…
1183 …if ($installer::globals::addchildprojects) { installer::epmfile::put_childprojects_into_installset…
1186 …if ( $allvariableshashref->{'PUT_LICENSE_INTO_SETUP'} ) { installer::worker::put_license_into_setu…
1189installer::globals::languagepack ) && ( ! $installer::globals::debian ) && ( ! $installer::globals…
1192 …if (( $installer::globals::patch ) && ( $installer::globals::issolarispkgbuild )) { installer::epm…
1193 …if (( $installer::globals::patch ) && ( $installer::globals::islinuxrpmbuild )) { installer::epmfi…
1196 … (( $allvariableshashref->{'XPDINSTALLER'} ) && ( $installer::globals::isxpdplatform ) && ( $insta…
1198installer::xpdinstaller::create_xpd_installer($installdir, $allvariableshashref, $languagestringre…
1199 $installer::globals::addjavainstaller = 0; # only one java installer possible
1204 …if ( $installer::globals::addjavainstaller ) { installer::javainstaller::create_java_installer($in…
1207 if ( $installer::globals::postprocess_standardepm )
1209 installer::logger::include_header_into_logfile("Post EPM processes (Standard EPM):");
1214 my $newepmdir = installer::epmfile::determine_installdir_ooo();
1217 …if ( $installer::globals::addsystemintegration ) { installer::epmfile::put_systemintegration_into_…
1221 …if ($installer::globals::addlicensefile) { installer::worker::put_scpactions_into_installset(".");…
1224 …if ( $allvariableshashref->{'PUT_LICENSE_INTO_SETUP'} ) { installer::worker::put_license_into_setu…
1227 …if ( ( $installer::globals::languagepack ) && ( ! $installer::globals::debian ) && ( ! $installer:…
1232 …if (( $installer::globals::issolarispkgbuild ) && ( $allvariableshashref->{'COLLECT_PKGMAP'} )) {
1241 installer::worker::clean_output_tree(); # removing directories created in the output tree
1242 …($is_success, $finalinstalldir) = installer::worker::analyze_and_save_logfile($loggingdir, $instal…
1243 my $downloadname = installer::ziplist::getinfofromziplist($allsettingsarrayref, "downloadname");
1244 …if ( $is_success ) { installer::followme::save_followme_info($finalinstalldir, $includepatharrayre…
1250 if ( $installer::globals::makedownload )
1256 …my $downloaddir = installer::download::create_download_sets($finalinstalldir, $includepatharrayref…
1257installer::worker::analyze_and_save_logfile($loggingdir, $downloaddir, $installlogdir, $allsetting…
1265 if ( $installer::globals::makejds )
1270 if (! $installer::globals::issolarispkgbuild ) { $create_jds = 0; }
1274 if ( ! $installer::globals::jds_language_controlled )
1276 …my $correct_language = installer::worker::check_jds_language($allvariableshashref, $languagestring…
1277 $installer::globals::correct_jds_language = $correct_language;
1278 $installer::globals::jds_language_controlled = 1;
1281 if ( $installer::globals::correct_jds_language )
1283 …my $jdsdir = installer::worker::create_jds_sets($finalinstalldir, $allvariableshashref, $languages…
1284 installer::worker::clean_jds_temp_dirs();
1285installer::worker::analyze_and_save_logfile($loggingdir, $jdsdir, $installlogdir, $allsettingsarra…
1304 installer::logger::starttime();
1305 $installer::logger::Global->add_timestamp("starting logging");
1309 $installer::logger::Lang->set_forward($installer::logger::Global);
1310 $installer::logger::Info->set_forward($installer::logger::Global);
1317 $installer::logger::Info->print( "... checking environment variables ...\n" );
1318 my $environmentvariableshashref = installer::control::check_system_environment();
1320 installer::environment::set_global_environment_variables($environmentvariableshashref);
1326 installer::parameter::saveparameter();
1327 installer::parameter::getparameter();
1331 installer::parameter::control_fundamental_parameter();
1332 installer::parameter::setglobalvariables();
1333 installer::parameter::control_required_parameter();
1335 if (!($installer::globals::languages_defined_in_productlist)) { installer::languages::analyze_langu…
1336 installer::parameter::outputparameter();
1338 installer::control::check_updatepack();
1340 $installer::globals::build = uc($installer::globals::build); # using "SRC680" instead of "src680"
1346 my $loggingdir = installer::systemactions::create_directories("logging", "");
1347 $loggingdir = $loggingdir . $installer::globals::separator;
1348 $installer::globals::exitlog = $loggingdir;
1359 $installer::logger::Info->print("... checking required files ...\n");
1360 installer::control::check_system_path();
1362 my $pathvariableshashref = installer::environment::create_pathvariables($environmentvariableshashre…
1368 $installer::logger::Info->print( "... analyzing $installer::globals::ziplistname ... \n" );
1372 = installer::ziplist::read_openoffice_lst_file(
1373 $installer::globals::ziplistname,
1374 $installer::globals::product,
1376 $installer::logger::Lang->printf("variables:\n");
1379 $installer::logger::Global->printf(" %s -> %s\n", $key, $allvariableshashref->{$key});
1385 if ($installer::globals::is_release)
1387 $installer::logger::Info->print("... building a release, checking required values ... \n");
1388 $installer::globals::target_version = $allvariableshashref->{'PRODUCTVERSION'};
1389 $installer::globals::source_version = $allvariableshashref->{'PREVIOUS_VERSION'};
1390 if ( ! defined $installer::globals::source_version)
1392 $installer::globals::source_version = installer::patch::ReleasesList::GetPreviousVersion(
1393 $installer::globals::target_version);
1395 if ( ! defined $installer::globals::source_version)
1397 installer::exiter::exit_program(
1403 $installer::globals::is_major_release
1404 = installer::patch::Version::IsMajorVersion($installer::globals::target_version);
1406 …$installer::logger::Info->printf(" building version %s\n", $installer::globals::target_version);
1407 $installer::logger::Info->printf(" which is %sa major version\n",
1408 $installer::globals::is_major_release
1411 …$installer::logger::Info->printf(" previous version is %s\n", $installer::globals::source_versi…
1419 installer::simplepackage::check_simple_packager_project($allvariableshashref);
1425 installer::control::set_addchildprojects($allvariableshashref);
1426 installer::control::set_addjavainstaller($allvariableshashref);
1427 installer::control::set_addsystemintegration($allvariableshashref);
1434 installer::systemactions::remove_empty_directory($oldloggingdir);
1435 $loggingdir = installer::systemactions::create_directories("logging", "");
1436 $loggingdir = $loggingdir . $installer::globals::separator;
1437 $installer::globals::exitlog = $loggingdir;
1441 if (!($installer::globals::is_copy_only_project)) { installer::ziplist::set_manufacturer($allvariab…
1447 if ( $installer::globals::iswindowsbuild ) { installer::control::check_makecab_version(); }
1453 my $includepathref = installer::ziplist::getinfofromziplist($allsettingsarrayref, "include");
1456installer::exiter::exit_program("ERROR: Definition for \"include\" not found in $installer::global…
1459 my $includepatharrayref = installer::converter::convert_stringlist_into_array($includepathref, ",");
1461 installer::ziplist::replace_all_variables_in_pathes($includepatharrayref, $pathvariableshashref);
1463 installer::ziplist::replace_minor_in_pathes($includepatharrayref);
1465 installer::ziplist::replace_packagetype_in_pathes($includepatharrayref);
1467 installer::ziplist::resolve_relative_pathes($includepatharrayref);
1469 installer::ziplist::remove_ending_separator($includepatharrayref);
1476 installer::worker::collect_all_files_from_includepathes($includepatharrayref);
1483 if ($installer::globals::languages_defined_in_productlist) { installer::languages::get_info_about_l…
1489 if ( $installer::globals::iswindowsbuild ) { installer::control::read_encodinglist($includepatharra…
1494 if (($installer::globals::ismacdmgbuild) && ($installer::globals::product =~ /OpenOffice_Dev/)) { $
1496 if (($installer::globals::ismacdmgbuild) && ($installer::globals::product =~ /Apache_OpenOffice_Bet…
1502 if ( $allvariableshashref->{'ADD_INCLUDE_FILES'} ) { installer::worker::add_variables_from_inc_to_h…
1508 installer::control::check_java_for_xpd($allvariableshashref);
1516 installer::logger::log_hashref($allvariableshashref);
1518 $installer::logger::Info->print( "... analyzing directories ... \n" );
1522 my $dirsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Dir…
1524 if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_hostname($dirsinpro…
1525 if ( $installer::globals::patch ) { installer::scriptitems::use_patch_hostname($dirsinproductarrayr…
1527 if ( $allvariableshashref->{'SHIFT_BASIS_INTO_BRAND_LAYER'} ) { $dirsinproductarrayref = installer:…
1528 if ( $allvariableshashref->{'OFFICEDIRECTORYNAME'} ) { installer::scriptitems::set_officedirectory_…
1531 installer::scriptitems::resolve_all_directory_names($dirsinproductarrayref);
1533 $installer::logger::Info->print( "... analyzing files ... \n" );
1535 my $filesinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Fi…
1537 $filesinproductarrayref = installer::scriptitems::remove_delete_only_files_from_productlists($files…
1539 if (( ! $installer::globals::iswindowsbuild ) &&
1540 ( ! $installer::globals::islinuxrpmbuild ) &&
1541 ( ! $installer::globals::islinuxdebbuild ) &&
1542 ( ! $installer::globals::issolarispkgbuild ) &&
1543 ( $installer::globals::packageformat ne "installed" ) &&
1544 ( $installer::globals::packageformat ne "dmg" ) &&
1545 ( $installer::globals::packageformat ne "archive" ))
1546 { installer::control::check_oxtfiles($filesinproductarrayref); }
1548 if ($installer::globals::product =~ /suite/i ) { $filesinproductarrayref = installer::scriptitems::…
1550 if (! $installer::globals::languagepack)
1552 …$filesinproductarrayref = installer::scriptitems::remove_Languagepacklibraries_from_Installset($fi…
1555 if (! $installer::globals::patch)
1557 …$filesinproductarrayref = installer::scriptitems::remove_patchonlyfiles_from_Installset($filesinpr…
1560 if (! $installer::globals::tab)
1562 …$filesinproductarrayref = installer::scriptitems::remove_tabonlyfiles_from_Installset($filesinprod…
1565 if (( $installer::globals::packageformat ne "installed" ) && ( $installer::globals::packageformat n…
1567 …$filesinproductarrayref = installer::scriptitems::remove_installedproductonlyfiles_from_Installset…
1570 $installer::logger::Info->print( "... analyzing scpactions ... \n" );
1572 my $scpactionsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref…
1574 if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isxpdplatform ))
1576 …$scpactionsinproductarrayref = installer::scriptitems::remove_Xpdonly_Items($scpactionsinproductar…
1579 if ( $installer::globals::languagepack ) { installer::scriptitems::use_langpack_copy_scpaction($scp…
1580 if ( $installer::globals::patch ) { installer::scriptitems::use_patch_copy_scpaction($scpactionsinp…
1581 if ($installer::globals::devsnapshotbuild) { installer::scriptitems::use_dev_copy_scpaction($scpact…
1582 if ($installer::globals::betabuild) { installer::scriptitems::use_beta_copy_scpaction($scpactionsin…
1584 if ($installer::globals::betabuild && $installer::globals::languagepack) { installer::scriptitems::…
1588 installer::scriptitems::change_keys_of_scpactions($scpactionsinproductarrayref);
1590 $installer::logger::Info->print( "... analyzing shortcuts ... \n" );
1592 my $linksinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Sh…
1594 $installer::logger::Info->print( "... analyzing unix links ... \n" );
1596 my $unixlinksinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref,…
1600 $installer::logger::Info->print( "... analyzing profile ... \n" );
1602 my $profilesinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, …
1604 $installer::logger::Info->print( "... analyzing profileitems ... \n" );
1606 my $profileitemsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptr…
1613 if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, FolderItem, RegistryIt…
1615 $installer::logger::Info->print( "... analyzing folders ... \n" );
1617 …$folderinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Fol…
1619 $installer::logger::Info->print( "... analyzing folderitems ... \n" );
1621 …$folderitemsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref,…
1623installer::setupscript::add_predefined_folder($folderitemsinproductarrayref, $folderinproductarray…
1625installer::setupscript::prepare_non_advertised_files($folderitemsinproductarrayref, $filesinproduc…
1627 $installer::logger::Info->print( "... analyzing registryitems ... \n" );
1629 …$registryitemsinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptre…
1631 …$registryitemsinproductarrayref = installer::scriptitems::remove_uninstall_regitems_from_script($r…
1633 $installer::logger::Info->print( "... analyzing Windows custom actions ... \n" );
1635 …$windowscustomactionsarrayref = installer::setupscript::get_all_items_from_script($setupscriptref,…
1640 if (!($installer::globals::is_copy_only_project))
1642 $installer::logger::Info->print( "... analyzing modules ... \n" );
1644 …$modulesinproductarrayref = installer::setupscript::get_all_items_from_script($setupscriptref, "Mo…
1646 if (( ! $allvariableshashref->{'XPDINSTALLER'} ) || ( ! $installer::globals::isxpdplatform ))
1648 …$modulesinproductarrayref = installer::scriptitems::remove_Xpdonly_Items($modulesinproductarrayref…
1651 installer::scriptitems::resolve_assigned_modules($modulesinproductarrayref);
1653 …$modulesinproductarrayref = installer::scriptitems::remove_template_modules($modulesinproductarray…
1655 installer::scriptitems::set_children_flag($modulesinproductarrayref);
1657 installer::scriptitems::collect_all_languagemodules($modulesinproductarrayref);
1661installer::scriptitems::assigning_modules_to_items($modulesinproductarrayref, $filesinproductarray…
1663installer::scriptitems::assigning_modules_to_items($modulesinproductarrayref, $unixlinksinproducta…
1665installer::scriptitems::assigning_modules_to_items($modulesinproductarrayref, $dirsinproductarrayr…
1670 if ( $installer::globals::debug ) { installer::logger::savedebug($installer::globals::exitlog); }
1690 …my $languagesarrayref = installer::languages::get_all_languages_for_one_product($installer::global…
1692 $installer::globals::alllanguagesinproductarrayref = $languagesarrayref;
1693 my $languagestringref = installer::languages::get_language_string($languagesarrayref);
1694 $installer::logger::Info->print( "------------------------------------\n" );
1695 $installer::logger::Info->print( "... languages $$languagestringref ... \n" );
1697 if ( $installer::globals::patch )
1699 $installer::globals::addlicensefile = 0; # no license files for patches
1700 $installer::globals::makedownload = 0;
1701 $installer::globals::makejds = 0;
1704 if ( $installer::globals::languagepack )
1706 $installer::globals::addchildprojects = 0;
1707 $installer::globals::addsystemintegration = 0;
1708 $installer::globals::makejds = 0;
1709 $installer::globals::addlicensefile = 0;
1711 if ( $allvariableshashref->{'OPENSOURCE'} ) { $installer::globals::makedownload = 1; }
1712 else { $installer::globals::makedownload = 0; }
1716 if ($installer::globals::is_release
1717 && $installer::globals::iswindowsbuild)
1719 … my $releases = installer::patch::ReleasesList::Instance()->{$installer::globals::source_version};
1722 $installer::logger::Info->printf(
1724 $installer::globals::source_version);
1725 $installer::logger::Info->printf(" reverting to non-release build\n");
1726 $installer::globals::is_release = 0;
1728 …elsif ( ! defined $releases->{'msi'}->{installer::languages::get_normalized_language($$languagestr…
1730 $installer::logger::Info->printf(
1733 $installer::globals::source_version);
1734 $installer::logger::Info->printf(" reverting to non-release build\n");
1735 $installer::globals::is_release = 0;
1739 $installer::logger::Info->printf("preparing MSI object for source version %s\n",
1740 $installer::globals::source_version);
1743installer::patch::Version::StringToNumberArray($installer::globals::source_version));
1744 $installer::globals::source_msi = installer::patch::Msi->FindAndCreate(
1745 $installer::globals::source_version,
1748 $installer::globals::product);
1757 installer::logger::copy_globalinfo_into_logfile();
1758 $installer::globals::globalinfo_copied = 1;
1761 if ( $installer::globals::updatepack ) { $logminor = $installer::globals::lastminor; }
1762 else { $logminor = $installer::globals::minor; }
1765 my $loglanguagestring = installer::languages::get_language_directory_name($$languagestringref);
1768 $loggingdir = $loggingdir . $loglanguagestring . $installer::globals::separator;
1769 installer::systemactions::create_directory($loggingdir);
1772 $installer::globals::logfilename = sprintf("log_%s%s_%s.log",
1773 $installer::globals::build,
1776 $installer::logger::Lang->set_filename($loggingdir . $installer::globals::logfilename);
1777 $installer::logger::Lang->copy_lines_from($installer::logger::Global);
1778 $installer::logger::Lang->set_filter(\&installer::control::filter_log_error);
1779 installer::control::prepare_error_processing();
1781 $installer::logger::Lang->set_forward(undef);
1782 $installer::logger::Info->set_forward($installer::logger::Lang);
1784 $installer::logger::Lang->add_timestamp("starting log for language ".$loglanguagestring);
1789 open(my $F2, "> " . $loggingdir . $installer::globals::logfilename . '.file');
1795 $installer::globals::exitlog = $loggingdir;
1801 …if ( $installer::globals::updatepack ) { $shipinstalldir = installer::control::determine_ship_dire…
1807 if (!($installer::globals::is_copy_only_project))
1809 if (( $installer::globals::iswindowsbuild )
1810 && ( $installer::globals::packageformat ne "archive" )
1811 && ( $installer::globals::packageformat ne "installed" ))
1813 installer::windows::msiglobal::set_global_code_variables(
1823 …my $includepatharrayref_lang = installer::ziplist::replace_languages_in_pathes($includepatharrayre…
1825 …if ( $installer::globals::refresh_includepathes ) { installer::worker::collect_all_files_from_incl…
1827 installer::ziplist::list_all_files_from_include_path($includepatharrayref_lang);
1833 …if ( $allvariableshashref->{'SPELLCHECKERFILE'} ) { installer::worker::set_spellcheckerlanguages($…
1839 …my $dirsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pro…
1844installer::scriptitems::changing_name_of_language_dependent_keys($dirsinproductlanguageresolvedarr…
1846installer::scriptitems::checking_directories_with_corrupt_hostname($dirsinproductlanguageresolveda…
1848installer::scriptitems::set_global_directory_hostnames($dirsinproductlanguageresolvedarrayref, $al…
1854 $installer::logger::Info->print( "... analyzing files ...\n" );
1856 …my $filesinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pr…
1858 if ( ! $installer::globals::set_office_start_language )
1860 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_office_start_language_fil…
1863installer::scriptitems::changing_name_of_language_dependent_keys($filesinproductlanguageresolvedar…
1864 …if ( $installer::globals::iswin and $^O =~ /MSWin/i ) { installer::converter::convert_slash_to_bac…
1866 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_non_existent_languages_in…
1868installer::scriptitems::get_Source_Directory_For_Files_From_Includepathlist($filesinproductlanguag…
1870 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::add_bundled_extension_blobs( $fi…
1871 …($filesinproductlanguageresolvedarrayref,$dirsinproductarrayref) = installer::scriptitems::add_bun…
1874installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($filesinproductlangu…
1876 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_Files_Without_Sourcedirec…
1878 if ($installer::globals::languagepack)
1880 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_Files_For_Languagepacks($…
1886 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::add_License_Files_into_Installdi…
1889 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_onlyasialanguage_files_fr…
1891 …$filesinproductlanguageresolvedarrayref = installer::scriptitems::remove_onlywesternlanguage_files…
1893 installer::scriptitems::make_filename_language_specific($filesinproductlanguageresolvedarrayref);
1899 $installer::logger::Info->print( "... analyzing files with flag ARCHIVE ...\n" );
1903 …$filesinproductlanguageresolvedarrayref = installer::archivefiles::resolving_archive_flag($filesin…
1907 if (!( $installer::globals::iswindowsbuild || $installer::globals::simple ) )
1909 installer::scriptitems::quoting_illegal_filenames($filesinproductlanguageresolvedarrayref);
1916 $installer::logger::Info->print( "... analyzing files with flag SUBST_FILENAME ...\n" );
1918installer::substfilenamefiles::resolving_subst_filename_flag($filesinproductlanguageresolvedarrayr…
1924 $installer::logger::Info->print( "... analyzing files with flag SCPZIP_REPLACE ...\n" );
1928installer::scpzipfiles::resolving_scpzip_replace_flag($filesinproductlanguageresolvedarrayref, $al…
1934 $installer::logger::Info->print( "... analyzing files with flag PATCH_SO_NAME ...\n" );
1938installer::scppatchsoname::resolving_patchsoname_flag($filesinproductlanguageresolvedarrayref, $al…
1944 $installer::logger::Info->print( "... analyzing files with flag HIDDEN ...\n" );
1946installer::worker::resolving_hidden_flag($filesinproductlanguageresolvedarrayref, $allvariableshas…
1952 $installer::logger::Info->print( "... analyzing all directories for this product ...\n" );
1961 …my ($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_f…
1963 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_with…
1972 …my $scpactionsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_…
1974installer::scriptitems::changing_name_of_language_dependent_keys($scpactionsinproductlanguageresol…
1976installer::scriptitems::get_Source_Directory_For_Files_From_Includepathlist($scpactionsinproductla…
1980installer::scpzipfiles::resolving_scpzip_replace_flag($scpactionsinproductlanguageresolvedarrayref…
1982installer::scppatchsoname::resolving_patchsoname_flag($scpactionsinproductlanguageresolvedarrayref…
1988 $installer::logger::Info->print( "... analyzing links ...\n" );
1990 …my $linksinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pr…
1992installer::scriptitems::changing_name_of_language_dependent_keys($linksinproductlanguageresolvedar…
1994installer::scriptitems::get_destination_file_path_for_links($linksinproductlanguageresolvedarrayre…
1996installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($linksinproductlangu…
2000installer::scriptitems::get_destination_link_path_for_links($linksinproductlanguageresolvedarrayre…
2002 …$linksinproductlanguageresolvedarrayref = installer::scriptitems::remove_workstation_only_items($l…
2004 installer::scriptitems::resolve_links_with_flag_relative($linksinproductlanguageresolvedarrayref);
2010 $installer::logger::Info->print( "... analyzing unix links ...\n" );
2012 …my $unixlinksinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_i…
2014installer::scriptitems::changing_name_of_language_dependent_keys($unixlinksinproductlanguageresolv…
2016installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($unixlinksinproductl…
2025 …if ((!($installer::globals::is_copy_only_project)) && (!($installer::globals::product =~ /ada/i ))…
2027 $installer::logger::Info->print( "... creating profiles ...\n" );
2029 …$profilesinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pr…
2031 …$profileitemsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_i…
2033installer::scriptitems::changing_name_of_language_dependent_keys($profilesinproductlanguageresolve…
2035installer::scriptitems::changing_name_of_language_dependent_keys($profileitemsinproductlanguageres…
2037installer::scriptitems::replace_setup_variables($profileitemsinproductlanguageresolvedarrayref, $l…
2039 if ( $installer::globals::patch_user_dir )
2041 installer::scriptitems::replace_userdir_variable(
2046installer::scriptitems::get_Destination_Directory_For_Item_From_Directorylist($profilesinproductla…
2050installer::profiles::create_profiles($profilesinproductlanguageresolvedarrayref, $profileitemsinpr…
2057 …if ( $installer::globals::iswindowsbuild ) # Windows specific items: Folder, FolderItem, RegistryI…
2063 $installer::logger::Info->print( "... analyzing folder ...\n" );
2065 …$folderinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_prod…
2067installer::scriptitems::changing_name_of_language_dependent_keys($folderinproductlanguageresolveda…
2073 $installer::logger::Info->print( "... analyzing folderitems ...\n" );
2075 …$folderitemsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in…
2077installer::scriptitems::changing_name_of_language_dependent_keys($folderitemsinproductlanguagereso…
2083 $installer::logger::Info->print( "... analyzing registryitems ...\n" );
2085 …$registryitemsinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_…
2087installer::scriptitems::changing_name_of_language_dependent_keys($registryitemsinproductlanguagere…
2096 if (!($installer::globals::is_copy_only_project))
2098 $installer::logger::Info->print( "... analyzing modules ...\n" );
2100 …$modulesinproductlanguageresolvedarrayref = installer::scriptitems::resolving_all_languages_in_pro…
2102 …$modulesinproductlanguageresolvedarrayref = installer::scriptitems::remove_not_required_language_m…
2104installer::scriptitems::changing_name_of_language_dependent_keys($modulesinproductlanguageresolved…
2107installer::scriptitems::select_required_language_strings($modulesinproductlanguageresolvedarrayref…
2111 …if ( $installer::globals::is_copy_only_project ) { installer::copyproject::copy_project($filesinpr…
2114 if ( $installer::globals::languagepack )
2116 …$filesinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($filesinp…
2117 …$scpactionsinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($scp…
2118 …$linksinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($linksinp…
2119 …$unixlinksinproductlanguageresolvedarrayref = installer::languagepack::select_language_items($unix…
2123 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_from…
2124 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_with…
2125 installer::sorter::sorting_array_of_hashes($directoriesforepmarrayref, "HostName");
2127 if ( $installer::globals::iswindowsbuild )
2129 …$registryitemsinproductlanguageresolvedarrayref = installer::worker::select_langpack_items($regist…
2135 …if ( $installer::globals::patch ) { installer::worker::collect_all_files_without_patch_flag($files…
2138 …if (( $installer::globals::patch ) && (( $installer::globals::issolarispkgbuild ) || ( $installer:…
2140 …$filesinproductlanguageresolvedarrayref = installer::worker::select_patch_items($filesinproductlan…
2141 …$scpactionsinproductlanguageresolvedarrayref = installer::worker::select_patch_items($scpactionsin…
2142 …$linksinproductlanguageresolvedarrayref = installer::worker::select_patch_items($linksinproductlan…
2143 …$unixlinksinproductlanguageresolvedarrayref = installer::worker::select_patch_items($unixlinksinpr…
2144 …$folderitemsinproductlanguageresolvedarrayref = installer::worker::select_patch_items($folderitems…
2147 if ( $installer::globals::iswindowsbuild )
2149 …$registryitemsinproductlanguageresolvedarrayref = installer::worker::select_patch_items_without_na…
2151installer::worker::prepare_windows_patchfiles($filesinproductlanguageresolvedarrayref, $languagest…
2154 …($directoriesforepmarrayref, $alldirectoryhash) = installer::scriptitems::collect_directories_from…
2156 installer::sorter::sorting_array_of_hashes($directoriesforepmarrayref, "HostName");
2164 installer::worker::collect_scpactions($scpactionsinproductlanguageresolvedarrayref);
2170 …if (( $installer::globals::iswindowsbuild ) && ( ! $installer::globals::patch )) # Windows specifi…
2172 $installer::logger::Info->print( "... creating inf files ...\n" );
2173 installer::worker::create_inf_file(
2191 installer::upx::upx_on_libraries($filesinproductlanguageresolvedarrayref, $languagestringref);
2201 if ( $installer::globals::is_simple_packager_project )
2203installer::simplepackage::create_simple_package($filesinproductlanguageresolvedarrayref, $director…
2211 $installer::logger::Info->print( "... analyzing package list ...\n" );
2213 …my $packages = installer::packagelist::collectpackages($modulesinproductlanguageresolvedarrayref, …
2214 installer::packagelist::check_packagelist($packages);
2216 …$packages = installer::packagelist::analyze_list($packages, $modulesinproductlanguageresolvedarray…
2217 installer::packagelist::remove_multiple_modules_packages($packages);
2220 installer::packagelist::log_packages_content($packages);
2221 installer::packagelist::create_module_destination_hash($packages, $allvariableshashref);
2227 if ( $installer::globals::iswindowsbuild )
2274 my $speciallogfilename = "fileinfo_" . $installer::globals::product . "\.log";
2275installer::files::save_array_of_hashes($loggingdir . $speciallogfilename, $filesinproductlanguager…
2279 if ( $installer::globals::debug ) { installer::logger::savedebug($installer::globals::exitlog); }
2285 installer::logger::stoptime();