Lines Matching refs:installer
24 package installer::windows::directory;
26 use installer::exiter;
27 use installer::files;
28 use installer::globals;
29 use installer::pathanalyzer;
30 use installer::windows::idtglobal;
31 use installer::windows::msiglobal;
32 use installer::scriptitems;
52 foreach my $treestyle ( keys %installer::globals::treestyles )
58 $installer::globals::hostnametreestyles{$hostname} = $treestyle;
75 $installer::globals::programfilesfolder = $allvariables->{'PROGRAMFILESFOLDERNAME'};
131 …my $subid = installer::windows::msiglobal::calculate_id($longstring_save, 9); # taking only the fi…
158 installer::exiter::exit_program(
173 …$uniquename =~ s/\Q$installer::globals::separator\E/\_/g; # replacing slash and backslash with und…
221 installer::exiter::exit_program(
233 installer::exiter::exit_program(
246 installer::exiter::exit_program(
265 installer::exiter::exit_program(
278 installer::exiter::exit_program(
304 $uniqueparentname = $installer::globals::programfilesfolder;
310 $uniqueparentname = $installer::globals::programfilesfolder;
315 $uniqueparentname = $installer::globals::commonfilesfolder;
320 $uniqueparentname = $installer::globals::commonappdatafolder;
325 $uniqueparentname = $installer::globals::localappdatafolder;
332 $installer::globals::usesharepointpath = 1;
359 $installer::globals::officeinstalldirectoryset = 0;
400 if ( $installer::globals::installlocationdirectoryset )
402 installer::exiter::exit_program(
405 $installer::globals::installlocationdirectory),
409 $installer::globals::installlocationdirectory = $directory->{'uniquename'};
410 $installer::globals::installlocationdirectoryset = 1;
425 if ($installer::globals::addchildprojects
426 || $installer::globals::patch
427 || $installer::globals::languagepack
448 if ( ! $installer::globals::installlocationdirectoryset )
450 installer::exiter::exit_program(
459 if ( $onedir->{'uniquename'} eq $installer::globals::installlocationdirectory )
465 if ( $onedir->{'uniquename'} eq $installer::globals::vendordirectory )
470 if ( $onedir->{'uniqueparentname'} eq $installer::globals::installlocationdirectory )
496 $installer::logger::Info->printf("setup_global_font_directory_name, checking %d entries\n",
498 $installer::logger::Info->printf(" fontsdirhostname is %s\n",
499 $installer::globals::fontsdirhostname);
500 $installer::logger::Info->printf(" fontsdirname is %s\n",
501 $installer::globals::fontsdirname);
507 $installer::logger::Info->printf(" Dir is %s\n", $directory->{'Dir'});
508 $installer::logger::Info->printf(" defaultdir is %s\n", $directory->{'defaultdir'});
510 next if $directory->{'defaultdir'} ne $installer::globals::fontsdirhostname;
512 $installer::globals::fontsdirname = $installer::globals::fontsdirhostname;
513 $installer::globals::fontsdirparent = $directory->{'uniqueparentname'};
515 $installer::logger::Info->printf("%s, fdhn %s, dd %s, ipn %s, HN %s\n",
517 $installer::globals::fontsdirhostname,
521 installer::scriptitems::print_script_item($directory);
531 …if (( $fontdir eq "PREDEFINED_OSSYSTEMFONTDIR" ) && ( $fontdefaultdir eq $installer::globals::font…
533 $installer::logger::Info->printf("fontsdirname = %s\n", $onedir->{'defaultdir'});
534 … $installer::logger::Info->printf(" is %s\n", $installer::globals::fontsdirname);
535 … $installer::logger::Info->printf("fontsdirparent = %s\n", $onedir->{'uniqueparentname'});
536 … $installer::logger::Info->printf(" is %s\n", $installer::globals::fontsdirparent);
550 …if ( $installer::globals::prepare_winpatch ) { @shortnames = values(%installer::globals::saved83di…
557 $hostname =~ s/\Q$installer::globals::separator\E\s*$//;
562 …if (( $installer::globals::prepare_winpatch ) && ( exists($installer::globals::saved83dirmapping{$…
564 $shortstring = $installer::globals::saved83dirmapping{$uniquename};
568 …$shortstring = installer::windows::idtglobal::make_eight_three_conform($hostname, "dir", \@shortna…
625 …if (( ! $installer::globals::patch ) && ( ! $installer::globals::languagepack ) && ( ! $allvariabl…
631 if (( $installer::globals::prepare_winpatch ) && ( $allvariableshashref->{'BASEPRODUCTVERSION'} ))
650 …my $shortproductkey = installer::windows::idtglobal::make_eight_three_conform($productkey, "dir", …
654 $installer::globals::officemenufolder,
655 $installer::globals::programmenufolder,
660 &$functor($installer::globals::programfilesfolder, "TARGETDIR", ".");
661 &$functor($installer::globals::programmenufolder, "TARGETDIR", ".");
662 &$functor($installer::globals::startupfolder, "TARGETDIR", ".");
663 &$functor($installer::globals::desktopfolder, "TARGETDIR", ".");
664 &$functor($installer::globals::startmenufolder, "TARGETDIR", ".");
665 &$functor($installer::globals::commonfilesfolder, "TARGETDIR", ".");
666 &$functor($installer::globals::commonappdatafolder, "TARGETDIR", ".");
667 &$functor($installer::globals::localappdatafolder, "TARGETDIR", ".");
669 if ( $installer::globals::usesharepointpath )
674 &$functor($installer::globals::systemfolder, "TARGETDIR", ".");
676 my $localtemplatefoldername = $installer::globals::templatefoldername;
678 …my $shorttemplatefoldername = installer::windows::idtglobal::make_eight_three_conform($localtempla…
683 &$functor($installer::globals::templatefolder, "TARGETDIR", $directorytableentry);
685 …$installer::logger::Info->printf("process_root_directories: fontsdirname=%s, fontsfoldername=%s\n",
686 $installer::globals::fontsdirname,
687 $installer::globals::fontsfoldername);
688 if ( $installer::globals::fontsdirname )
691 $installer::globals::fontsfolder,
692 $installer::globals::fontsdirparent,
693 $installer::globals::fontsfoldername . ":" . $installer::globals::fontsdirname);
698 $installer::globals::fontsfolder,
700 $installer::globals::fontsfoldername);
723 my $source_directory_map = $installer::globals::source_msi->GetDirectoryMap();
724 my $source_file_map = $installer::globals::source_msi->GetFileMap();
738 $installer::logger::Info->printf("found %d missing directories\n", scalar @missing_directories);
743 $installer::logger::Info->printf("missing directory %d: %s\n",
748 $installer::logger::Info->printf(" %s -> %s\n", $key, $value);
760 … $installer::logger::Info->printf(" referencing files are %s\n", join(", ", @filenames));
765 $installer::logger::Lang->printf("target directory %s -> HN %s\n",
768 installer::scriptitems::print_script_item($directory);
789 … installer::logger::PrintError("newly created directory entry collides with existing directory");
818 if ($installer::globals::is_release)
844 $installer::logger::Lang->add_timestamp("Performance Info: Directory Table start");
847 installer::windows::idtglobal::write_idt_header(\@directorytable, "directory");
862 my $directorytablename = $basedir . $installer::globals::separator . "Director.idt";
863 installer::files::save_file($directorytablename ,\@directorytable);
864 $installer::logger::Lang->printf("Created idt file: %s\n", $directorytablename);
866 $installer::logger::Lang->add_timestamp("Performance Info: Directory Table end");