summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/windows/component.pm
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/modules/installer/windows/component.pm')
-rw-r--r--solenv/bin/modules/installer/windows/component.pm16
1 files changed, 6 insertions, 10 deletions
diff --git a/solenv/bin/modules/installer/windows/component.pm b/solenv/bin/modules/installer/windows/component.pm
index 125c8607f249..38989858a4b6 100644
--- a/solenv/bin/modules/installer/windows/component.pm
+++ b/solenv/bin/modules/installer/windows/component.pm
@@ -162,6 +162,11 @@ sub get_file_component_directory
}
$uniquedir = $onedir->{'uniquename'};
+
+ if ( $uniquedir eq $installer::globals::officeinstalldirectory )
+ {
+ $uniquedir = "INSTALLLOCATION";
+ }
}
$onefile->{'uniquedirname'} = $uniquedir; # saving it in the file collection
@@ -176,16 +181,7 @@ sub get_file_component_directory
sub get_registry_component_directory
{
- my $componentdir = "";
-
- if ( $installer::globals::officeinstalldirectoryset )
- {
- $componentdir = $installer::globals::officeinstalldirectory;
- }
- else
- {
- $componentdir = "INSTALLLOCATION";
- }
+ my $componentdir = "INSTALLLOCATION";
return $componentdir;
}