diff options
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer.pm | 3 | ||||
-rw-r--r-- | solenv/bin/modules/installer/windows/idtglobal.pm | 10 | ||||
-rw-r--r-- | solenv/bin/modules/installer/windows/selfreg.pm | 79 |
3 files changed, 0 insertions, 92 deletions
diff --git a/solenv/bin/modules/installer.pm b/solenv/bin/modules/installer.pm index d5d0be5a2439..e1209cac6ec8 100644 --- a/solenv/bin/modules/installer.pm +++ b/solenv/bin/modules/installer.pm @@ -77,7 +77,6 @@ use installer::windows::msp; use installer::windows::property; use installer::windows::removefile; use installer::windows::registry; -use installer::windows::selfreg; use installer::windows::shortcut; use installer::windows::strip; use installer::windows::update; @@ -1542,8 +1541,6 @@ sub main { { installer::windows::removefile::create_removefile_table($folderitemsinproductlanguageresolvedarrayref, $newidtdir); - installer::windows::selfreg::create_selfreg_table($filesinproductlanguageresolvedarrayref, $newidtdir); - # Adding Assemblies into the tables MsiAssembly and MsiAssemblyName dynamically installer::windows::assembly::create_msiassembly_table($filesinproductlanguageresolvedarrayref, $newidtdir); installer::windows::assembly::create_msiassemblyname_table($filesinproductlanguageresolvedarrayref, $newidtdir); diff --git a/solenv/bin/modules/installer/windows/idtglobal.pm b/solenv/bin/modules/installer/windows/idtglobal.pm index 325ce11a5d7c..9bfe9c29886c 100644 --- a/solenv/bin/modules/installer/windows/idtglobal.pm +++ b/solenv/bin/modules/installer/windows/idtglobal.pm @@ -544,16 +544,6 @@ sub write_idt_header push(@{$idtref}, $oneline); } - if ( $definestring eq "selfreg" ) - { - $oneline = "File_\tCost\n"; - push(@{$idtref}, $oneline); - $oneline = "s72\tI2\n"; - push(@{$idtref}, $oneline); - $oneline = "SelfReg\tFile_\n"; - push(@{$idtref}, $oneline); - } - if ( $definestring eq "msiassembly" ) { $oneline = "Component_\tFeature_\tFile_Manifest\tFile_Application\tAttributes\n"; diff --git a/solenv/bin/modules/installer/windows/selfreg.pm b/solenv/bin/modules/installer/windows/selfreg.pm deleted file mode 100644 index 0a34b4a0d1e3..000000000000 --- a/solenv/bin/modules/installer/windows/selfreg.pm +++ /dev/null @@ -1,79 +0,0 @@ -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -package installer::windows::selfreg; - -use installer::exiter; -use installer::files; -use installer::globals; -use installer::worker; -use installer::windows::idtglobal; - -############################################################## -# Returning the cost for the selfreg table. -############################################################## - -sub get_selfreg_cost -{ - my ( $onefile ) = @_; - - return "0"; -} - -#################################################################################### -# Creating the file SelfReg.idt dynamically -# Content: -# File_ Cost -# UpgradeCode VersionMin VersionMax Language Attributes Remove ActionProperty -#################################################################################### - -sub create_selfreg_table -{ - my ($filesref, $basedir) = @_; - - my @selfregtable = (); - - installer::windows::idtglobal::write_idt_header(\@selfregtable, "selfreg"); - - # Registering all libraries with flag "SELFREG" - - my $selfregfiles = installer::worker::collect_all_items_with_special_flag($filesref, "SELFREG"); - - for ( my $i = 0; $i <= $#{$selfregfiles}; $i++ ) - { - my $onefile = ${$selfregfiles}[$i]; - - my %selfreg = (); - - $selfreg{'File_'} = $onefile->{'uniquename'}; - $selfreg{'Cost'} = get_selfreg_cost($onefile); - - my $oneline = $selfreg{'File_'} . "\t" . $selfreg{'Cost'} . "\n"; - - push(@selfregtable, $oneline); - } - - # Saving the file - - my $selfregtablename = $basedir . $installer::globals::separator . "SelfReg.idt"; - installer::files::save_file($selfregtablename ,\@selfregtable); - my $infoline = "Created idt file: $selfregtablename\n"; - push(@installer::globals::logfileinfo, $infoline); -} - -1;
\ No newline at end of file |