Lines Matching refs:installer
24 package installer::windows::file;
27 use installer::existence;
28 use installer::exiter;
29 use installer::files;
30 use installer::globals;
31 use installer::logger;
32 use installer::pathanalyzer;
33 use installer::worker;
34 use installer::windows::font;
35 use installer::windows::idtglobal;
36 use installer::windows::msiglobal;
37 use installer::windows::language;
38 use installer::patch::InstallationSet;
39 use installer::patch::FileSequenceList;
59 installer::exiter::exit_program(
67 if ( ! exists($installer::globals::allcabinetassigns{$module}) )
69 installer::exiter::exit_program(
75 $file->{'assignedcabinetfile'} = $installer::globals::allcabinetassigns{$module};
78 if ( ! exists($installer::globals::cabfilecounter{$file->{'assignedcabinetfile'}}) )
80 $installer::globals::cabfilecounter{$file->{'assignedcabinetfile'}} = 1;
84 $installer::globals::cabfilecounter{$file->{'assignedcabinetfile'}}++;
92 foreach my $cabfile ( sort keys %installer::globals::cabfilecounter )
94 my $filecount = $installer::globals::cabfilecounter{$cabfile};
96 $installer::globals::cabfilecounter{$cabfile} = $offset;
99 $installer::globals::lastsequence{$cabfile} = $offset - 1;
104 $installer::logger::Lang->print("\n");
105 $installer::logger::Lang->print("Cabinet files:\n");
106 foreach my $cabfile (sort keys %installer::globals::cabfilecounter)
108 $installer::logger::Lang->printf(
112 $installer::globals::cabfilecounter{$cabfile},
113 $installer::globals::lastsequence{$cabfile});
139 …if ( exists($directaccess{$onefile->{'destination'}}) ) { installer::exiter::exit_program("ERROR: …
161 my $counter = $installer::globals::cabfilecounter{$cabfile};
189 …my $subid = installer::windows::msiglobal::calculate_id($componentname, 9); # taking only the firs…
192 …if ( exists($installer::globals::allshortcomponents{$shortcomponentname}) ) { installer::exiter::e…
194 $installer::globals::allshortcomponents{$shortcomponentname} = 1;
235 installer::pathanalyzer::get_path_from_fullqualifiedname(\$destination);
265 …if (( exists($installer::globals::allcomponents{$fullname}) ) && ( ! exists($installer::globals::a…
268 …installer::exiter::exit_program("ERROR: Component \"$fullname\" is already included into another p…
271 if ( exists($installer::globals::allcomponents{$fullname}) )
273 $componentname = $installer::globals::allcomponents{$fullname};
282 $installer::globals::allcomponents{$fullname} = $componentname;
283 $installer::globals::allcomponents_in_this_database{$fullname} = 1;
350 my $onefile = installer::existence::get_specified_file($filesref, $gid);
353 …else { installer::exiter::exit_program("ERROR: No component defined for file: $gid", "get_componen…
377 …installer::logger::PrintError("file name does not exist or is empty, can not create unique name fo…
383 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$uniquefilename);
396 if ( ! exists($installer::globals::alllcuniquefilenames{$lcuniquefilename}))
398 $installer::globals::alluniquefilenames{$uniquefilename} = 1;
399 $installer::globals::alllcuniquefilenames{$lcuniquefilename} = 1;
428 if ( ! exists($installer::globals::alllcuniquefilenames{$lcuniquefilename}))
430 $installer::globals::alluniquefilenames{$uniquefilename} = 1;
431 $installer::globals::alllcuniquefilenames{$lcuniquefilename} = 1;
456 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$filename);
458 …my $shortstring = installer::windows::idtglobal::make_eight_three_conform_with_hash($filename, "fi…
512 …installer::exiter::exit_program("ERROR: USE_FILEVERSION is set, but not LIBRARYVERSION", "get_file…
528 $fileversion = $libraryversion . "\." . $installer::globals::buildid . "\." . $vendornumber;
536 if ( $installer::globals::prepare_winpatch )
555 if ($installer::globals::is_release)
565 $source_path = $installer::globals::templatefoldername
566 . $installer::globals::separator
649 … $installer::logger::Info->printf("creating new file item for '%s'\n", $row->GetValue('File'));
693 installer::patch::InstallationSet::GetUnpackedCabPath(
705 installer::patch::Tools::touch($full_source_name);
707 …my ($long_name, undef) = installer::patch::Msi::SplitLongShortName($file_row->GetValue("FileName")…
711 installer::logger::PrintError("can not find file '%s' in previous version (tried '%s')\n",
792 $language = installer::windows::language::get_windows_language($language);
833 foreach my $hostname ( keys %installer::globals::hostnametreestyles )
838 my $style = $installer::globals::hostnametreestyles{$hostname};
840 my $condition = $installer::globals::treestyles{$style};
842 $installer::globals::usedtreeconditions{$condition} = 1;
845 $installer::globals::treeconditions{$componentname} = $condition;
848 $onefile->{'layer'} = $installer::globals::treelayername{$style};
885 installer::exiter::exit_program(
891 installer::exiter::exit_program(
901 if ( exists($installer::globals::componentcondition{$onefile->{'componentname'}}))
903 … if ( $installer::globals::componentcondition{$onefile->{'componentname'}} ne $condition )
905 installer::exiter::exit_program(
909 $installer::globals::componentcondition{$onefile->{'componentname'}},
916 $installer::globals::componentcondition{$onefile->{'componentname'}} = $condition;
920 if ( ! exists($installer::globals::languageproperties{$property}) )
922 $installer::globals::languageproperties{$property} = $value;
947 installer::worker::generate_cygwin_pathes($file_list);
958 if (defined $installer::globals::source_msi)
960 my $previous_sequence_data = new installer::patch::FileSequenceList();
961 $previous_sequence_data->SetFromMsi($installer::globals::source_msi);
968 $installer::logger::Lang->printf(
973 my $file_map = $installer::globals::source_msi->GetFileMap();
977 $installer::logger::Lang->printf(" removed file %d: %s\n",
983 $installer::logger::Lang->printf(" %16s -> %s\n", $key, $value);
989 $installer::logger::Lang->printf(" added file %d: %s\n",
992 installer::scriptitems::print_script_item($added_file);
996 $installer::globals::source_msi,
1016 if ( ! exists($installer::globals::componentcondition{$file->{'componentname'}}))
1018 $installer::globals::componentcondition{$file->{'componentname'}}
1029 $installer::globals::base_independent_components{$file->{'componentname'}} = 1;
1039 push(@installer::globals::userregistrycollector, $file);
1040 $installer::globals::addeduserregitrykeys = 1;
1153 installer::windows::idtglobal::write_idt_header(\@filetable, "file");
1164 my $filetablename = $basedir . $installer::globals::separator . "File.idt";
1165 installer::files::save_file($filetablename ,\@filetable);
1166 $installer::logger::Lang->print("\n");
1167 $installer::logger::Lang->printf("Created idt file: %s\n", $filetablename);
1179 if ( $installer::globals::prepare_winpatch )
1182 installer::windows::idtglobal::write_idt_header(\@filehashtable, "filehash");
1207 my $filehashtablename = $basedir . $installer::globals::separator . "MsiFileHash.idt";
1208 installer::files::save_file($filehashtablename ,\@filehashtable);
1209 $installer::logger::Lang->print("\n");
1210 $installer::logger::Lang->printf("Created idt file: %s\n", $filehashtablename);